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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x4a24aa
sub esp, 0x94
mov eax, dword [esp + 0x98]
movzx ecx, byte [eax + 5]
test cl, cl
je 0x4a2458
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x44], ecx
lea edx, [eax + 0x18]
test byte [edx], al
mov dword [esp], edx
mov dword [esp + 4], 1
mov dword [esp + 8], 0x44
movsd xmm0, qword [esp + 0x9c]
movsd qword [esp + 0xc], xmm0
mov edx, dword [esp + 0xa8]
mov byte [esp + 0x14], dl
mov dword [esp + 0x18], ecx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0x1c], ebx
call fcn.004634e0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
cmp eax, 1
jbe 0x4a24a3
movzx ebx, byte [ecx + 1]
lea ebp, [ecx + 1]
cmp bl, 0x2d
jne 0x4a2443
dec eax
lea ecx, [edx - 1]
mov edx, dword [esp + 0x98]
movzx ebx, byte [edx + 9]
test bl, bl
je 0x4a1e45
test eax, eax
jbe 0x4a249c
movzx ebx, byte [ebp]
cmp bl, 0x2b
jne 0x4a1e45
movzx ebx, byte [edx + 7]
test bl, bl
je 0x4a243a
cmp eax, 1
jbe 0x4a2495
movzx ebx, byte [ebp + 1]
lea esi, [ebp + 1]
cmp bl, 0x49
je 0x4a23df
cmp bl, 0x4e
je 0x4a23df
movzx ebx, byte [edx + 8]
test bl, bl
je 0x4a23d2
mov ebx, dword [esp + 0xa8]
cmp ebx, 0x62
je 0x4a23c5
cmp ebx, 0x47
jne 0x4a23ac
mov ebx, dword [esp + 0x44]
cmp ebx, 0xffffffff
jne 0x4a1e9a
mov ebx, 6
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x57], 0
mov byte [esp + 0x5b], 0
mov esi, 1
xor edi, edi
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x57]
mov dword [esp + 0x74], eax
mov dword [esp + 0x64], ecx
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x5c], edx
mov edx, 5
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x5c]
jmp 0x4a1ef5
inc esi
mov dword [esp + 0x34], edi
mov edi, edx
mov edx, dword [esp + 0x98]
mov dword [esp + 0x44], ebx
cmp esi, eax
jge 0x4a200a
jae 0x4a248e
movzx edx, byte [ebp + esi]
cmp dl, 0x2e
jne 0x4a1f1c
mov edx, 1
mov edi, dword [esp + 0x34]
jmp 0x4a1ee7
cmp dl, 0x45
je 0x4a1f2f
cmp dl, 0x65
je 0x4a1f2f
dec ebx
mov edx, edi
mov edi, dword [esp + 0x34]
jmp 0x4a1ee7
mov dword [esp + 0x40], esi
xchg edi, eax
mov byte [esp + 0x2e], al
xchg edi, eax
sub eax, esi
mov edx, dword [esp + 0x30]
lea ebx, [eax + edx]
mov dword [esp + 0x50], ebx
sub ecx, esi
neg ecx
sar ecx, 0x1f
and ecx, esi
add ecx, ebp
mov ebp, dword [esp + 0x34]
cmp ebx, ebp
ja 0x4a1fb0
cmp ebx, ebp
ja 0x4a2487
mov dword [esp + 0x34], ebp
mov ebx, dword [esp + 0x74]
add edx, ebx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0044cf90
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
ja 0x4a2480
mov ebp, dword [esp + 0x7c]
mov esi, eax
movzx edx, byte [esp + 0x2e]
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x30], edx
movzx edx, byte [esp + 0x2e]
jmp 0x4a1ee7
mov dword [esp + 0x4c], eax
mov dword [esp + 0x90], ecx
lea eax, [0x6cb000]
mov dword [esp], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.004391a0
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x40]
movzx edi, byte [esp + 0x2e]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x4c]
jmp 0x4a1f59
xchg edi, eax
test al, al
xchg edi, eax
jne 0x4a201d
jmp 0x4a2357
mov byte [ebp + eax], 0x30
dec ebx
mov eax, esi
mov dword [esp + 0x38], eax
test ebx, ebx
jle 0x4a206e
lea esi, [eax + 1]
cmp esi, ecx
jle 0x4a2015
mov dword [esp + 0x44], ebx
lea edx, [0x6cb000]
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], esi
call fcn.004391a0
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea esi, [eax + 1]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x44]
jmp 0x4a2015
mov ebx, dword [esp + 0x30]
lea esi, [ebx + eax]
mov dword [esp + 0x50], esi
cmp esi, ecx
ja 0x4a2319
cmp esi, ecx
ja 0x4a2479
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x3c], ecx
add eax, ebp
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.0044cf90
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x98]
movzx ebp, byte [ebx + 7]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4a22d8
movzx ebp, byte [ebx + 0xa]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4a22bd
movzx ebp, byte [ebx + 4]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4a22bd
mov ebp, dword [ebx + 0x10]
cmp ebp, ecx
jle 0x4a22bd
mov ebp, dword [ebx]
test ecx, ecx
jbe 0x4a246b
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x7c], edx
movzx esi, byte [edx]
mov edi, dword [ebp + 4]
mov edx, dword [ebp]
mov eax, dword [ebp + 8]
lea ecx, [edi + 1]
cmp ecx, eax
jg 0x4a222e
lea eax, [edi + 1]
mov dword [ebp + 4], eax
xchg esi, eax
mov byte [edx + edi], al
xchg esi, eax
mov eax, dword [ebx + 0x10]
mov ecx, dword [esp + 0x38]
sub eax, ecx
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004a0300
mov eax, dword [esp + 0x98]
mov eax, dword [eax]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x3c]
dec ecx
neg ecx
sar ecx, 0x1f
and ecx, 1
mov edx, dword [esp + 0x7c]
add ecx, edx
mov edx, dword [eax + 4]
mov ebx, dword [esp + 0x38]
lea ebp, [ebx + edx - 1]
mov dword [esp + 0x50], ebp
mov esi, dword [eax + 8]
mov edi, dword [eax]
cmp ebp, esi
ja 0x4a21e4
cmp ebp, esi
ja 0x4a2464
mov dword [esp + 0x4c], esi
mov dword [esp + 0x8c], edi
lea eax, [edi + edx]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [ebx - 1]
mov dword [esp + 8], eax
call fcn.0044cf90
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x80]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [ecx + 8], eax
mov eax, dword [0x9cadb0]
test eax, eax
jne 0x4a21cf
mov eax, dword [esp + 0x8c]
mov dword [ecx], eax
add esp, 0x94
ret
mov dword [esp], ecx
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
call fcn.0040ecd0
jmp 0x4a21c8
mov dword [esp + 0x4c], edx
mov dword [esp + 0x78], ecx
lea eax, [0x6cb000]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call fcn.004391a0
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x50]
jmp 0x4a2177
mov dword [esp + 0x84], ebp
xchg esi, eax
mov byte [esp + 0x2f], al
xchg esi, eax
lea ebx, [0x6cb000]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.004391a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x84]
mov dword [ebx + 8], edx
mov edx, dword [0x9cadb0]
test edx, edx
jne 0x4a2292
mov dword [ebx], eax
mov ebp, ebx
movzx esi, byte [esp + 0x2f]
mov edi, ecx
mov edx, eax
mov ebx, dword [esp + 0x98]
jmp 0x4a211c
mov dword [esp + 0x88], eax
mov dword [esp + 0x48], ecx
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0040ecd0
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x84]
jmp 0x4a227b
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.004a0450
add esp, 0x94
ret
test ecx, ecx
jbe 0x4a2472
movzx ebp, byte [edx]
xchg ebp, eax
cmp al, 0x2b
xchg ebp, eax
jne 0x4a20c8
mov dword [esp], ebx
dec eax
mov ebx, eax
neg eax
sar eax, 0x1f
and eax, 1
add eax, edx
mov dword [esp + 4], eax
lea eax, [ecx - 1]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.004a0450
add esp, 0x94
ret
lea edx, [0x6cb000]
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], esi
call fcn.004391a0
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x50]
jmp 0x4a2081
lea esi, [eax + 1]
cmp esi, ecx
jg 0x4a236a
mov byte [ebp + eax], 0x2e
mov eax, esi
jmp 0x4a201d
mov dword [esp + 0x38], eax
lea edx, [0x6cb000]
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], esi
call fcn.004391a0
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea esi, [eax + 1]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x44]
jmp 0x4a235e
cmp ebx, 0x67
je 0x4a1e8c
cmp ebx, 0x76
je 0x4a1e8c
xor ebx, ebx
jmp 0x4a1e9a
mov edx, ebp
mov ebx, eax
mov eax, ecx
mov ecx, ebx
jmp 0x4a20b3
mov edx, ebp
mov ebx, eax
mov eax, ecx
mov ecx, ebx
jmp 0x4a20b3
movzx ebx, byte [edx + 0xa]
mov byte [esp + 0x2d], bl
mov byte [edx + 0xa], 0
movzx edi, byte [ebp + 1]
xchg edi, eax
cmp al, 0x4e
xchg edi, eax
jne 0x4a2400
movzx edi, byte [edx + 9]
xchg edi, eax
test al, al
xchg edi, eax
je 0x4a242a
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.004a0450
movzx eax, byte [esp + 0x2d]
mov ecx, dword [esp + 0x98]
mov byte [ecx + 0xa], al
add esp, 0x94
ret
movzx edi, byte [edx + 7]
xchg edi, eax
test al, al
xchg edi, eax
jne 0x4a2400
dec eax
dec ecx
mov ebp, esi
jmp 0x4a2400
mov byte [ebp], 0x20
jmp 0x4a1e45
cmp bl, 0x2b
je 0x4a1e15
mov byte [ecx], 0x2b
mov ebp, ecx
mov ecx, edx
jmp 0x4a1e19
mov ecx, dword [esp + 0xac]
jmp 0x4a1da6
call fcn.004260c0
ud2
call fcn.00426060
ud2
call fcn.00426060
ud2
call fcn.004260c0
ud2
call fcn.004260c0
ud2
call fcn.004260c0
ud2
call fcn.00426060
ud2
call fcn.00426060
ud2
call fcn.00426060
ud2
call fcn.00426060
ud2
call fcn.0044ae20
jmp fcn.004a1d70