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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x496f2d
sub esp, 0x6c
mov ecx, dword [esp + 0x84]
test ecx, ecx
je 0x496c1f
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x496e7c
lea edi, [esp + 0x48]
xor eax, eax
call fcn.0044bed7
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], edx
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 8]
mov ebp, dword [ecx + 0x10]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], ebp
mov edx, dword [ecx + 0x20]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x50]
test edx, edx
je 0x496e54
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x30], eax
mov ecx, dword [ecx + 0x14]
mov dword [esp + 0x44], ecx
xor edx, edx
jmp 0x496c87
lea ebp, [esi + 1]
mov dword [esp + 0x60], ebp
mov dword [edi + esi*4], ebx
inc edx
mov ecx, dword [esp + 0x44]
cmp edx, eax
jge 0x496cf9
mov ebx, dword [ecx + edx*4]
test ebx, ebx
je 0x496cf2
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x10]
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x5c]
lea ecx, [esi + 1]
cmp ecx, ebp
jle 0x496c78
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], ebx
lea eax, [0x5d01c0]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
call fcn.00438950
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x64], eax
mov dword [esp + 0x5c], edi
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
jmp 0x496c78
mov ebx, 0xffffffff
jmp 0x496c97
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x78]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x10], edx
lea edx, [esp + 0x48]
mov dword [esp + 0x14], edx
call fcn.0047a240
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
test ecx, ecx
je 0x496e23
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
lea eax, [0x5e7480]
mov dword [esp], eax
call fcn.0040dcf0
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov dword [eax + 4], 9
mov ecx, dword [0x749b10]
test ecx, ecx
jne 0x496e08
lea ecx, [0x60c4e1]
mov dword [eax], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x749b10]
lea edx, [eax + 8]
test ecx, ecx
jne 0x496df2
mov ecx, dword [esp + 0x70]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x749b10]
lea edx, [eax + 0x14]
test ecx, ecx
jne 0x496ddc
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0x14], ecx
mov dword [esp + 0x88], 0
lea ecx, [0x63d300]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x6c
ret
mov dword [esp], edx
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.0040e560
mov eax, dword [esp + 0x40]
jmp 0x496db9
mov dword [esp], edx
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
call fcn.0040e560
mov eax, dword [esp + 0x40]
jmp 0x496d9e
mov dword [esp], eax
lea ecx, [0x60c4e1]
mov dword [esp + 4], ecx
call fcn.0040e560
mov eax, dword [esp + 0x40]
jmp 0x496d83
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.00496900
mov eax, dword [esp + 8]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x6c
ret
call fcn.004966a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x50], edx
mov ecx, dword [esp + 0x84]
jmp 0x496c66
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
test ebx, ebx
je 0x496c1f
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.0049a990
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x496ead
mov ecx, dword [esp + 0x84]
jmp 0x496c1f
lea edx, [0x63d300]
cmp edx, ecx
jne 0x496f0f
mov dword [eax + 4], 5
mov ecx, dword [0x749b10]
test ecx, ecx
jne 0x496eed
lea ecx, [0x60b90f]
mov dword [eax], ecx
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], eax
add esp, 0x6c
ret
mov dword [esp + 0x34], eax
mov dword [esp], eax
lea ecx, [0x60b90f]
mov dword [esp + 4], ecx
call fcn.0040e560
mov eax, dword [esp + 0x34]
lea edx, [0x63d300]
jmp 0x496ed0
mov dword [esp], ecx
lea eax, [0x5dc680]
mov dword [esp + 4], eax
lea eax, [0x5d7380]
mov dword [esp + 8], eax
call fcn.0040b360
ud2
call fcn.0044a470
jmp fcn.00496bf0