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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x4ca0df
sub esp, 0x94
lea edi, [esp + 0xa0]
xor eax, eax
call fcn.00460de6
mov ecx, dword [esp + 0x98]
movzx edx, byte [ecx + 0xf]
and edx, 0x1f
cmp edx, 0x14
jne 0x4c9afb
mov dword [esp], ecx
mov eax, dword [esp + 0x9c]
mov dword [esp + 4], eax
call fcn.004cb0d0
lea esi, [esp + 8]
lea edi, [esp + 0xa0]
call fcn.0046129c
add esp, 0x94
ret
mov dword [esp], ecx
call fcn.004c99b0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x9c]
test edx, edx
jl 0x4ca0c6
cmp edx, ecx
jge 0x4ca0c6
shl edx, 4
mov ebx, dword [eax + edx + 4]
mov dword [esp + 0x5c], ebx
mov ebp, dword [eax + edx + 0xc]
mov dword [esp + 0x58], ebp
mov eax, dword [eax + edx]
nop
mov edx, dword [esp + 0x98]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0045cf40
mov eax, dword [esp + 8]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
test eax, eax
je 0x4c9b88
lea ecx, [eax + 3]
mov dword [esp + 0x8c], ecx
movzx ecx, byte [eax + 1]
shl ecx, 8
movzx eax, byte [eax + 2]
or ecx, eax
mov dword [esp + 0x90], ecx
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
nop
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
call fcn.0045cf80
mov eax, dword [esp + 8]
mov dword [esp + 0x74], eax
movzx ecx, word [eax + 0x20]
test cx, cx
jne 0x4ca058
xor ecx, ecx
lea eax, [0xb6e640]
mov dword [esp], eax
mov dword [esp + 4], 0
inc ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 8], ecx
call fcn.00446f30
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x48]
cmp ecx, 1
jb 0x4ca01a
mov edx, 1
lea ebp, [0xc92ac0]
mov dword [eax], ebp
mov esi, dword [0x10fd360]
test esi, esi
jne 0x4c9ffb
mov esi, dword [esp + 0x98]
mov dword [eax + 4], esi
mov ebx, esi
mov esi, dword [esp + 0x74]
movzx ebp, byte [esi + 0xc]
xchg ebp, eax
test al, 1
xchg ebp, eax
je 0x4c9ff1
mov ebp, 0x34
mov edi, ebp
movzx ebp, word [esi + 0x20]
test bp, bp
jne 0x4c9fd5
xor ebp, ebp
xor edi, edi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x68], edi
mov dword [esp + 0x60], eax
xor eax, eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x60]
jmp 0x4c9c86
mov edx, dword [esp + 0x54]
inc edx
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x44]
mov esi, dword [esp + 0x74]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x44], edx
mov esi, dword [esp + 0x54]
cmp esi, ebp
jge 0x4c9d32
mov ebp, dword [edi + esi*4]
mov dword [esp + 0x84], ebp
lea esi, [edx + 1]
cmp ecx, esi
jb 0x4c9ce8
mov dword [esp + 0x44], esi
lea esi, [eax + edx*8]
lea ebp, [0xc92ac0]
mov dword [esi], ebp
mov esi, dword [0x10fd360]
lea ebp, [eax + edx*8 + 4]
test esi, esi
jne 0x4c9cd0
mov esi, dword [esp + 0x84]
mov dword [ebp], esi
jmp 0x4c9c6d
mov edx, edi
mov edi, ebp
mov esi, eax
mov eax, dword [esp + 0x84]
call fcn.00460b40
mov eax, esi
mov edi, edx
jmp 0x4c9c6d
lea ebx, [0xb6e640]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], esi
call fcn.00447080
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea esi, [ecx + 1]
mov ebx, dword [esp + 0x98]
mov ebp, dword [esp + 0x84]
mov edi, dword [esp + 0x68]
mov ecx, edx
mov edx, dword [esp + 0x44]
jmp 0x4c9ca7
mov dword [esp + 0x50], ecx
mov dword [esp + 0x80], eax
mov ebp, dword [esp + 0x74]
movzx esi, word [ebp + 0x22]
and esi, 0x7fff
test si, si
jne 0x4c9fae
xor esi, esi
mov dword [esp + 0x3c], esi
lea eax, [0xb6e640]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], esi
call fcn.00446f30
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x74]
movzx edx, byte [ecx + 0xc]
test dl, 1
je 0x4c9fa4
mov edx, 0x34
movzx ebp, word [ecx + 0x22]
and ebp, 0x7fff
test bp, bp
jne 0x4c9f62
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x34], edx
mov dword [esp + 0x6c], ebx
mov ebp, dword [esp + 0x3c]
xor esi, esi
xor edi, edi
jmp 0x4c9dd0
inc esi
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x6c]
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x38], edi
cmp edx, esi
jle 0x4c9e57
mov ecx, dword [ebx + esi*4]
lea ebx, [edi + 1]
cmp ebp, ebx
jb 0x4c9e10
mov dword [esp + 0x38], ebx
lea edx, [eax + edi*8]
lea ebx, [0xc92ac0]
mov dword [edx], ebx
mov edx, dword [0x10fd360]
lea edi, [eax + edi*8 + 4]
test edx, edx
jne 0x4c9e03
mov dword [edi], ecx
jmp 0x4c9db7
mov edx, eax
mov eax, ecx
call fcn.00460b40
mov eax, edx
jmp 0x4c9db7
mov dword [esp + 0x54], esi
mov dword [esp + 0x70], ecx
lea ecx, [0xb6e640]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.00447080
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ebx, [ecx + 1]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x38]
jmp 0x4c9de2
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x78], eax
mov dword [esp], ecx
call fcn.004ca4d0
movzx eax, byte [esp + 4]
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x14], ecx
mov byte [esp + 0x18], al
call fcn.004cdcd0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
lea edx, [0xaa9960]
mov dword [esp], edx
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x98]
mov dword [esp], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
call fcn.0045cfc0
mov eax, dword [0x10fd360]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x4c9f50
mov eax, dword [esp + 0x88]
mov dword [eax], ecx
lea ecx, [0xc92ac0]
mov edx, dword [esp + 0x40]
cmp ecx, edx
jne 0x4ca06a
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], 0x13
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xc4], eax
add esp, 0x94
ret
mov edi, dword [esp + 0x88]
mov eax, ecx
call fcn.00460b40
mov eax, edi
jmp 0x4c9f0c
movzx esi, word [ecx + 0x20]
add ebp, esi
movzx ebp, bp
mov ebx, esi
lea esi, [edx + ecx]
cmp ebp, 0x100000
ja 0x4ca08f
movzx edx, bx
cmp ebp, edx
jb 0x4ca086
sub ebp, edx
mov ebx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
shl edx, 2
sar ebp, 0x1f
and ebp, edx
add ebp, esi
mov edx, ebx
mov ebx, ebp
jmp 0x4c9da5
mov edx, 0x24
jmp 0x4c9d8e
movzx edi, word [ebp + 0x20]
add esi, edi
movzx esi, si
cmp esi, 0x100000
ja 0x4ca0a4
movzx edi, di
cmp esi, edi
jb 0x4ca09b
sub esi, edi
jmp 0x4c9d56
movzx ebp, bp
add esi, edi
cmp ebp, 0x100000
ja 0x4ca0b0
mov edi, esi
mov esi, dword [esp + 0x74]
jmp 0x4c9c55
mov ebp, 0x24
jmp 0x4c9c42
lea edi, [eax + 4]
mov ebx, eax
mov eax, dword [esp + 0x98]
call fcn.00460b40
mov eax, ebx
mov esi, dword [esp + 0x98]
jmp 0x4c9c28
lea edx, [0xb6e640]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 1
call fcn.00447080
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
inc ecx
mov ebx, edx
mov edx, ecx
mov ecx, ebx
jmp 0x4c9c08
movzx edx, cx
cmp edx, 0x100000
ja 0x4ca0bc
mov ecx, edx
jmp 0x4c9bd3
mov dword [esp], edx
lea eax, [0xb83f00]
mov dword [esp + 4], eax
lea eax, [0xb6e640]
mov dword [esp + 8], eax
call fcn.004091d0
mov eax, edx
mov ecx, ebp
call fcn.00460c80
mov edx, ebp
mov ebx, 0x100000
call fcn.00460c40
mov eax, edi
mov ecx, esi
call fcn.00460c80
mov edx, esi
mov ebx, 0x100000
call fcn.00460c40
mov edx, ebp
mov ebx, 0x100000
call fcn.00460c40
mov ebx, 0x100000
call fcn.00460c40
lea eax, [0xaa9660]
mov dword [esp], eax
lea eax, [0xc75cb0]
mov dword [esp + 4], eax
call fcn.00433120
nop
call fcn.0045f5f0
jmp fcn.004c9a90