Function at 0x415190
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xdc
mov eax, dword [0x517500]
xor eax, esp
mov dword [esp + 0xd8], eax
mov ecx, dword [esp + 0xe0]
xor eax, eax
push ebx
mov ebx, dword [esp + 0xf0]
push ebp
mov ebp, dword [esp + 0xf8]
mov dword [esp + 0x88], eax
mov eax, ebx
or eax, ebp
mov dword [esp + 0x9c], ecx
push esi
mov esi, dword [esp + 0xf4]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x88], ebp
je 0x415b33
mov eax, dword [ecx]
mov dword [esp + 0x84], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x90], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x94], eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x98], eax
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x9c], eax
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x60], eax
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x64], eax
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x68], eax
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x70], eax
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x74], eax
mov eax, dword [ecx + 0x30]
mov dword [esp + 0x3c], eax
mov eax, dword [ecx + 0x34]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 0x38]
mov dword [esp + 0x7c], eax
mov eax, dword [ecx + 0x3c]
push edi
mov edi, dword [esp + 0xf4]
mov dword [esp + 0x84], eax
test ebp, ebp
ja 0x4152e4
jb 0x415280
cmp ebx, 0x40
jae 0x4152e4
push 0x40
lea eax, [esp + 0xac]
push 0
push eax
call fcn.0042d500
add esp, 0xc
xor eax, eax
test ebp, ebp
jb 0x4152cb
ja 0x4152a0
test ebx, ebx
je 0x4152cb
lea ecx, [esp + 0xa8]
sub edi, ecx
nop dword [eax]
lea edx, [esp + 0xa8]
add edx, eax
inc eax
mov cl, byte [edi + edx]
mov byte [edx], cl
xor ecx, ecx
cmp ecx, ebp
jb 0x4152b0
ja 0x4152cb
cmp eax, ebx
jb 0x4152b0
lea eax, [esp + 0xa8]
mov dword [esp + 0x90], esi
mov dword [esp + 0xf4], eax
mov dword [esp + 0x50], eax
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x9c]
mov esi, dword [esp + 0x88]
mov edi, dword [esp + 0x7c]
mov ebx, dword [esp + 0x94]
mov ebp, dword [esp + 0x98]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], 0x14
jmp 0x415378
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
add esi, dword [esp + 0x10]
xor ecx, esi
add edi, dword [esp + 0x34]
mov edx, ecx
add ebx, dword [esp + 0x38]
shr edx, 0x10
shl ecx, 0x10
or edx, ecx
add eax, edx
mov dword [esp + 0x20], eax
xor eax, dword [esp + 0x10]
mov ecx, eax
shl eax, 0xc
shr ecx, 0x14
or ecx, eax
add esi, ecx
xor edx, esi
mov dword [esp + 0x10], esi
mov eax, edx
mov esi, dword [esp + 0x18]
shr eax, 0x18
shl edx, 8
or eax, edx
mov edx, dword [esp + 0x20]
add edx, eax
mov dword [esp + 0x54], eax
mov eax, edx
mov dword [esp + 0x20], edx
xor eax, ecx
mov ecx, eax
shl eax, 7
shr ecx, 0x19
or ecx, eax
mov eax, dword [esp + 0x24]
xor eax, edi
mov dword [esp + 0x5c], ecx
mov edx, eax
shl eax, 0x10
shr edx, 0x10
or edx, eax
add esi, edx
mov eax, esi
xor eax, dword [esp + 0x34]
mov ecx, eax
shl eax, 0xc
shr ecx, 0x14
or ecx, eax
add edi, ecx
xor edx, edi
mov dword [esp + 0x2c], edi
mov eax, edx
shl edx, 8
shr eax, 0x18
or eax, edx
add esi, eax
mov dword [esp + 0x58], eax
mov eax, esi
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x1c]
xor eax, ecx
mov edi, eax
shl eax, 7
shr edi, 0x19
or edi, eax
mov eax, dword [esp + 0x28]
xor eax, ebx
mov edx, eax
shl eax, 0x10
shr edx, 0x10
or edx, eax
add esi, edx
mov eax, esi
xor eax, dword [esp + 0x38]
mov ecx, eax
shl eax, 0xc
shr ecx, 0x14
or ecx, eax
add ebx, ecx
xor edx, ebx
mov dword [esp + 0x24], ebx
mov eax, edx
shr eax, 0x18
add ebp, dword [esp + 0x3c]
shl edx, 8
or eax, edx
add esi, eax
mov dword [esp + 0x60], eax
mov eax, esi
mov dword [esp + 0x1c], esi
xor eax, ecx
mov ebx, eax
shl eax, 7
shr ebx, 0x19
or ebx, eax
mov eax, dword [esp + 0x48]
xor eax, ebp
mov edx, eax
shl eax, 0x10
shr edx, 0x10
or edx, eax
mov eax, dword [esp + 0x14]
add eax, edx
mov dword [esp + 0x14], eax
xor eax, dword [esp + 0x3c]
mov ecx, eax
shl eax, 0xc
shr ecx, 0x14
or ecx, eax
mov eax, dword [esp + 0x14]
add ebp, ecx
xor edx, ebp
mov dword [esp + 0x28], ebp
mov esi, edx
shl edx, 8
shr esi, 0x18
or esi, edx
add eax, esi
mov dword [esp + 0x14], eax
xor eax, ecx
mov ebp, eax
shl eax, 7
shr ebp, 0x19
or ebp, eax
mov eax, dword [esp + 0x10]
add eax, edi
xor esi, eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
mov edx, esi
shr edx, 0x10
shl esi, 0x10
or edx, esi
mov esi, dword [esp + 0x10]
add eax, edx
mov dword [esp + 0x1c], eax
xor eax, edi
mov ecx, eax
shl eax, 0xc
shr ecx, 0x14
or ecx, eax
mov eax, dword [esp + 0x1c]
add esi, ecx
xor edx, esi
mov edi, edx
shl edx, 8
shr edi, 0x18
or edi, edx
add eax, edi
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
add edi, ebx
xor eax, ecx
mov ecx, eax
shl eax, 7
shr ecx, 0x19
or ecx, eax
mov eax, dword [esp + 0x54]
xor eax, edi
mov dword [esp + 0x34], ecx
mov edx, eax
shr edx, 0x10
shl eax, 0x10
or edx, eax
mov eax, dword [esp + 0x14]
add eax, edx
mov dword [esp + 0x14], eax
xor eax, ebx
mov ecx, eax
shl eax, 0xc
shr ecx, 0x14
or ecx, eax
mov eax, dword [esp + 0x14]
add edi, ecx
xor edx, edi
mov ebx, edx
shl edx, 8
shr ebx, 0x18
or ebx, edx
add eax, ebx
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x14], eax
add ebx, ebp
xor eax, ecx
mov ecx, eax
shl eax, 7
shr ecx, 0x19
or ecx, eax
mov eax, dword [esp + 0x58]
xor eax, ebx
mov dword [esp + 0x38], ecx
mov edx, eax
shl eax, 0x10
shr edx, 0x10
or edx, eax
mov eax, dword [esp + 0x20]
add eax, edx
mov dword [esp + 0x20], eax
xor eax, ebp
mov ecx, eax
shl eax, 0xc
shr ecx, 0x14
or ecx, eax
mov eax, dword [esp + 0x20]
add ebx, ecx
xor edx, ebx
mov ebp, edx
shl edx, 8
shr ebp, 0x18
or ebp, edx
add eax, ebp
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0x28]
add ebp, dword [esp + 0x5c]
mov dword [esp + 0x20], eax
xor eax, ecx
mov ecx, eax
shl eax, 7
shr ecx, 0x19
or ecx, eax
mov eax, dword [esp + 0x60]
xor eax, ebp
mov dword [esp + 0x3c], ecx
mov edx, eax
shl eax, 0x10
shr edx, 0x10
or edx, eax
mov eax, dword [esp + 0x18]
add eax, edx
mov dword [esp + 0x18], eax
xor eax, dword [esp + 0x5c]
mov ecx, eax
shl eax, 0xc
shr ecx, 0x14
or ecx, eax
add ebp, ecx
xor edx, ebp
mov eax, edx
shl edx, 8
shr eax, 0x18
or eax, edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
xor eax, ecx
mov ecx, eax
shl eax, 7
shr ecx, 0x19
or ecx, eax
sub dword [esp + 0x44], 2
mov dword [esp + 0x10], ecx
jne 0x415370
mov edx, dword [esp + 0xf4]
movzx ecx, byte [edx + 7]
shl ecx, 8
movzx eax, byte [edx + 6]
or ecx, eax
movzx eax, byte [edx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 4]
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x7c]
add eax, edi
mov edi, edx
xor ecx, eax
mov dword [esp + 0x60], ecx
movzx ecx, byte [edi + 0xb]
shl ecx, 8
movzx eax, byte [edi + 0xa]
or ecx, eax
movzx eax, byte [edi + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 8]
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x94]
add eax, ebx
xor ecx, eax
movzx eax, byte [edi + 0xe]
mov dword [esp + 0x5c], ecx
movzx ecx, byte [edi + 0xf]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0xc]
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x98]
add eax, ebp
xor ecx, eax
movzx eax, byte [edi + 0x12]
mov dword [esp + 0x58], ecx
movzx ecx, byte [edi + 0x13]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x10]
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x9c]
xor ecx, eax
movzx eax, byte [edi + 0x16]
mov dword [esp + 0x54], ecx
movzx ecx, byte [edi + 0x17]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x15]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x14]
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x34]
add eax, dword [esp + 0xa0]
xor ecx, eax
movzx eax, byte [edi + 0x1a]
mov dword [esp + 0x44], ecx
movzx ecx, byte [edi + 0x1b]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x19]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x18]
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0x64]
xor ecx, eax
movzx eax, byte [edi + 0x1e]
mov dword [esp + 0x38], ecx
movzx ecx, byte [edi + 0x1f]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x1d]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x1c]
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x3c]
add eax, dword [esp + 0x68]
xor ecx, eax
movzx eax, byte [edi + 0x22]
mov dword [esp + 0x3c], ecx
movzx ecx, byte [edi + 0x23]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x21]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x20]
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x6c]
add eax, dword [esp + 0x20]
xor ecx, eax
movzx eax, byte [edi + 0x26]
mov dword [esp + 0x34], ecx
movzx ecx, byte [edi + 0x27]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x25]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x24]
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x70]
add eax, dword [esp + 0x18]
xor ecx, eax
movzx eax, byte [edi + 0x2a]
mov dword [esp + 0x10], ecx
movzx ecx, byte [edi + 0x2b]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x29]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x28]
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x74]
add eax, dword [esp + 0x1c]
xor ecx, eax
movzx eax, byte [edi + 0x2e]
mov dword [esp + 0x1c], ecx
movzx ecx, byte [edi + 0x2f]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x2d]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x2c]
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x78]
add eax, dword [esp + 0x14]
xor ecx, eax
movzx eax, byte [edi + 0x32]
mov dword [esp + 0x18], ecx
movzx ecx, byte [edi + 0x33]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x31]
shl ecx, 8
or ecx, eax
mov ebp, dword [esp + 0x40]
movzx eax, byte [edi + 0x30]
shl ecx, 8
or ecx, eax
movzx ebx, byte [edi + 0x3b]
mov eax, dword [esp + 0x2c]
add eax, ebp
movzx edx, byte [edi + 0x3f]
xor ecx, eax
shl ebx, 8
movzx eax, byte [edi + 0x36]
mov dword [esp + 0x2c], ecx
movzx ecx, byte [edi + 0x37]
shl ecx, 8
or ecx, eax
shl edx, 8
movzx eax, byte [edi + 0x35]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x34]
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x30]
add eax, dword [esp + 0x24]
xor ecx, eax
movzx eax, byte [edi + 0x3a]
or ebx, eax
mov dword [esp + 0x24], ecx
movzx eax, byte [edi + 0x39]
mov ecx, dword [esp + 0x30]
shl ebx, 8
or ebx, eax
movzx eax, byte [edi + 0x38]
shl ebx, 8
or ebx, eax
mov eax, dword [esp + 0x28]
add eax, dword [esp + 0x80]
xor ebx, eax
movzx eax, byte [edi + 0x3e]
or edx, eax
movzx eax, byte [edi + 0x3d]
shl edx, 8
or edx, eax
movzx eax, byte [edi + 0x3c]
shl edx, 8
or edx, eax
mov eax, dword [esp + 0x48]
add eax, dword [esp + 0x84]
xor edx, eax
lea eax, [ecx + 1]
add ebp, 1
mov dword [esp + 0x40], ebp
cmovne eax, ecx
movzx ecx, byte [edi + 3]
shl ecx, 8
mov dword [esp + 0x30], eax
movzx eax, byte [edi + 2]
or ecx, eax
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi]
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x88]
add eax, esi
mov esi, dword [esp + 0x50]
xor ecx, eax
mov eax, dword [esp + 0x60]
mov byte [esi], cl
shr ecx, 8
mov byte [esi + 1], cl
shr ecx, 8
mov byte [esi + 4], al
shr eax, 8
mov byte [esi + 2], cl
shr ecx, 8
mov byte [esi + 5], al
mov byte [esi + 3], cl
shr eax, 8
mov byte [esi + 6], al
shr eax, 8
mov byte [esi + 7], al
mov eax, dword [esp + 0x5c]
mov byte [esi + 8], al
shr eax, 8
mov byte [esi + 9], al
shr eax, 8
mov byte [esi + 0xa], al
shr eax, 8
mov byte [esi + 0xb], al
mov eax, dword [esp + 0x58]
mov byte [esi + 0xc], al
shr eax, 8
mov byte [esi + 0xd], al
shr eax, 8
mov byte [esi + 0xe], al
shr eax, 8
mov byte [esi + 0xf], al
mov eax, dword [esp + 0x54]
mov byte [esi + 0x10], al
shr eax, 8
mov byte [esi + 0x11], al
shr eax, 8
mov byte [esi + 0x12], al
shr eax, 8
mov byte [esi + 0x13], al
mov eax, dword [esp + 0x44]
mov byte [esi + 0x14], al
shr eax, 8
mov byte [esi + 0x15], al
shr eax, 8
mov byte [esi + 0x16], al
shr eax, 8
mov byte [esi + 0x17], al
mov eax, dword [esp + 0x38]
mov byte [esi + 0x18], al
shr eax, 8
mov byte [esi + 0x19], al
shr eax, 8
mov byte [esi + 0x1a], al
shr eax, 8
mov byte [esi + 0x1b], al
mov eax, dword [esp + 0x3c]
mov byte [esi + 0x1c], al
shr eax, 8
mov byte [esi + 0x1d], al
shr eax, 8
mov byte [esi + 0x1e], al
shr eax, 8
mov byte [esi + 0x1f], al
mov eax, dword [esp + 0x34]
mov byte [esi + 0x20], al
shr eax, 8
mov byte [esi + 0x21], al
shr eax, 8
mov byte [esi + 0x22], al
shr eax, 8
mov byte [esi + 0x23], al
mov eax, dword [esp + 0x10]
mov byte [esi + 0x24], al
shr eax, 8
mov byte [esi + 0x25], al
shr eax, 8
mov byte [esi + 0x26], al
shr eax, 8
mov byte [esi + 0x27], al
mov eax, dword [esp + 0x1c]
mov byte [esi + 0x28], al
shr eax, 8
mov byte [esi + 0x29], al
shr eax, 8
mov byte [esi + 0x2a], al
shr eax, 8
mov byte [esi + 0x2b], al
mov eax, dword [esp + 0x18]
mov byte [esi + 0x2c], al
shr eax, 8
mov byte [esi + 0x2d], al
shr eax, 8
mov byte [esi + 0x2e], al
mov ebp, dword [esp + 0x8c]
shr eax, 8
mov byte [esi + 0x2f], al
mov eax, dword [esp + 0x2c]
mov byte [esi + 0x30], al
shr eax, 8
mov byte [esi + 0x31], al
shr eax, 8
mov byte [esi + 0x32], al
shr eax, 8
mov byte [esi + 0x33], al
mov eax, dword [esp + 0x24]
mov byte [esi + 0x38], bl
shr ebx, 8
mov byte [esi + 0x34], al
shr eax, 8
mov byte [esi + 0x3c], dl
shr edx, 8
mov byte [esi + 0x39], bl
shr ebx, 8
mov byte [esi + 0x35], al
shr eax, 8
mov byte [esi + 0x3d], dl
shr edx, 8
mov byte [esi + 0x3a], bl
shr ebx, 8
mov byte [esi + 0x36], al
shr eax, 8
mov byte [esi + 0x3e], dl
shr edx, 8
mov byte [esi + 0x3b], bl
mov ebx, dword [esp + 0x4c]
mov byte [esi + 0x37], al
mov byte [esi + 0x3f], dl
test ebp, ebp
jne 0x415aca
cmp ebx, 0x40
jbe 0x415af1
add ebx, 0xffffffc0
mov dword [esp + 0x4c], ebx
adc ebp, 0xffffffff
add esi, 0x40
add edi, 0x40
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x50], esi
mov dword [esp + 0xf4], edi
jmp 0x415275
pop edi
test ebp, ebp
ja 0x415b1e
jb 0x415afd
cmp ebx, 0x40
jae 0x415b1e
test ebx, ebx
je 0x415b1e
mov ecx, dword [esp + 0x8c]
sub esi, ecx
nop word [eax + eax]
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub ebx, 1
jne 0x415b10
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], edx
mov ecx, dword [esp + 0xe4]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042bc89
add esp, 0xdc
ret