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

Disassembly:
mov ecx, dword [0x6b21fc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x4af646
sub esp, 0x88
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x4aef94
mov edx, dword [eax + 0x18]
mov ebx, dword [edx + 4]
cmp ebx, 2
jl 0x4aef6f
mov ebp, dword [edx]
cmp byte [ebp], 0x2d
jne 0x4aef6f
mov esi, dword [eax + 0x20]
cmp byte [ebp + 1], 0x2d
jne 0x4aee65
cmp ebx, 2
je 0x4aee10
mov edi, 2
jmp 0x4aee6a
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 [0x6b2320]
add edx, ebx
test ecx, ecx
je 0x4aee3d
call fcn.00468870
mov dword [edi], edx
mov ecx, dword [eax + 0x18]
mov dword [edi + 4], ecx
mov dword [eax + 0x18], edx
mov byte [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
add esp, 0x88
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 + 0x3c], ebx
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x4aeedf
movzx edi, byte [ebp + edi]
xchg edi, eax
cmp al, 0x2d
xchg edi, eax
je 0x4aeedf
xchg edi, eax
cmp al, 0x3d
xchg edi, eax
je 0x4aeedf
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 [0x6b2320]
add edx, ebp
test ecx, ecx
je 0x4aeece
call fcn.00468870
mov dword [edi], edx
mov ecx, dword [eax + 0x18]
mov dword [edi + 4], ecx
mov dword [eax + 0x18], edx
mov ecx, dword [esp + 0x3c]
mov edx, 1
jmp 0x4aefba
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp], ebp
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.00409c10
mov eax, dword [esp + 8]
lea ecx, [0x52a880]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
lea eax, [0x54984c]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x13
lea eax, [esp + 0x58]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.004aecb0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x90], 0
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
add esp, 0x88
ret
mov byte [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
add esp, 0x88
ret
mov byte [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
add esp, 0x88
ret
inc edx
mov dword [esp + 0x2c], edx
cmp edx, ebx
jge 0x4aefe5
lea ebp, [edx + ecx]
cmp byte [ebp], 0x3d
jne 0x4aefb9
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 0x4aefeb
mov edx, ebx
xor edi, edi
xor esi, esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], edx
mov ebx, dword [eax + 0x14]
lea ebp, [0x52ba20]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.00410690
movzx eax, byte [esp + 0x14]
test al, al
jne 0x4af10a
mov eax, dword [esp + 0x34]
cmp eax, 4
jne 0x4af038
mov ecx, dword [esp + 0x3c]
cmp dword [ecx], 0x706c6568
je 0x4af046
jmp 0x4af03c
mov ecx, dword [esp + 0x3c]
cmp eax, 1
jne 0x4af07e
cmp byte [ecx], 0x68
jne 0x4af07e
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
call fcn.004aed70
mov eax, dword [0x687ce8]
mov ecx, dword [0x687cec]
mov byte [esp + 0x90], 0
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
add esp, 0x88
ret
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00409c10
mov eax, dword [esp + 8]
lea ecx, [0x52a880]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
lea eax, [0x54f671]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x22
lea eax, [esp + 0x58]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.004aecb0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x90], 0
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
add esp, 0x88
ret
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [esp + 0x44], eax
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
lea ebx, [0x530f20]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00409e20
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
jne 0x4af140
xor edx, edx
jmp 0x4af15f
mov dword [esp + 0x40], ecx
mov dword [esp + 0x30], eax
mov edx, dword [eax + 0x10]
mov dword [esp], ecx
call edx
movzx eax, byte [esp + 4]
mov ecx, dword [esp + 0x40]
mov edx, eax
mov eax, dword [esp + 0x30]
test dl, dl
je 0x4af36e
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
cmp edx, ebx
jge 0x4af27d
mov eax, dword [eax + 0x14]
mov dword [esp], ecx
mov ecx, dword [esp + 0x38]
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 0x4af422
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x54], ecx
lea edi, [esp + 0x70]
xor eax, eax
call fcn.00468aaa
mov ecx, dword [esp + 0x38]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.00409c10
mov ecx, dword [esp + 8]
lea edx, [0x52a880]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call fcn.00409c10
mov ecx, dword [esp + 8]
lea edx, [0x52a880]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x4af20d
mov ecx, dword [ecx + 4]
mov dword [esp + 0x80], ecx
mov eax, dword [esp + 0x50]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
lea eax, [0x54fead]
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.004aecb0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x90], 0
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
add esp, 0x88
ret
mov eax, dword [eax + 0x14]
mov dword [esp], ecx
lea ecx, [0x54654e]
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 0x4af422
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call fcn.00409c10
mov eax, dword [esp + 8]
lea ecx, [0x52a880]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4af304
mov eax, dword [eax + 4]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
lea eax, [0x54d105]
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.004aecb0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x90], 0
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
add esp, 0x88
ret
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
setl al
jge 0x4af38e
mov ecx, dword [esp + 0x8c]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x38]
jmp 0x4af3e8
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx + 0x1c]
test edx, edx
je 0x4af3e0
mov eax, dword [ecx + 0x18]
mov ebx, dword [ecx + 0x20]
dec ebx
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, 8
dec edx
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov dword [ecx + 0x1c], edx
mov dword [ecx + 0x20], ebp
mov edx, dword [0x6b2320]
add eax, ebx
test edx, edx
je 0x4af3d6
mov edx, edi
call fcn.00468870
mov dword [edi], eax
mov ebx, dword [ecx + 0x18]
mov dword [edi + 4], ebx
mov edi, edx
mov dword [ecx + 0x18], eax
mov eax, 1
jmp 0x4af3e8
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x38]
test al, al
je 0x4af5b2
mov dword [esp + 0x20], edi
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov ecx, dword [ecx + 0x10]
mov dword [esp], edx
mov dword [esp + 4], esi
mov dword [esp + 8], edi
call ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
jne 0x4af4d4
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x4af462
call fcn.0040ce30
mov eax, dword [0x6b2320]
mov ecx, dword [esp]
test eax, eax
jne 0x4af44b
mov eax, dword [esp + 0x8c]
jmp 0x4af45f
call fcn.00468870
mov dword [edi], ecx
mov eax, dword [esp + 0x8c]
mov edx, dword [eax + 0x10]
mov dword [edi + 4], edx
mov dword [eax + 0x10], ecx
mov eax, dword [eax + 0x10]
lea ecx, [0x52ba20]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], eax
call fcn.004109f0
mov eax, dword [esp + 0x10]
test byte [eax], al
mov ecx, dword [0x6b2320]
test ecx, ecx
jne 0x4af49d
mov ecx, dword [esp + 0x44]
jmp 0x4af4ad
call fcn.00468870
mov ecx, dword [esp + 0x44]
mov dword [edi], ecx
mov edx, dword [eax]
mov dword [edi + 4], edx
mov dword [eax], ecx
mov byte [esp + 0x90], 1
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
add esp, 0x88
ret
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x54], ecx
lea edi, [esp + 0x70]
xor eax, eax
call fcn.00468aaa
mov ecx, dword [esp + 0x38]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.00409c10
mov ecx, dword [esp + 8]
lea edx, [0x52a880]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call fcn.00409c10
mov ecx, dword [esp + 8]
lea edx, [0x52a880]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x4af542
mov ecx, dword [ecx + 4]
mov dword [esp + 0x80], ecx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
lea eax, [0x54f0e6]
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.004aecb0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x90], 0
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
add esp, 0x88
ret
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.00409c10
mov eax, dword [esp + 8]
lea ecx, [0x52a880]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
lea eax, [0x54d120]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1b
lea eax, [esp + 0x58]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.004aecb0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x90], 0
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
add esp, 0x88
ret
call fcn.00467460
jmp fcn.004aedb0