Function at 0x4a9b40
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 0x4aa53f
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 0x4aa50c
mov esi, dword [ebp + 4]
mov eax, ebp
mov ebp, dword [ebp]
cmp esi, 2
jl 0x4aa4e7
mov edi, edx
movzx edx, byte [ebp]
cmp dl, 0x2d
jne 0x4aa4e7
lea edx, [ecx + 0x18]
mov dword [esp + 0x5c], edx
movzx edx, byte [ebp + 1]
cmp dl, 0x2d
jne 0x4aa4dd
cmp esi, 2
je 0x4aa48a
mov edx, 2
cmp edx, esi
ja 0x4aa538
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 0x4aa3d2
mov dword [esp + 0x34], edx
movzx edx, byte [edx + ebp]
cmp dl, 0x2d
je 0x4aa3d2
cmp dl, 0x3d
je 0x4aa3d2
lea edx, [ebx - 1]
mov dword [ecx + 0x1c], edx
lea edx, [edi - 1]
mov dword [ecx + 0x20], edx
mov ebx, dword [0x7d95f0]
neg edx
sar edx, 0x1f
and edx, 8
add eax, edx
test ebx, ebx
jne 0x4aa3c4
mov dword [ecx + 0x18], eax
mov dword [esp + 0x3c], ebp
mov eax, dword [esp + 0x40]
mov edx, 1
jmp 0x4a9c3b
inc edx
cmp edx, esi
jge 0x4aa3b7
jae 0x4aa531
movzx ebx, byte [edx + eax]
cmp bl, 0x3d
jne 0x4a9c3a
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, [0x5e2ae0]
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call fcn.0040df80
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
mov eax, dword [eax]
test cl, cl
jne 0x4a9dd8
mov eax, dword [esp + 0x2c]
cmp eax, 4
jne 0x4a9dcb
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov ebx, dword [edx + ecx]
cmp ebx, 0x706c6568
jne 0x4a9d05
mov eax, dword [esp + 0xfc]
mov dword [esp], eax
call fcn.004a9b00
mov eax, dword [0x7c7870]
mov ecx, dword [0x7c7874]
mov byte [esp + 0x100], 0
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], ecx
add esp, 0xf8
ret
cmp eax, 1
jne 0x4a9d13
movzx ecx, byte [ecx + edx]
cmp cl, 0x68
je 0x4a9ccd
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, [0x5e1600]
mov dword [esp], eax
lea eax, [esp + 0x98]
mov dword [esp + 4], eax
call fcn.00407280
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, [0x626e3a]
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.004a9a10
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 0x4a9d05
mov dword [esp + 0x48], eax
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
lea ebx, [0x5f1120]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004077d0
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x14]
mov edx, dword [esp + 0x10]
test cl, cl
jne 0x4aa11a
movzx ecx, byte [esp + 0x23]
test cl, cl
je 0x4aa0bc
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
test cl, cl
je 0x4aa018
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 0x4a9f66
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 0x4a9e85
mov ecx, dword [ecx + 4]
mov dword [esp + 0x58], ecx
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.0044b79a
lea ecx, [0x5e1600]
mov dword [esp], ecx
lea edx, [esp + 0x68]
mov dword [esp + 4], edx
call fcn.00407280
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], ecx
lea ecx, [0x5e1600]
mov dword [esp], ecx
lea ecx, [esp + 0x60]
mov dword [esp + 4], ecx
call fcn.00407280
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, [0x6268a4]
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.004a9a10
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 0x4a9fdf
mov eax, dword [eax + 0x10]
mov dword [esp + 4], eax
lea eax, [0x5e2ae0]
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.0040e300
mov edi, dword [esp + 0x10]
test byte [edi], al
mov eax, dword [0x7d95f0]
test eax, eax
jne 0x4a9fd4
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.0044b6a0
jmp 0x4a9faf
call fcn.0040a490
mov eax, dword [0x7d95f0]
mov ecx, dword [esp]
test eax, eax
jne 0x4aa000
mov eax, dword [esp + 0xfc]
mov dword [eax + 0x10], ecx
jmp 0x4a9f74
mov edx, dword [esp + 0xfc]
lea edi, [edx + 0x10]
mov eax, ecx
call fcn.0044b6a0
mov eax, edx
jmp 0x4a9f74
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, [0x5e1600]
mov dword [esp], eax
lea eax, [esp + 0x70]
mov dword [esp + 4], eax
call fcn.00407280
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, [0x62457a]
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.004a9a10
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 0x4a9e1a
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 [0x7d95f0]
neg ebx
sar ebx, 0x1f
and ebx, 8
add ebx, ebp
test esi, esi
jne 0x4aa109
mov dword [edx + 0x18], ebx
mov edx, ecx
mov ecx, 1
jmp 0x4a9e22
mov edi, dword [esp + 0x5c]
mov ebp, eax
mov eax, ebx
call fcn.0044b6a0
mov eax, ebp
jmp 0x4aa0fd
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 0x4a9e0d
movzx eax, byte [esp + 0x23]
test al, al
je 0x4aa290
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 0x4a9f66
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 0x4aa1a9
mov ecx, dword [ecx + 4]
mov dword [esp + 0x58], ecx
lea edi, [esp + 0xe0]
xor eax, eax
call fcn.0044b79a
lea ecx, [0x5e1600]
mov dword [esp], ecx
lea edx, [esp + 0x90]
mov dword [esp + 4], edx
call fcn.00407280
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], edx
lea ecx, [0x5e1600]
mov dword [esp], ecx
lea ecx, [esp + 0x88]
mov dword [esp + 4], ecx
call fcn.00407280
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, [0x62779d]
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.004a9a10
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, [0x61d46d]
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 0x4a9f66
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 0x4aa2e1
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, [0x5e1600]
mov dword [esp], eax
lea eax, [esp + 0x80]
mov dword [esp + 4], eax
call fcn.00407280
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, [0x624652]
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.004a9a10
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 0x4a9c6b
mov edi, dword [esp + 0x5c]
call fcn.0044b6a0
jmp 0x4a9c2b
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, [0x5e1600]
mov dword [esp], eax
lea eax, [esp + 0xa8]
mov dword [esp + 4], eax
call fcn.00407280
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, [0x6213d6]
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.004a9a10
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 [0x7d95f0]
neg edx
sar edx, 0x1f
and edx, 8
add eax, edx
test ebx, ebx
jne 0x4aa4d2
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.0044b6a0
jmp 0x4aa4ad
mov edx, 1
jmp 0x4a9bba
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.00425880
ud2
call fcn.00425980
ud2
call fcn.00449f40
jmp fcn.004a9b40