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

Disassembly:
sub esp, 0xfc
push ebx
push ebp
mov ebp, dword [esp + 0x108]
lea eax, [esp + 0xec]
push esi
push edi
push ebp
push eax
call fcn.004a1710
mov esi, dword [esp + 0x11c]
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x48], 0
add esp, 8
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ebx
test esi, esi
je 0x4a86de
cmp word [esi], dx
je 0x4a86de
mov ecx, esi
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a8690
sub ecx, edi
sar ecx, 1
lea edi, [ecx + 1]
test edi, edi
jle 0x4a86b8
push edi
lea ecx, [esp + 0x44]
call fcn.0040ce40
mov ebx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
lea eax, [edi + edx]
mov dword [esp + 0x44], eax
cmp eax, ebx
jle 0x4a86cd
push edx
lea ecx, [esp + 0x44]
call fcn.0040cde0
lea eax, [edi + edi]
push eax
push esi
push dword [esp + 0x48]
call fcn.004263f0
add esp, 0xc
call fcn.004cacf0
mov esi, eax
mov dword [esp + 0x34], 0
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ebx
test esi, esi
je 0x4a8755
cmp word [esi], dx
je 0x4a8755
mov ecx, esi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a8707
sub ecx, edi
sar ecx, 1
lea edi, [ecx + 1]
test edi, edi
jle 0x4a872f
push edi
lea ecx, [esp + 0x38]
call fcn.0040ce40
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
lea eax, [edi + edx]
mov dword [esp + 0x38], eax
cmp eax, ebx
jle 0x4a8744
push edx
lea ecx, [esp + 0x38]
call fcn.0040cde0
lea eax, [edi + edi]
push eax
push esi
push dword [esp + 0x3c]
call fcn.004263f0
add esp, 0xc
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x108]
push eax
call fcn.004a1810
mov eax, dword [esp + 0x40]
add esp, 0xc
test eax, eax
je 0x4a8780
push eax
call fcn.0043f8f0
add esp, 4
lea eax, [esp + 0x100]
push eax
lea eax, [esp + 0xec]
push eax
call fcn.004a5cb0
mov eax, dword [esp + 0x108]
add esp, 8
test eax, eax
je 0x4a87ac
push eax
call fcn.0043f8f0
add esp, 4
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4a87bd
push eax
call fcn.0043f8f0
add esp, 4
push 0
push 0x61bb6c
push 0x6112e4
lea ecx, [esp + 0xf4]
call fcn.00412320
push 0
push 0x61bb6c
push 0x6112e4
lea ecx, [esp + 0x100]
call fcn.00412320
push 1
push 0x61bb6c
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
lea ecx, [esp + 0x100]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
call fcn.00410df0
push 1
push 0x61bb6c
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
push eax
lea ecx, [esp + 0xf4]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
call fcn.00410df0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4a8c84
cmp dword [esp + 0x20], 0
je 0x4a8b35
mov dword [esp + 0x5c], 0
test eax, eax
jg 0x4a8898
lea eax, [esp + 0x5c]
mov dword [esp + 0xc0], eax
lea eax, [esp + 0x10]
mov dword [esp + 0xc4], eax
lea eax, [esp + 0xc0]
push eax
call fcn.006090b0
add esp, 4
nop
int3
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
lea eax, [ecx - 1]
neg ecx
sbb ecx, ecx
and ecx, eax
cmp ecx, 1
jle 0x4a8b35
cmp dword [esp + 0x14], 0
mov dword [esp + 0x60], 0
jg 0x4a88e8
lea eax, [esp + 0x60]
mov dword [esp + 0xc8], eax
lea eax, [esp + 0x10]
mov dword [esp + 0xcc], eax
lea eax, [esp + 0xc8]
push eax
call fcn.006090b0
add esp, 4
nop
int3
mov esi, dword [esp + 0x10]
mov edx, 1
mov dword [esp + 0x4c], edx
mov ecx, dword [esi + 4]
lea eax, [ecx - 1]
neg ecx
sbb ecx, ecx
and ecx, eax
cmp ecx, edx
jg 0x4a892d
lea eax, [esp + 0x4c]
mov dword [esp + 0xd4], esi
mov dword [esp + 0xd0], eax
lea eax, [esp + 0xd0]
push eax
call fcn.00609170
add esp, 4
nop
int3
mov eax, dword [esi]
cmp word [eax + edx*2], 0x3a
jne 0x4a8b35
cmp dword [esp + 0x20], 0
mov dword [esp + 0x64], 0
jg 0x4a8971
lea eax, [esp + 0x64]
mov dword [esp + 0xd8], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0xdc], eax
lea eax, [esp + 0xd8]
push eax
call fcn.006090b0
add esp, 4
nop
int3
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 1]
neg ecx
sbb ecx, ecx
and ecx, eax
cmp ecx, 1
jle 0x4a8b35
cmp dword [esp + 0x20], 0
mov dword [esp + 0x68], 0
jg 0x4a89c1
lea eax, [esp + 0x68]
mov dword [esp + 0xe0], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0xe4], eax
lea eax, [esp + 0xe0]
push eax
call fcn.006090b0
add esp, 4
nop
int3
mov esi, dword [esp + 0x1c]
mov edx, 1
mov dword [esp + 0x50], edx
mov ecx, dword [esi + 4]
lea eax, [ecx - 1]
neg ecx
sbb ecx, ecx
and ecx, eax
cmp ecx, edx
jg 0x4a8a06
lea eax, [esp + 0x50]
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], eax
lea eax, [esp + 0x80]
push eax
call fcn.00609170
add esp, 4
nop
int3
mov eax, dword [esi]
cmp word [eax + edx*2], 0x3a
jne 0x4a8b35
cmp dword [esp + 0x14], 0
mov dword [esp + 0x6c], 0
jg 0x4a8a4a
lea eax, [esp + 0x6c]
mov dword [esp + 0x88], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x88]
push eax
call fcn.006090b0
add esp, 4
nop
int3
mov esi, dword [esp + 0x10]
xor edx, edx
mov dword [esp + 0x54], edx
mov ecx, dword [esi + 4]
lea eax, [ecx - 1]
neg ecx
sbb ecx, ecx
test eax, ecx
jg 0x4a8a8a
lea eax, [esp + 0x54]
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], eax
lea eax, [esp + 0x90]
push eax
call fcn.00609170
add esp, 4
nop
int3
cmp dword [esp + 0x20], 0
mov eax, dword [esi]
mov dword [esp + 0x70], 0
movzx edi, word [eax + edx*2]
jg 0x4a8ac7
lea eax, [esp + 0x70]
mov dword [esp + 0x98], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x98]
push eax
call fcn.006090b0
add esp, 4
nop
int3
mov esi, dword [esp + 0x1c]
xor edx, edx
mov dword [esp + 0x58], edx
mov ecx, dword [esi + 4]
lea eax, [ecx - 1]
neg ecx
sbb ecx, ecx
test eax, ecx
jg 0x4a8b07
lea eax, [esp + 0x58]
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], eax
lea eax, [esp + 0xa0]
push eax
call fcn.00609170
add esp, 4
nop
int3
mov eax, dword [esi]
movzx ecx, word [eax + edx*2]
lea eax, [ecx - 0x61]
cmp eax, 0x1a
sbb eax, eax
and eax, 0x20
sub cx, ax
lea eax, [edi - 0x61]
cmp eax, 0x1a
sbb eax, eax
and eax, 0x20
sub di, ax
cmp di, cx
je 0x4a8b35
xor bl, bl
jmp 0x4a8d9c
cmp dword [esp + 0x14], 0
je 0x4a8c84
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4a8c84
mov dword [esp + 0x74], 0
jg 0x4a8b7e
lea eax, [esp + 0x74]
mov dword [esp + 0xa8], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0xac], eax
lea eax, [esp + 0xa8]
push eax
call fcn.006090b0
add esp, 4
nop
int3
cmp dword [esp + 0x14], 0
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x78], 0
jg 0x4a8bb9
lea eax, [esp + 0x78]
mov dword [esp + 0xb0], eax
lea eax, [esp + 0x10]
mov dword [esp + 0xb4], eax
lea eax, [esp + 0xb0]
push eax
call fcn.006090b0
add esp, 4
nop
int3
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 4]
mov eax, dword [eax + 4]
cmp eax, ecx
je 0x4a8bce
add eax, ecx
cmp eax, 1
jmp 0x4a8be5
cmp eax, 1
jle 0x4a8bf0
mov eax, dword [esp + 0x10]
push dword [esi]
push dword [eax]
call fcn.0042e8d0
add esp, 8
test eax, eax
sete al
test al, al
je 0x4a8c84
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x4a8c03
push eax
call fcn.0043f8f0
add esp, 4
mov eax, dword [esp + 0x14]
add eax, 0xffffffff
je 0x4a8c24
mov esi, dword [esp + 0x10]
lea eax, [eax + eax*2]
shl eax, 2
push eax
lea eax, [esi + 0xc]
push eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
dec dword [esp + 0x14]
lea ecx, [esp + 0x10]
call fcn.0042a0b0
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
test eax, eax
je 0x4a8c48
push eax
call fcn.0043f8f0
mov ecx, dword [esp + 0x20]
add esp, 4
mov eax, dword [esp + 0x20]
lea edx, [eax - 1]
test edx, edx
je 0x4a8c6b
lea eax, [edx + edx*2]
shl eax, 2
push eax
lea eax, [ecx + 0xc]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [esp + 0x2c]
add esp, 0xc
dec eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], eax
call fcn.0042a0b0
cmp dword [esp + 0x14], 0
jne 0x4a8b40
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
cmp dword [esp + 0x20], ecx
jle 0x4a8cbb
nop word [eax + eax]
push 3
push 0x62dc1c
lea ecx, [esp + 0x30]
call fcn.0040edd0
inc esi
cmp esi, dword [esp + 0x20]
jl 0x4a8ca0
mov ecx, dword [esp + 0x28]
xor esi, esi
cmp dword [esp + 0x14], esi
jle 0x4a8d52
xor edi, edi
nop dword [eax]
mov ecx, esi
mov dword [esp + 0x7c], esi
not ecx
xor eax, eax
shr ecx, 0x1f
cmp esi, dword [esp + 0x14]
cmovl eax, ecx
test eax, eax
jne 0x4a8d10
lea eax, [esp + 0x7c]
mov dword [esp + 0xb8], eax
lea eax, [esp + 0x10]
mov dword [esp + 0xbc], eax
lea eax, [esp + 0xb8]
push eax
call fcn.006090b0
add esp, 4
nop
int3
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + edi + 4]
lea eax, [ecx - 1]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [edx + edi]
lea ecx, [esp + 0x30]
call fcn.0040edd0
inc esi
cmp esi, dword [esp + 0x14]
jge 0x4a8d45
push 1
push 0x61bb6c
lea ecx, [esp + 0x30]
call fcn.0040edd0
add edi, 0xc
cmp esi, dword [esp + 0x14]
jl 0x4a8cd0
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x28]
cmp ebp, eax
je 0x4a8d8d
mov eax, dword [ebp]
test eax, eax
je 0x4a8d6e
push eax
call fcn.0043f8f0
mov ecx, dword [esp + 0x2c]
add esp, 4
mov eax, dword [esp + 0x2c]
mov dword [ebp], ecx
xor ecx, ecx
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x28], ecx
mov dword [ebp + 8], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov bl, 1
test ecx, ecx
je 0x4a8d9c
push ecx
call fcn.0043f8f0
add esp, 4
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
test edi, edi
je 0x4a8dbf
mov eax, dword [esi]
test eax, eax
je 0x4a8db7
push eax
call fcn.0043f8f0
add esp, 4
add esi, 0xc
sub edi, 1
jne 0x4a8da8
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4a8dd0
push esi
call fcn.0043f8f0
add esp, 4
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
test edi, edi
je 0x4a8df7
nop dword [eax]
mov eax, dword [esi]
test eax, eax
je 0x4a8def
push eax
call fcn.0043f8f0
add esp, 4
add esi, 0xc
sub edi, 1
jne 0x4a8de0
mov esi, dword [esp + 0x10]
test esi, esi
je 0x4a8e08
push esi
call fcn.0043f8f0
add esp, 4
mov eax, dword [esp + 0xe8]
test eax, eax
je 0x4a8e1c
push eax
call fcn.0043f8f0
add esp, 4
mov eax, dword [esp + 0xf4]
test eax, eax
je 0x4a8e30
push eax
call fcn.0043f8f0
add esp, 4
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0xfc
ret