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

Disassembly:
mov ecx, dword [0x8c8600]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x49db62
sub esp, 0x70
call fcn.00471a30
mov eax, dword [esp + 0xc]
mov ecx, dword [esp]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x28], edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x49d96f
mov eax, dword [esp + 0x6c]
add eax, 0xc
mov ecx, dword [esp + 0x2c]
lea ebx, [ecx + 1]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x58]
cmp ebx, edx
jge 0x49d9bd
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], esi
mov dword [esp + 0x60], edi
mov dword [esp + 0x6c], eax
mov edx, dword [eax]
mov dword [esp + 0x64], edx
mov eax, dword [eax + 4]
mov dword [esp + 0x30], eax
mov ecx, dword [ecx + ebx*4]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x40]
jmp 0x49d9ef
mov eax, dword [esp + 0x78]
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x68]
jmp 0x49d959
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], ebp
add esp, 0x70
ret
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x60]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x3c]
cmp eax, ebx
jle 0x49da83
mov dword [esp + 0x38], eax
lea ebp, [ebx + eax]
shr ebp, 1
mov dword [esp + 0x50], ebp
mov esi, dword [edx + ebp*4]
mov dword [esp], ecx
mov dword [esp + 4], esi
call fcn.0049d8d0
mov eax, dword [esp + 8]
mov dword [esp], eax
call fcn.00494fd0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x74]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 0xc], ecx
call fcn.00403fd0
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x49da5c
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x3c]
jmp 0x49d9d3
mov ecx, dword [esp + 0x50]
inc ecx
mov eax, dword [esp + 0x38]
jmp 0x49d9d3
mov dword [ecx + eax*4 - 4], edx
mov edx, eax
mov eax, dword [esp + 0x34]
lea ebx, [eax + 1]
mov edi, ecx
mov esi, edx
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x30]
cmp ebx, eax
jge 0x49d959
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], esi
mov dword [esp + 0x68], edi
mov dword [esp + 0x34], ebx
mov eax, dword [edx + ebx*4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0049d8d0
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
mov dword [esp], eax
call fcn.00494fd0
mov eax, dword [esp + 0x78]
cmp dword [esp + 8], eax
jne 0x49d9af
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call fcn.004040c0
movzx eax, byte [esp + 0xc]
test al, al
je 0x49d9ab
mov eax, dword [esp + 0x48]
inc eax
mov ecx, dword [esp + 0x4c]
cmp ecx, eax
jb 0x49db02
mov edi, dword [esp + 0x68]
mov ebp, ecx
jmp 0x49db34
mov edx, dword [esp + 0x68]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x6f8620]
mov dword [esp + 0x10], eax
call fcn.00472770
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [0x8c88d8]
test ecx, ecx
jne 0x49db49
mov ecx, edi
mov edx, dword [esp + 0x54]
jmp 0x49da6a
mov ecx, edi
call fcn.004772f0
mov edx, dword [esp + 0x54]
mov dword [edi], edx
mov ebx, dword [ecx + eax*4 - 4]
mov dword [edi + 4], ebx
jmp 0x49da6a
call fcn.00475ee0
jmp fcn.0049d920