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

Disassembly:
mov ecx, dword [0x5aee18]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x4a67fe
sub esp, 0x90
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x4a6123
mov edx, dword [eax + 0x18]
mov ebx, dword [edx + 4]
cmp ebx, 2
jl 0x4a60fe
mov ebp, dword [edx]
cmp byte [ebp], 0x2d
jne 0x4a60fe
mov esi, dword [eax + 0x20]
cmp byte [ebp + 1], 0x2d
jne 0x4a5fe5
cmp ebx, 2
je 0x4a5f90
mov edi, 2
jmp 0x4a5fea
lea ebx, [esi - 1]
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, 8
dec ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ebp
mov ecx, dword [0x5aef28]
add edx, ebx
test ecx, ecx
je 0x4a5fbd
call fcn.0046cf10
mov dword [edi], edx
mov ecx, dword [eax + 0x18]
mov dword [edi + 4], ecx
mov dword [eax + 0x18], edx
mov byte [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
add esp, 0x90
ret
mov edi, 1
mov dword [esp + 0x24], ebx
sub ebx, edi
mov dword [esp + 0x28], ebx
neg ebx
sar ebx, 0x1f
and edi, ebx
lea ebx, [edi + ebp]
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x4a605f
movzx edi, byte [ebp + edi]
xchg edi, eax
cmp al, 0x2d
xchg edi, eax
je 0x4a605f
xchg edi, eax
cmp al, 0x3d
xchg edi, eax
je 0x4a605f
lea ebp, [esi - 1]
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 8
dec ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], esi
mov ecx, dword [0x5aef28]
add edx, ebp
test ecx, ecx
je 0x4a604e
call fcn.0046cf10
mov dword [edi], edx
mov ecx, dword [eax + 0x18]
mov dword [edi + 4], ecx
mov dword [eax + 0x18], edx
mov ecx, dword [esp + 0x44]
mov edx, 1
jmp 0x4a6149
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp], ebp
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.00462e10
mov eax, dword [esp + 8]
lea ecx, [0x4c3120]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x94]
mov dword [esp], eax
lea eax, [0x4dc3a7]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x13
lea eax, [esp + 0x88]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.004a5e30
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x98], 0
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
add esp, 0x90
ret
mov byte [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
add esp, 0x90
ret
mov byte [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
add esp, 0x90
ret
inc edx
mov dword [esp + 0x2c], edx
cmp edx, ebx
jge 0x4a6174
lea ebp, [edx + ecx]
cmp byte [ebp], 0x3d
jne 0x4a6148
sub ebx, edx
lea esi, [ebx - 1]
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
lea ebx, [edx + 1]
and ebx, esi
lea esi, [ecx + ebx]
jmp 0x4a617a
mov edx, ebx
xor edi, edi
xor esi, esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], edx
mov ebx, dword [eax + 0x14]
lea ebp, [0x4c4240]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.00465440
movzx eax, byte [esp + 0x14]
test al, al
je 0x4a6706
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [esp + 0x4c], eax
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp + 0x48], edx
test ecx, ecx
je 0x4a61e9
mov eax, dword [ecx + 4]
lea ecx, [0x589b18]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00409c10
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
test ecx, ecx
jne 0x4a61f1
xor ebx, ebx
jmp 0x4a6210
mov dword [esp + 0x5c], ecx
mov eax, dword [ecx + 0xc]
mov dword [esp], edx
call eax
movzx eax, byte [esp + 4]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x48]
mov ebx, eax
mov eax, dword [esp + 0x4c]
test bl, bl
je 0x4a641b
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
cmp ebx, ebp
jge 0x4a632e
mov eax, dword [ecx + 0x10]
mov dword [esp], edx
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 8], edx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x4a64d3
mov dword [esp + 0x58], ecx
mov dword [esp + 0x38], eax
lea edi, [esp + 0x70]
xor eax, eax
call fcn.0046d0da
mov ecx, dword [esp + 0x40]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.00462e10
mov ecx, dword [esp + 8]
lea edx, [0x4c3120]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
call fcn.00462e10
mov ecx, dword [esp + 8]
lea edx, [0x4c3120]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x4a62bc
mov eax, dword [ecx + 4]
jmp 0x4a62be
mov eax, ecx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x94]
mov dword [esp], eax
lea eax, [0x4e1698]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x24
lea eax, [esp + 0x70]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 3
call fcn.004a5e30
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x98], 0
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
add esp, 0x90
ret
mov eax, dword [ecx + 0x10]
mov dword [esp], edx
lea ecx, [0x4d939b]
mov dword [esp + 4], ecx
mov dword [esp + 8], 4
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x4a64d3
mov dword [esp + 0x34], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.00462e10
mov eax, dword [esp + 8]
lea ecx, [0x4c3120]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4a63b1
mov eax, dword [eax + 4]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x94]
mov dword [esp], eax
lea eax, [0x4defd5]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1b
lea eax, [esp + 0x60]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 2
call fcn.004a5e30
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x98], 0
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
add esp, 0x90
ret
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
cmp ecx, edx
setl cl
jge 0x4a643b
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x40]
jmp 0x4a6499
mov edx, dword [esp + 0x94]
mov ebx, dword [edx + 0x1c]
test ebx, ebx
je 0x4a6491
mov ecx, dword [edx + 0x18]
mov ebp, dword [edx + 0x20]
dec ebp
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 8
dec ebx
mov edi, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [edx + 0x1c], ebx
mov dword [edx + 0x20], esi
mov ebx, dword [0x5aef28]
add ecx, ebp
test ebx, ebx
je 0x4a6487
mov ebx, edi
call fcn.0046cf10
mov dword [edi], ecx
mov ebp, dword [edx + 0x18]
mov dword [edi + 4], ebp
mov edi, ebx
mov dword [edx + 0x18], ecx
mov ecx, 1
jmp 0x4a6499
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x40]
test cl, cl
je 0x4a6663
mov dword [esp + 0x40], edi
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 0x10]
mov ebx, dword [ecx + 0x14]
mov edx, dword [edx + 0xc]
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [esp + 8], eax
call edx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
jne 0x4a6585
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x4a6513
call fcn.00463a60
mov eax, dword [0x5aef28]
mov ecx, dword [esp]
test eax, eax
jne 0x4a64fc
mov eax, dword [esp + 0x94]
jmp 0x4a6510
call fcn.0046cf10
mov dword [edi], ecx
mov eax, dword [esp + 0x94]
mov edx, dword [eax + 0x10]
mov dword [edi + 4], edx
mov dword [eax + 0x10], ecx
mov eax, dword [eax + 0x10]
lea ecx, [0x4c4240]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
call fcn.004657a0
mov eax, dword [esp + 0x10]
test byte [eax], al
mov ecx, dword [0x5aef28]
test ecx, ecx
jne 0x4a654e
mov ecx, dword [esp + 0x4c]
jmp 0x4a655e
call fcn.0046cf10
mov ecx, dword [esp + 0x4c]
mov dword [edi], ecx
mov edx, dword [eax]
mov dword [edi + 4], edx
mov dword [eax], ecx
mov byte [esp + 0x98], 1
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
add esp, 0x90
ret
mov dword [esp + 0x50], ecx
mov dword [esp + 0x30], eax
lea edi, [esp + 0x70]
xor eax, eax
call fcn.0046d0da
mov ecx, dword [esp + 0x40]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.00462e10
mov ecx, dword [esp + 8]
lea edx, [0x4c3120]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
call fcn.00462e10
mov ecx, dword [esp + 8]
lea edx, [0x4c3120]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x4a65f1
mov eax, dword [ecx + 4]
jmp 0x4a65f3
mov eax, ecx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x94]
mov dword [esp], eax
lea eax, [0x4e0bc3]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x21
lea eax, [esp + 0x70]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 3
call fcn.004a5e30
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x98], 0
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
add esp, 0x90
ret
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.00462e10
mov eax, dword [esp + 8]
lea ecx, [0x4c3120]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x94]
mov dword [esp], eax
lea eax, [0x4deff0]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1b
lea eax, [esp + 0x88]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.004a5e30
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x98], 0
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
add esp, 0x90
ret
mov eax, dword [esp + 0x3c]
cmp eax, 4
jne 0x4a671d
mov ecx, dword [esp + 0x44]
cmp dword [ecx], 0x706c6568
je 0x4a672b
jmp 0x4a6721
mov ecx, dword [esp + 0x44]
cmp eax, 1
jne 0x4a6763
cmp byte [ecx], 0x68
jne 0x4a6763
mov eax, dword [esp + 0x94]
mov dword [esp], eax
call fcn.004a5ef0
mov eax, dword [0x5898e0]
mov ecx, dword [0x5898e4]
mov byte [esp + 0x98], 0
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
add esp, 0x90
ret
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00462e10
mov eax, dword [esp + 8]
lea ecx, [0x4c3120]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x94]
mov dword [esp], eax
lea eax, [0x4e10aa]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x22
lea eax, [esp + 0x88]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.004a5e30
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x98], 0
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
add esp, 0x90
ret
call fcn.0046bb00
jmp fcn.004a5f30