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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x78]
cmp eax, dword [ecx + 8]
jbe 0x4a91ff
sub esp, 0xf8
mov ecx, dword [esp + 0xfc]
mov edx, dword [ecx + 0x20]
mov ebx, dword [ecx + 0x1c]
mov ebp, dword [ecx + 0x18]
test ebx, ebx
je 0x4a91cc
mov esi, dword [ebp + 4]
mov eax, ebp
mov ebp, dword [ebp]
cmp esi, 2
jl 0x4a91a7
mov edi, edx
movzx edx, byte [ebp]
cmp dl, 0x2d
jne 0x4a91a7
lea edx, [ecx + 0x18]
mov dword [esp + 0x5c], edx
movzx edx, byte [ebp + 1]
cmp dl, 0x2d
jne 0x4a919d
cmp esi, 2
je 0x4a914a
mov edx, 2
cmp edx, esi
ja 0x4a91f8
mov dword [esp + 0x28], esi
sub esi, edx
mov dword [esp + 0x2c], esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and edx, esi
lea esi, [edx + ebp]
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x4a9092
mov dword [esp + 0x34], edx
movzx edx, byte [edx + ebp]
cmp dl, 0x2d
je 0x4a9092
cmp dl, 0x3d
je 0x4a9092
lea edx, [ebx - 1]
mov dword [ecx + 0x1c], edx
lea edx, [edi - 1]
mov dword [ecx + 0x20], edx
mov ebx, dword [0x7db370]
neg edx
sar edx, 0x1f
and edx, 8
add eax, edx
test ebx, ebx
jne 0x4a9084
mov dword [ecx + 0x18], eax
mov dword [esp + 0x3c], ebp
mov eax, dword [esp + 0x40]
mov edx, 1
jmp 0x4a88fb
inc edx
cmp edx, esi
jge 0x4a9077
jae 0x4a91f1
movzx ebx, byte [edx + eax]
cmp bl, 0x3d
jne 0x4a88fa
lea ebx, [edx + 1]
sub esi, ebx
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and ebx, esi
add ebx, eax
mov esi, 1
mov dword [esp + 0x24], edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], edx
xchg esi, eax
mov byte [esp + 0x23], al
xchg esi, eax
mov ebp, dword [ecx + 0x14]
lea ebx, [0x5e12a0]
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call fcn.0040dfa0
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
mov eax, dword [eax]
test cl, cl
jne 0x4a8a98
mov eax, dword [esp + 0x2c]
cmp eax, 4
jne 0x4a8a8b
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov ebx, dword [edx + ecx]
cmp ebx, 0x706c6568
jne 0x4a89c5
mov eax, dword [esp + 0xfc]
mov dword [esp], eax
call fcn.004a87c0
mov eax, dword [0x7c9530]
mov ecx, dword [0x7c9534]
mov byte [esp + 0x100], 0
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], ecx
add esp, 0xf8
ret
cmp eax, 1
jne 0x4a89d3
movzx ecx, byte [ecx + edx]
cmp cl, 0x68
je 0x4a898d
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
lea eax, [0x5dfce0]
mov dword [esp], eax
lea eax, [esp + 0x98]
mov dword [esp + 4], eax
call fcn.004072a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov eax, dword [esp + 0xfc]
mov dword [esp], eax
lea eax, [0x626722]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x22
lea eax, [esp + 0xa0]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.004a86d0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x100], 0
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], ecx
add esp, 0xf8
ret
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
jmp 0x4a89c5
mov dword [esp + 0x48], eax
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
lea ebx, [0x5efd80]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004077f0
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x14]
mov edx, dword [esp + 0x10]
test cl, cl
jne 0x4a8dda
movzx ecx, byte [esp + 0x23]
test cl, cl
je 0x4a8d7c
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
test cl, cl
je 0x4a8cd8
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], edx
mov ecx, dword [esp + 0x48]
mov ebx, dword [ecx + 0x10]
mov ebp, dword [ecx + 0x14]
mov ebx, dword [ebx + 0x10]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp], ebp
call ebx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4a8c26
mov dword [esp + 0x4c], eax
mov edx, dword [esp + 0x38]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x64], edx
je 0x4a8b45
mov ecx, dword [ecx + 4]
mov dword [esp + 0x58], ecx
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.0044b77a
lea ecx, [0x5dfce0]
mov dword [esp], ecx
lea edx, [esp + 0x68]
mov dword [esp + 4], edx
call fcn.004072a0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], ecx
lea ecx, [0x5dfce0]
mov dword [esp], ecx
lea ecx, [esp + 0x60]
mov dword [esp + 4], ecx
call fcn.004072a0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov dword [esp + 0xd0], edx
mov dword [esp + 0xd4], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xd8], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0xdc], ecx
mov ecx, dword [esp + 0xfc]
mov dword [esp], ecx
lea ecx, [0x626126]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x21
lea ecx, [esp + 0xc8]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 3
call fcn.004a86d0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov byte [esp + 0x100], 0
mov dword [esp + 0x104], ecx
mov dword [esp + 0x108], edx
add esp, 0xf8
ret
mov eax, dword [esp + 0xfc]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4a8c9f
mov eax, dword [eax + 0x10]
mov dword [esp + 4], eax
lea eax, [0x5e12a0]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], eax
call fcn.0040e320
mov edi, dword [esp + 0x10]
test byte [edi], al
mov eax, dword [0x7db370]
test eax, eax
jne 0x4a8c94
mov eax, dword [esp + 0x48]
mov dword [edi], eax
mov byte [esp + 0x100], 1
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
add esp, 0xf8
ret
mov eax, dword [esp + 0x48]
call fcn.0044b680
jmp 0x4a8c6f
call fcn.0040a4b0
mov eax, dword [0x7db370]
mov ecx, dword [esp]
test eax, eax
jne 0x4a8cc0
mov eax, dword [esp + 0xfc]
mov dword [eax + 0x10], ecx
jmp 0x4a8c34
mov edx, dword [esp + 0xfc]
lea edi, [edx + 0x10]
mov eax, ecx
call fcn.0044b680
mov eax, edx
jmp 0x4a8c34
mov eax, dword [esp + 0x40]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea eax, [0x5dfce0]
mov dword [esp], eax
lea eax, [esp + 0x70]
mov dword [esp + 4], eax
call fcn.004072a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xfc]
mov dword [esp], eax
lea eax, [0x623b2d]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1b
lea eax, [esp + 0x78]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.004a86d0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x100], 0
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], ecx
add esp, 0xf8
ret
mov edx, dword [esp + 0xfc]
mov ebx, dword [edx + 0x1c]
mov ebp, dword [edx + 0x18]
mov esi, dword [edx + 0x20]
test ebx, ebx
jle 0x4a8ada
mov ecx, dword [ebp + 4]
mov eax, ecx
mov ecx, dword [ebp]
dec ebx
mov dword [edx + 0x1c], ebx
lea ebx, [esi - 1]
mov dword [edx + 0x20], ebx
mov esi, dword [0x7db370]
neg ebx
sar ebx, 0x1f
and ebx, 8
add ebx, ebp
test esi, esi
jne 0x4a8dc9
mov dword [edx + 0x18], ebx
mov edx, ecx
mov ecx, 1
jmp 0x4a8ae2
mov edi, dword [esp + 0x5c]
mov ebp, eax
mov eax, ebx
call fcn.0044b680
mov eax, ebp
jmp 0x4a8dbd
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], edx
mov ecx, dword [eax + 0x10]
mov dword [esp], edx
call ecx
movzx eax, byte [esp + 4]
test al, al
je 0x4a8acd
movzx eax, byte [esp + 0x23]
test al, al
je 0x4a8f50
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x44]
mov dword [esp], ebx
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4a8c26
mov dword [esp + 0x54], eax
mov edx, dword [esp + 0x38]
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x8c], edx
je 0x4a8e69
mov ecx, dword [ecx + 4]
mov dword [esp + 0x58], ecx
lea edi, [esp + 0xe0]
xor eax, eax
call fcn.0044b77a
lea ecx, [0x5dfce0]
mov dword [esp], ecx
lea edx, [esp + 0x90]
mov dword [esp + 4], edx
call fcn.004072a0
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], edx
lea ecx, [0x5dfce0]
mov dword [esp], ecx
lea ecx, [esp + 0x88]
mov dword [esp + 4], ecx
call fcn.004072a0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov dword [esp + 0xe8], edx
mov dword [esp + 0xec], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xf0], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xf4], ecx
mov ecx, dword [esp + 0xfc]
mov dword [esp], ecx
lea ecx, [0x62701c]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x24
lea ecx, [esp + 0xe0]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 3
call fcn.004a86d0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov byte [esp + 0x100], 0
mov dword [esp + 0x104], edx
mov dword [esp + 0x108], ecx
add esp, 0xf8
ret
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x14]
lea ecx, [0x61c64b]
mov dword [esp + 4], ecx
mov dword [esp + 8], 4
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4a8c26
mov dword [esp + 0x50], eax
mov edx, dword [esp + 0x40]
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x84], edx
je 0x4a8fa1
mov ecx, dword [ecx + 4]
mov dword [esp + 0x58], ecx
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
lea eax, [0x5dfce0]
mov dword [esp], eax
lea eax, [esp + 0x80]
mov dword [esp + 4], eax
call fcn.004072a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xfc]
mov dword [esp], eax
lea eax, [0x623c05]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1b
lea eax, [esp + 0xb8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 2
call fcn.004a86d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x100], 0
mov dword [esp + 0x104], ecx
mov dword [esp + 0x108], eax
add esp, 0xf8
ret
mov edx, esi
xor esi, esi
xor edi, edi
xor ebx, ebx
jmp 0x4a892b
mov edi, dword [esp + 0x5c]
call fcn.0044b680
jmp 0x4a88eb
mov dword [esp + 0xa8], ebp
mov eax, dword [esp + 0x28]
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
lea eax, [0x5dfce0]
mov dword [esp], eax
lea eax, [esp + 0xa8]
mov dword [esp + 4], eax
call fcn.004072a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
mov eax, dword [esp + 0xfc]
mov dword [esp], eax
lea eax, [0x6205b5]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x13
lea eax, [esp + 0xb0]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.004a86d0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x100], 0
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], ecx
add esp, 0xf8
ret
lea edx, [ebx - 1]
mov dword [ecx + 0x1c], edx
lea edx, [edi - 1]
mov dword [ecx + 0x20], edx
mov ebx, dword [0x7db370]
neg edx
sar edx, 0x1f
and edx, 8
add eax, edx
test ebx, ebx
jne 0x4a9192
mov dword [ecx + 0x18], eax
mov byte [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
add esp, 0xf8
ret
mov edi, dword [esp + 0x5c]
call fcn.0044b680
jmp 0x4a916d
mov edx, 1
jmp 0x4a887a
mov byte [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
add esp, 0xf8
ret
mov byte [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
add esp, 0xf8
ret
call fcn.004258a0
ud2
call fcn.004259a0
ud2
call fcn.00449f20
jmp fcn.004a8800