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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a508a
sub esp, 0x74
mov ecx, dword [esp + 0x80]
cmp ecx, 1
jb 0x4a507f
lea edx, [ecx - 1]
mov dword [esp + 0x38], edx
mov ebx, edx
neg edx
sar edx, 0x1f
and edx, 1
mov dword [esp + 0x50], edx
mov ebp, dword [esp + 0x7c]
lea esi, [ebp + edx]
mov dword [esp + 0x5c], esi
nop
mov eax, ebx
mov ebx, dword [esp + 0x78]
mov edi, dword [ebx + 0x10]
test edi, edi
je 0x4a5050
mov dword [esp + 0x64], edi
mov esi, dword [0x5ab4f0]
mov edx, dword [edi + 0x10]
test esi, esi
jne 0x4a501d
mov dword [ebx + 0x10], edx
mov edx, eax
xor eax, eax
call fcn.00453d31
mov eax, dword [esp + 0x64]
mov byte [eax], 4
movzx ecx, word [ebx]
mov word [eax + 2], cx
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 2
lea edi, [eax + 0x14]
mov ecx, dword [0x5ab4f0]
lea esi, [eax + 0x20]
test ecx, ecx
jne 0x4a5001
mov dword [eax + 0x14], esi
mov ecx, dword [esp + 0x80]
cmp ecx, 1
je 0x4a4ff1
mov esi, dword [esp + 0x50]
movzx esi, byte [ebp + esi]
xchg esi, eax
cmp al, 0x5e
xchg esi, eax
jne 0x4a4ff1
lea edx, [ecx - 2]
mov esi, edx
neg edx
sar edx, 0x1f
and edx, 1
mov ecx, dword [esp + 0x5c]
add ecx, edx
movzx edx, word [ebx]
test dx, 4
jne 0x4a49fc
mov edx, dword [eax + 0x14]
mov dword [eax + 0x18], 2
xor ebp, ebp
mov dword [edx + ebp*4], 0xa
mov dword [edx + ebp*4 + 4], 0xa
mov edx, 0xffffffff
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], edi
mov dword [esp + 0x3c], edx
mov ebp, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
mov ebx, dword [eax + 0x1c]
mov dword [esp + 0x54], eax
mov eax, 1
mov byte [esp + 0x37], al
mov eax, dword [esp + 0x54]
jmp 0x4a4a45
mov ecx, dword [esp + 0x78]
mov esi, ebx
mov ecx, edx
xor edx, edx
mov byte [esp + 0x37], dl
mov ebx, ebp
mov edx, edi
mov edi, dword [esp + 0x70]
mov ebp, eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x4c], ebx
test esi, esi
jne 0x4a4ef4
mov dword [esp + 0x40], esi
mov dword [esp + 0x60], ecx
je 0x4a4eeb
cmp byte [ecx], 0x2d
jne 0x4a4ee2
mov edi, dword [esp + 0x78]
movzx eax, word [edi]
test ax, 0x40
jne 0x4a4a82
movzx eax, byte [esp + 0x37]
test al, al
je 0x4a4e28
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x48], edx
cmp esi, 2
jle 0x4a4a9e
cmp byte [ecx], 0x5b
jne 0x4a4a9e
cmp byte [ecx + 1], 0x3a
je 0x4a4d94
mov dword [esp], edi
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
call fcn.004a41b0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x1c]
test esi, esi
jne 0x4a4d6c
test eax, eax
jne 0x4a4a29
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x40]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x14], esi
call fcn.004a3c30
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
test ebp, ebp
je 0x4a4b41
mov edi, ebx
mov ebx, eax
mov eax, ebp
mov ebp, edx
mov edx, ecx
jmp 0x4a4a29
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x40]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x80]
mov dword [esp + 0x10], ebp
call fcn.004a3b00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
test ebx, ebx
jne 0x4a4d44
cmp ebp, 2
jl 0x4a4ba0
cmp byte [ecx], 0x2d
jne 0x4a4ba0
cmp byte [ecx + 1], 0x5d
jne 0x4a4c2d
mov edx, eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x38], ebp
mov ebx, dword [esp + 0x78]
movzx esi, word [ebx]
test si, 1
jne 0x4a4bfb
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
call fcn.004a5280
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x38]
mov ebp, ecx
mov edi, eax
mov eax, edx
mov edx, dword [esp + 0x5c]
jmp 0x4a4a29
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
call fcn.004a53a0
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
jmp 0x4a4be8
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x78]
mov dword [esp], eax
inc ecx
mov dword [esp + 4], ecx
lea ecx, [ebp - 1]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x10], edx
call fcn.004a3b00
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
test eax, eax
jne 0x4a4d1c
mov eax, dword [esp + 0x44]
cmp ebp, eax
jl 0x4a4c8f
mov ecx, ebx
mov eax, ebp
mov ebp, edx
mov edx, dword [esp + 0x44]
jmp 0x4a4ba2
mov ecx, dword [esp + 0x40]
mov eax, ecx
sub ecx, edx
cmp ecx, eax
ja 0x4a5073
mov dword [esp + 0x40], ecx
lea eax, [0x4cf820]
mov dword [esp], eax
call fcn.0040a430
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1d
lea ecx, [0x4e68f0]
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x5ab4f0]
test ecx, ecx
jne 0x4a4d0a
mov ecx, dword [esp + 0x60]
mov dword [eax + 8], ecx
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea ecx, [0x5013b0]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x74
ret
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x60]
call fcn.00453b50
mov eax, ecx
jmp 0x4a4cdc
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x74
ret
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], edx
add esp, 0x74
ret
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], ecx
add esp, 0x74
ret
mov dword [esp], edi
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
call fcn.004a3d80
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
test esi, esi
jne 0x4a4e00
test ebp, ebp
je 0x4a4de3
mov edi, ebx
mov ebx, eax
mov eax, ebp
mov ebp, edx
mov edx, ecx
jmp 0x4a4a29
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x78]
jmp 0x4a4a9e
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], edi
add esp, 0x74
ret
cmp esi, 1
je 0x4a4e37
cmp byte [ecx + 1], 0x5d
je 0x4a4a82
lea eax, [esi - 1]
mov edx, eax
neg eax
sar eax, 0x1f
and eax, 1
add eax, ecx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0045b0b0
mov eax, dword [esp + 0xc]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x40]
cmp ecx, edx
ja 0x4a507a
mov dword [esp + 0x50], ecx
lea eax, [0x4cf820]
mov dword [esp], eax
call fcn.0040a430
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1d
lea ecx, [0x4e68f0]
mov dword [eax], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x5ab4f0]
test ecx, ecx
jne 0x4a4ed0
mov ecx, dword [esp + 0x60]
mov dword [eax + 8], ecx
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea ecx, [0x5013b0]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x74
ret
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x60]
call fcn.00453b50
mov eax, ecx
jmp 0x4a4ea2
mov edi, dword [esp + 0x78]
jmp 0x4a4a82
mov edi, dword [esp + 0x78]
jmp 0x4a4a82
cmp byte [ecx], 0x5d
je 0x4a4f00
test esi, esi
jmp 0x4a4a51
movzx ebx, byte [esp + 0x37]
test bl, bl
je 0x4a4f14
test esi, esi
mov ebx, dword [esp + 0x4c]
jmp 0x4a4a51
mov dword [eax + 0x18], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + 0x1c], edx
lea edx, [esi - 1]
mov dword [esp + 0x38], edx
neg edx
sar edx, 0x1f
and edx, 1
add ecx, edx
mov dword [esp + 0x5c], ecx
mov edx, dword [0x5ab4f0]
test edx, edx
jne 0x4a4fe5
mov dword [eax + 0x14], ebp
mov dword [esp], edi
call fcn.004a50a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x3c]
test ebx, ebx
jl 0x4a4fc4
mov ebx, dword [esp + 0x68]
mov dword [ebx + 0x18], ecx
mov dword [ebx + 0x1c], eax
mov ecx, dword [0x5ab4f0]
test ecx, ecx
jne 0x4a4fb7
mov dword [ebx + 0x14], edx
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.0049e5d0
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x74
ret
mov edi, dword [esp + 0x70]
mov eax, edx
call fcn.00453b50
jmp 0x4a4f77
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004a5cd0
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
jmp 0x4a4f60
mov eax, ebp
call fcn.00453b50
jmp 0x4a4f44
mov esi, edx
mov ecx, dword [esp + 0x5c]
mov edx, 1
jmp 0x4a4a01
mov ecx, eax
mov eax, esi
call fcn.00453b50
mov esi, dword [esp + 0x80]
cmp esi, 1
mov eax, ecx
mov ecx, esi
jmp 0x4a49aa
lea ecx, [ebx + 0x10]
mov eax, edi
mov edi, ecx
mov ebp, eax
mov eax, edx
call fcn.00453b50
lea ecx, [0x4d8b00]
mov dword [esp], ecx
mov dword [esp + 4], ebp
call fcn.0040eaa0
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x7c]
jmp 0x4a496d
lea eax, [0x4d8b00]
mov dword [esp], eax
call fcn.0040a430
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x7c]
jmp 0x4a4971
mov edx, eax
call fcn.00453bf0
call fcn.00453bf0
mov eax, 1
call fcn.00453c30
nop
call fcn.00452310
jmp fcn.004a48f0