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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xa0]
cmp eax, dword [ecx + 8]
jbe 0x4a2237
sub esp, 0x120
lea edi, [esp + 0x12c]
xor eax, eax
call fcn.00461283
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov ecx, dword [esp + 0x124]
mov dword [esp + 0xc0], ecx
lea edi, [esp + 0xd0]
call fcn.00461289
lea edi, [esp + 0xec]
call fcn.00461283
lea ecx, [esp + 0xec]
mov dword [esp + 0xdc], ecx
call fcn.0044eed0
mov ecx, dword [esp]
mov dword [esp + 0xd8], ecx
mov eax, 1
lea ecx, [esp + 0xc0]
mov edx, 1
xor ebx, ebx
lea ebp, [esp + 0x3c]
xor esi, esi
xor edi, edi
jmp 0x4a1af9
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x5c]
mov ecx, eax
mov edx, ebx
mov ebx, dword [esp + 0x5c]
mov eax, ebp
mov ebp, dword [esp + 0x98]
test eax, eax
je 0x4a1b37
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x88], esi
mov dword [esp + 0x80], eax
xor eax, eax
mov dword [esp + 0x74], eax
xor eax, eax
mov dword [esp + 0xbc], eax
xor eax, eax
mov dword [esp + 0x40], eax
jmp 0x4a1b64
xchg edi, eax
test al, al
xchg edi, eax
je 0x4a1add
xchg edi, eax
mov byte [esp + 0x160], al
xchg edi, eax
add esp, 0x120
ret
mov edx, dword [esp + 0xb8]
add edx, 0x10
mov dword [esp + 0x74], ecx
mov dword [esp + 0xbc], esi
mov dword [esp + 0x40], ebp
mov ebp, eax
mov ecx, edx
mov dword [esp + 0xb8], ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x8c], ebp
xchg edi, eax
mov byte [esp + 0x3f], al
xchg edi, eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x70], eax
mov edx, dword [ecx + 4]
mov dword [esp + 0xb4], edx
mov esi, dword [ecx]
mov dword [esp + 0xb0], esi
lea edx, [0x5063c0]
mov dword [esp], edx
lea eax, [esp + 0xd0]
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.0040dda0
mov eax, dword [esp + 0xc]
movzx eax, byte [eax]
test al, al
je 0x4a1bdb
movzx edi, byte [esp + 0x3f]
mov esi, dword [esp + 0xbc]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x8c]
jmp 0x4a1c46
lea eax, [0x5063c0]
mov dword [esp], eax
lea ecx, [esp + 0xd0]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xb0]
mov dword [esp + 8], edx
call fcn.0040e330
mov eax, dword [esp + 0xc]
mov byte [eax], 1
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0xbc]
movzx edi, byte [esp + 0x3f]
mov dword [esp + 0x78], eax
xor eax, eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x78]
jmp 0x4a1c76
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x74]
inc ecx
mov edx, dword [esp + 0x58]
cmp edx, ecx
jg 0x4a1b47
jmp 0x4a1b31
inc edi
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x50], edi
mov edi, edx
mov edx, ebx
mov ebx, esi
mov esi, ebp
mov ebp, ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x50]
cmp edx, ecx
jge 0x4a1c3f
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebx
mov ebx, dword [eax + 0x24]
mov ebp, dword [eax + 0x28]
cmp edx, ebp
jae 0x4a222d
mov dword [esp + 0xac], ebx
mov dword [esp + 0xa8], esi
xchg edi, eax
mov byte [esp + 0x3e], al
xchg edi, eax
lea eax, [edx + edx*2]
mov dword [esp + 0x60], eax
mov ecx, dword [ebx + eax*4]
mov dword [esp], ecx
call fcn.004a02c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0xac]
mov ebp, dword [ebx + edx*4 + 8]
test ebp, 1
je 0x4a1d27
mov ebx, dword [ebx + edx*4 + 4]
movzx ebp, byte [ebx + 0xf]
and ebp, 0x1f
cmp ebp, 0x16
jne 0x4a1d29
mov dword [esp + 0x54], ecx
mov dword [esp + 0x94], eax
mov dword [esp], ebx
call fcn.004a0f00
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov eax, dword [eax + 0x84]
mov dword [esp], ecx
call eax
mov ebx, dword [esp + 4]
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x54]
jmp 0x4a1d29
xor ebx, ebx
mov dword [esp + 0xa4], ebx
mov edx, dword [esp + 0x128]
mov ebp, dword [edx]
mov dword [esp], eax
mov dword [esp + 4], ecx
call ebp
movzx eax, byte [esp + 8]
test al, al
jne 0x4a2077
movzx edx, byte [esp + 0x3e]
test dl, dl
jne 0x4a2054
mov ebx, dword [esp + 0xa4]
test ebx, ebx
je 0x4a2054
movzx ebp, byte [ebx + 0xf]
and ebp, 0x1f
cmp ebp, 0x19
jne 0x4a2054
lea ecx, [0x506400]
mov dword [esp], ecx
mov edx, dword [esp + 0xa8]
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.0040dda0
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
test eax, eax
jg 0x4a1ffe
mov eax, dword [esp + 0xa8]
test eax, eax
jne 0x4a1dbb
call fcn.0040bdc0
mov esi, dword [esp]
mov eax, esi
mov dword [esp + 0xbc], eax
lea ecx, [0x506400]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov edx, dword [esp + 0xa4]
mov dword [esp + 8], edx
call fcn.0040e330
mov eax, dword [esp + 0xc]
mov dword [eax], 1
mov eax, dword [esp + 0xb0]
lea edx, [0x506400]
mov dword [esp], edx
mov ebx, dword [esp + 0x88]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.0040dda0
mov eax, dword [esp + 0xc]
cmp dword [eax], 1
jle 0x4a1e44
lea eax, [0x506400]
mov dword [esp], eax
mov ecx, dword [esp + 0xbc]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xa4]
mov dword [esp + 8], edx
call fcn.0040e330
mov eax, dword [esp + 0xc]
mov dword [eax], 2
mov eax, dword [esp + 0x70]
test eax, eax
ja 0x4a1e52
xor ecx, ecx
xor edx, edx
jmp 0x4a1e8a
lea ecx, [0x505600]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], eax
call fcn.00448790
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x60], ecx
mov dword [esp + 0xa0], edx
mov dword [esp], edx
mov ebx, dword [esp + 0xb4]
mov dword [esp + 4], ebx
shl eax, 2
mov dword [esp + 8], eax
call fcn.00461980
mov eax, dword [esp + 0x70]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x60]
cmp edx, ecx
jb 0x4a1ec7
mov ebx, dword [esp + 0xa0]
jmp 0x4a1f03
lea ebx, [0x505600]
mov dword [esp], ebx
mov ebp, dword [esp + 0xa0]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.00448790
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
inc eax
mov ebx, edx
mov edx, ecx
mov ecx, eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x90], ebx
mov ebp, dword [esp + 0x50]
mov dword [ebx + eax*4], ebp
mov esi, dword [esp + 0x68]
mov edi, ebp
lea ebp, [esi + 1]
mov ebx, dword [esp + 0x64]
cmp ebx, ebp
jae 0x4a1f79
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
lea eax, [0x50be60]
mov dword [esp], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00448790
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea ebp, [eax + 1]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x50]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x44], ebx
shl esi, 4
mov ebx, dword [esp + 0x8c]
mov dword [ebx + esi + 8], ecx
mov dword [ebx + esi + 0xc], edx
mov edx, dword [0x6265b0]
mov ecx, ebp
lea ebp, [ebx + esi]
mov dword [esp + 0x9c], ebp
lea ebp, [ebx + esi + 4]
test edx, edx
jne 0x4a1fc0
mov edx, dword [esp + 0xa4]
mov dword [ebx + esi], edx
mov edx, dword [esp + 0x90]
mov dword [ebx + esi + 4], edx
jmp 0x4a1fe9
mov edx, edi
mov edi, dword [esp + 0x9c]
mov esi, eax
mov eax, dword [esp + 0xa4]
call fcn.00461090
mov edi, ebp
mov eax, dword [esp + 0x90]
call fcn.00461090
mov eax, esi
mov edi, edx
movzx edx, byte [esp + 0x3e]
mov ebp, dword [esp + 0xbc]
mov esi, dword [esp + 0x44]
jmp 0x4a1c5c
lea eax, [0x506400]
mov dword [esp], eax
mov ecx, dword [esp + 0xa8]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xa4]
mov dword [esp + 8], edx
call fcn.0040e330
mov eax, dword [esp + 0xc]
mov dword [eax], 2
mov eax, dword [esp + 0x70]
mov edi, dword [esp + 0x50]
movzx edx, byte [esp + 0x3e]
mov ebp, dword [esp + 0xa8]
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0x64]
mov ebx, dword [esp + 0x8c]
jmp 0x4a1c5c
mov eax, dword [esp + 0x70]
mov edi, dword [esp + 0x50]
mov ebp, dword [esp + 0xa8]
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0x64]
mov ebx, dword [esp + 0x8c]
jmp 0x4a1c5c
mov eax, dword [esp + 0xb0]
lea edx, [0x506400]
mov dword [esp], edx
mov ebx, dword [esp + 0x88]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.0040dda0
mov eax, dword [esp + 0xc]
cmp dword [eax], 1
jg 0x4a2210
movzx ecx, byte [esp + 0x3e]
test cl, cl
jne 0x4a2210
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
call fcn.004a18c0
lea edi, [esp + 0x12c]
lea esi, [esp + 8]
call fcn.0046171e
mov dword [esp + 0x150], 0
mov dword [esp + 0x154], 0
mov dword [esp + 0x158], 0
mov eax, dword [esp + 0x70]
test eax, eax
ja 0x4a210b
xor ecx, ecx
xor edx, edx
jmp 0x4a2145
lea ecx, [0x505600]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], eax
call fcn.00448790
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, ecx
mov ecx, eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x60], edx
mov dword [esp + 0xa0], ecx
mov dword [esp], ecx
mov ebx, dword [esp + 0xb4]
mov dword [esp + 4], ebx
shl eax, 2
mov dword [esp + 8], eax
call fcn.00461980
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x150], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x154], ecx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x158], edx
lea ebx, [ecx + 1]
cmp edx, ebx
jb 0x4a2199
mov edx, ecx
jmp 0x4a21db
lea ebp, [0x505600]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.00448790
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x158], edx
mov dword [esp + 0x150], ecx
mov edx, dword [esp + 0x70]
mov ebx, ecx
mov ecx, eax
mov eax, ebx
lea ebx, [ecx + 1]
mov dword [esp + 0x154], ebx
mov ebx, dword [esp + 0x50]
mov dword [eax + ecx*4], ebx
mov eax, edx
mov edi, ebx
mov edx, 1
mov ebp, dword [esp + 0xa8]
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0x64]
mov ebx, dword [esp + 0x8c]
jmp 0x4a1c5c
lea edi, [esp + 0x12c]
xor eax, eax
call fcn.00461283
mov byte [esp + 0x160], 0
add esp, 0x120
ret
mov eax, edx
mov ecx, ebp
call fcn.00461110
nop
call fcn.0045fcc0
jmp fcn.004a1a20