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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x49c4af
sub esp, 0x6c
call fcn.0045c330
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp]
mov ebx, dword [esp + 4]
test ecx, ecx
je 0x49c24d
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x54], edx
xor ebp, ebp
xor esi, esi
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x5c], ebp
xor ebp, ebp
jmp 0x49c283
xor eax, eax
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x6c
ret
add eax, 0xc
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x24]
mov ebp, edx
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], edi
mov esi, dword [eax + 4]
mov edi, dword [eax]
cmp ebp, ebx
jae 0x49c4a5
mov dword [esp + 0x30], ebp
mov dword [esp + 0x68], eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x60], edi
mov edx, dword [edx + ebp*4]
mov dword [esp + 0x58], edx
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x4c]
jmp 0x49c30a
mov esi, dword [esp + 0x34]
jmp 0x49c3b8
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
lea edx, [ebp + 1]
cmp ecx, edx
jg 0x49c266
jmp 0x49c482
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x60]
mov ebx, dword [esp + 0x58]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x40], edx
mov esi, eax
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x40]
cmp esi, ebx
jle 0x49c2bf
mov dword [esp + 0x3c], esi
sub esi, ebx
sar esi, 1
lea ebp, [esi + ebx]
mov ebx, dword [esp + 0x34]
cmp ebx, ebp
jbe 0x49c49c
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebp
mov eax, dword [edi + ebp*4]
nop
add eax, edx
mov dword [esp], eax
call fcn.0049a030
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x70]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xc], ecx
call fcn.00402250
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x49c378
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
jmp 0x49c2e4
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x48]
lea edx, [ebx + edx + 1]
mov eax, dword [esp + 0x3c]
jmp 0x49c2e4
mov ecx, dword [esp + 0x38]
inc ecx
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x60]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x68]
mov ebp, dword [esp + 0x30]
mov ebx, ecx
mov ecx, dword [esp + 0x2c]
cmp ebx, esi
jge 0x49c2d8
jae 0x49c493
mov dword [esp + 0x38], ebx
mov eax, dword [edi + ebx*4]
nop
add eax, edx
mov dword [esp + 0x64], eax
mov dword [esp], eax
call fcn.0049a030
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x74]
cmp dword [esp + 8], ecx
jne 0x49c2cc
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
call fcn.00402340
movzx eax, byte [esp + 0xc]
test al, al
je 0x49c2c8
mov edx, dword [esp + 0x24]
lea ebx, [edx + 1]
mov ebp, dword [esp + 0x28]
cmp ebp, ebx
jb 0x49c420
mov eax, dword [esp + 0x5c]
jmp 0x49c457
lea eax, [0x5395e0]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.004476c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [ecx + 1]
mov ebp, edx
mov edx, dword [esp + 0x24]
mov esi, dword [0x640ab0]
lea edi, [eax + edx*4]
test esi, esi
jne 0x49c470
mov esi, dword [esp + 0x64]
mov dword [eax + edx*4], esi
jmp 0x49c38d
mov ecx, eax
mov eax, dword [esp + 0x64]
call fcn.0045f0c0
mov eax, ecx
jmp 0x49c38d
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x5c]
jmp 0x49c253
mov eax, ebx
mov ecx, esi
call fcn.0045f140
mov eax, ebp
mov ecx, ebx
call fcn.0045f140
mov eax, ebp
mov ecx, ebx
call fcn.0045f140
nop
call fcn.0045dcf0
jmp fcn.0049c200