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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xfc
mov ebp, dword [esp + 0x110]
mov ebx, dword [ebp]
lea eax, [esp + 0x70]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov edx, dword [esp + 0x3c]
mov dword [esp], edx
call fcn.004cdc48
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 4], 0x613eb1
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
call fcn.004cf3c8
mov dword [esp + 0x48], eax
lea edx, [ebp + 0x14]
lea ecx, [esp + 0xd0]
mov eax, ebp
call fcn.0049bea8
lea eax, [esp + 0x50]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xe8]
mov edx, dword [esp + 0xec]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
lea edi, [esp + 4]
mov ecx, 4
mov esi, dword [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x50]
mov dword [esp], edx
call fcn.004cde04
mov ecx, 4
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x90]
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x40]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], esi
call fcn.004cdc48
lea eax, [esp + 8]
mov dword [esp + 0x44], eax
mov ecx, 4
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0x28]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
call fcn.004cf2f0
lea eax, [esp + 0x64]
mov dword [esp], eax
lea ecx, [esp + 0x60]
mov edx, dword [esp + 0xe0]
mov eax, ebp
call fcn.0049af04
lea esi, [esp + 0xa0]
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x10], eax
movsx edx, word [esp + 0xd6]
movsx eax, word [esp + 0xda]
add eax, edx
add eax, dword [esp + 0x64]
mov dword [esp + 0xc], eax
movsx edx, word [esp + 0xd4]
movsx eax, word [esp + 0xd8]
add eax, edx
add eax, dword [esp + 0x60]
mov dword [esp + 8], eax
mov edx, dword [esp + 0x3c]
mov dword [esp + 4], edx
mov dword [esp], esi
call fcn.004ce038
lea eax, [esp + 0x80]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xd4]
mov edx, dword [esp + 0xd8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
lea edx, [esp + 4]
mov dword [esp + 0x38], edx
mov ecx, 4
mov edi, edx
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x80]
mov dword [esp], eax
call fcn.004cde04
mov edx, dword [esp + 0xe4]
mov dword [esp + 0x40], edx
mov esi, dword [esp + 0x88]
mov ebx, dword [esp + 0x60]
lea edi, [ebp + 0x3c]
mov eax, dword [ebp + 0x3c]
mov dword [esp], eax
call fcn.004d0e04
mov dword [esp + 0x2c], eax
test eax, eax
jle 0x49c2a2
mov eax, esi
sub eax, ebx
cdq
idiv dword [esp + 0x2c]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
test edx, edx
js 0x49c478
xor esi, esi
xor ebx, ebx
mov dword [esp + 0x4c], ebp
mov ebp, dword [esp + 0x40]
jmp 0x49c26b
mov dword [eax], ecx
xor esi, esi
inc ebx
cmp ebx, dword [esp + 0x2c]
je 0x49c29e
mov dword [esp + 4], ebx
mov eax, dword [edi]
mov dword [esp], eax
call fcn.004d0e0c
xor edx, edx
cmp ebx, dword [esp + 0x30]
setl dl
add edx, dword [esp + 0x34]
add esi, edx
mov edx, dword [eax]
lea ecx, [esi + edx]
cmp ebp, ecx
jle 0x49c260
sub edx, ebp
add esi, edx
mov dword [eax], ebp
inc ebx
cmp ebx, dword [esp + 0x2c]
jne 0x49c26b
mov ebp, dword [esp + 0x4c]
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x34], eax
lea edx, [esp + 0xb0]
mov dword [esp + 0x4c], edx
mov ecx, 4
mov edi, edx
mov esi, dword [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0x50]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x3c]
mov dword [esp], eax
call fcn.004d0e04
mov dword [esp + 0x30], eax
xor ebx, ebx
test eax, eax
jle 0x49c3e0
lea edx, [esp + 0xc0]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ebp
mov dword [esp + 4], ebx
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x3c]
mov dword [esp], eax
call fcn.004d0e0c
mov ebp, eax
mov edx, ebx
mov eax, dword [esp + 0x2c]
call fcn.0049abac
mov esi, eax
cmp dword [ebp + 0x18], 2
je 0x49c3d1
mov dword [esp], 0
call fcn.004ce564
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
mov dword [esp + 8], esi
mov dword [esp + 4], 0x613eb8
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.004cf18c
test eax, eax
je 0x49c368
lea edx, [esp + 0x68]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], 0
call fcn.004ce404
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 4]
mov dword [esp + 0xc], eax
mov eax, dword [ebp]
mov dword [esp + 8], eax
lea edx, [esp + 0xb0]
mov dword [esp + 4], edx
lea eax, [esp + 0xc0]
mov dword [esp], eax
call fcn.004ce038
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov ecx, 4
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x50]
mov dword [esp], edx
call fcn.004cde6c
lea edi, [ebp + 8]
mov ecx, 4
mov esi, dword [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
inc ebx
cmp ebx, dword [esp + 0x30]
jne 0x49c2f4
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x48]
test edi, edi
je 0x49c43a
mov ecx, 4
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
call fcn.004cf454
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], eax
lea edx, [esp + 0x50]
mov dword [esp], edx
call fcn.004cf224
lea eax, [esp + 0x70]
mov dword [esp + 0x3c], eax
mov ecx, 4
mov edi, eax
mov esi, dword [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x7c]
test esi, esi
jle 0x49c46c
mov ebx, dword [esp + 0x78]
test ebx, ebx
jg 0x49c452
mov dword [esp + 0x78], 1
lea edi, [ebp + 0x54]
mov ecx, 4
mov esi, dword [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
add esp, 0xfc
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x7c], 1
jmp 0x49c442
mov eax, dword [esp + 0x2c]
add edx, eax
mov dword [esp + 0x30], edx
dec dword [esp + 0x34]
jmp 0x49c24f