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

Disassembly:
sub esp, 0x240
mov eax, dword [0x7496c8]
xor eax, esp
mov dword [esp + 0x23c], eax
mov edx, dword [esp + 0x24c]
mov eax, dword [esp + 0x244]
push ebp
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x24c]
push esi
xor esi, esi
mov dword [esp + 0x68], edx
lea ebp, [ecx + eax]
lea edx, [esp + 0x84]
mov dword [esp + 0x64], ebp
mov dword [esp + 0x10], 8
mov dword [esp + 0x3c], esi
mov dword [esp + 8], edx
cmp ecx, esi
je 0x4aa246
lea ecx, [esp + 0x144]
mov dword [esp + 0x44], ecx
mov ecx, 0x100
mov dword [esp + 0x48], ecx
mov dword [esp + 0x58], ecx
mov ecx, ebp
sub ecx, eax
push ecx
lea edx, [esp + 0x148]
push 0x3c
push eax
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], edx
mov dword [esp + 0x58], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], esi
call fcn.00615a10
add esp, 0xc
cmp eax, esi
je 0x4aa246
push ebx
push edi
mov dword [esp + 0x68], eax
inc eax
mov esi, eax
mov dword [esp + 0x64], eax
cmp esi, ebp
jae 0x4aa21c
mov al, byte [esi]
cmp al, 0x21
jne 0x4a9d6c
test byte [esp + 0x260], 1
jne 0x4a9d52
lea edx, [ebp + 3]
cmp esi, edx
jae 0x4a9d52
cmp byte [esi + 1], 0x2d
jne 0x4a9d52
cmp byte [esi + 2], 0x2d
jne 0x4a9d52
mov ecx, dword [esp + 0x14]
push ebp
lea eax, [esi + 3]
push eax
call fcn.004a6bc0
test eax, eax
je 0x4a9d5f
jmp 0x4a9d5d
mov ecx, dword [esp + 0x14]
push ebp
push esi
call fcn.004a6c30
mov esi, eax
cmp esi, ebp
je 0x4aa21c
jmp 0x4aa1f6
cmp al, 0x2f
jne 0x4a9d81
inc esi
mov dword [esp + 0x24], 1
cmp esi, ebp
jae 0x4aa21c
mov al, byte [esi]
cmp al, 0x20
mov ebx, esi
jle 0x4aa1f6
lea ecx, [ecx]
cmp al, 0x7f
jge 0x4a9daf
cmp al, 0x3d
je 0x4a9daf
cmp al, 0x3e
je 0x4a9daf
cmp al, 0x2f
je 0x4a9daf
inc esi
cmp esi, ebp
jae 0x4aa21c
mov al, byte [esi]
cmp al, 0x20
jg 0x4a9d90
cmp esi, ebx
je 0x4aa1f6
mov edi, esi
lea esp, [esp]
movsx eax, byte [esi]
cmp eax, 0x7f
ja 0x4a9de2
movzx ecx, al
push ecx
call fcn.00615321
add esp, 4
test eax, eax
je 0x4a9de2
inc esi
cmp esi, ebp
jb 0x4a9dc0
jmp 0x4aa21c
cmp dword [esp + 0x24], 0
je 0x4a9df2
cmp byte [esi], 0x3e
jne 0x4aa1f2
mov ecx, dword [esp + 0x14]
push edi
push ebx
call fcn.004a96a0
test eax, eax
jne 0x4a9e0b
mov dword [esp + 0x3c], 1
jmp 0x4a9e25
mov ecx, dword [esp + 0x14]
push 1
push edi
push ebx
lea edx, [esp + 0x58]
push edx
mov dword [esp + 0x4c], 0
call fcn.004a6e10
mov dword [esp + 0x48], 0
mov dword [esp + 0x28], 1
jmp 0x4a9e40
mov dword [esp + 0x20], 1
movsx eax, byte [esi]
cmp eax, 0x7f
ja 0x4a9e6a
movzx eax, al
push eax
call fcn.00615321
add esp, 4
test eax, eax
je 0x4a9e6a
inc esi
cmp esi, ebp
jb 0x4a9e48
jmp 0x4aa21c
mov al, byte [esi]
cmp al, 0x2f
je 0x4aa13b
cmp al, 0x3e
je 0x4aa16f
cmp al, 0x20
mov ecx, esi
mov dword [esp + 0x40], ecx
jle 0x4a9ea5
cmp al, 0x7f
jge 0x4a9ea5
cmp al, 0x3d
je 0x4a9ea5
cmp al, 0x3e
je 0x4a9ea5
cmp al, 0x2f
je 0x4a9ea5
inc esi
cmp esi, ebp
jae 0x4aa21c
mov al, byte [esi]
cmp al, 0x20
jg 0x4a9e86
mov dword [esp + 0x30], esi
cmp ecx, esi
je 0x4aa1f2
movsx eax, byte [esi]
cmp eax, 0x7f
ja 0x4a9ed3
movzx ecx, al
push ecx
call fcn.00615321
add esp, 4
test eax, eax
je 0x4a9ed3
inc esi
cmp esi, ebp
jb 0x4a9eb1
jmp 0x4aa21c
mov al, byte [esi]
cmp al, 0x20
jle 0x4a9ee9
cmp al, 0x7f
jge 0x4a9ee9
cmp al, 0x3d
je 0x4a9ee9
cmp al, 0x3e
jne 0x4a9ffa
cmp al, 0x2f
je 0x4a9ffa
cmp al, 0x3e
je 0x4a9ffa
cmp al, 0x3d
jne 0x4aa1f2
inc esi
cmp esi, ebp
jae 0x4aa21c
lea ebx, [ebx]
movsx eax, byte [esi]
cmp eax, 0x7f
ja 0x4a9f32
movzx edx, al
push edx
call fcn.00615321
add esp, 4
test eax, eax
je 0x4a9f32
inc esi
cmp esi, ebp
jb 0x4a9f10
jmp 0x4aa21c
mov al, byte [esi]
cmp al, 0x22
je 0x4a9f84
cmp al, 0x27
je 0x4a9f84
mov ebx, esi
mov dword [esp + 0x2c], ebx
movsx eax, byte [esi]
cmp eax, 0x7f
ja 0x4a9f5a
movzx eax, al
push eax
call fcn.00615321
add esp, 4
test eax, eax
jne 0x4a9f69
cmp byte [esi], 0x3e
je 0x4a9f69
inc esi
cmp esi, ebp
jb 0x4a9f42
jmp 0x4aa21c
mov dword [esp + 0x38], esi
cmp ebx, esi
je 0x4aa1f2
mov edi, esi
mov dword [esp + 0x20], 2
jmp 0x4aa00a
mov ebx, esi
inc esi
xor edi, edi
mov cl, al
mov dword [esp + 0x34], ebx
cmp esi, ebp
jae 0x4aa21c
mov al, byte [esi]
mov edx, esi
mov dword [esp + 0x2c], edx
cmp al, cl
je 0x4a9fc7
test edi, edi
jne 0x4a9fb4
cmp al, 0xa
jne 0x4a9fb8
mov esi, edx
mov edi, 1
jmp 0x4a9fc1
cmp al, 0x3e
je 0x4a9fc7
inc esi
cmp esi, ebp
jae 0x4aa21c
mov al, byte [esi]
cmp al, cl
jne 0x4a9fa3
mov dword [esp + 0x38], esi
cmp byte [esi], cl
jne 0x4aa1f6
inc esi
cmp esi, ebp
jae 0x4aa21c
test byte [esp + 0x260], 2
mov edi, esi
mov dword [esp + 0x20], 2
je 0x4aa00e
mov dword [esp + 0x20], 6
jmp 0x4aa00e
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
cmp dword [esp + 0x3c], 0
jne 0x4a9e40
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x18]
push edx
call fcn.004a8010
test eax, eax
je 0x4a9e40
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
cmp ecx, eax
mov ebp, ecx
jge 0x4aa0bd
add ebp, ebp
cmp ebp, eax
jl 0x4aa042
cmp ebp, ecx
je 0x4aa0bd
xor ecx, ecx
mov eax, ebp
mov edx, 0x18
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005e76b2
mov ecx, dword [esp + 0x14]
mov ebx, eax
mov eax, dword [esp + 0x1c]
lea eax, [eax + eax*2]
add eax, eax
add eax, eax
add eax, eax
push eax
push ecx
push ebx
call fcn.00614de0
add esp, 0x10
cmp dword [esp + 0x44], 0
je 0x4aa0a9
cmp dword [esp + 0x18], 1
jle 0x4aa09c
mov edx, dword [esp + 0x10]
push edx
call fcn.005e76a7
jmp 0x4aa0a6
mov eax, dword [esp + 0x10]
push eax
call fcn.005e76a7
add esp, 4
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x44], 1
mov dword [esp + 0x18], ebp
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x48]
mov eax, dword [esp + 0x30]
push 1
mov dword [edx + ebp + 0x10], ecx
mov ecx, dword [esp + 0x44]
push eax
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x58]
push edx
call fcn.004a6e10
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov dword [ecx + ebp + 0x14], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x58]
push edx
call fcn.004a6e10
mov eax, dword [esp + 0x10]
sub edi, ebx
mov dword [eax + ebp + 8], ebx
mov dword [eax + ebp + 0xc], edi
mov eax, 1
add dword [esp + 0x1c], eax
add dword [esp + 0x28], eax
add ebp, 0x18
mov dword [esp + 0x48], ebp
mov ebp, dword [esp + 0x6c]
jmp 0x4a9e40
inc esi
cmp esi, ebp
jae 0x4aa21c
movsx eax, byte [esi]
cmp eax, 0x7f
ja 0x4aa166
movzx eax, al
push eax
call fcn.00615321
add esp, 4
test eax, eax
je 0x4aa166
inc esi
cmp esi, ebp
jb 0x4aa144
jmp 0x4aa21c
cmp byte [esi], 0x3e
jne 0x4aa1f2
cmp dword [esp + 0x3c], 0
je 0x4aa181
inc esi
cmp esi, ebp
jae 0x4aa21c
jmp 0x4aa1f6
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x74], edx
mov dword [esp + 0x7c], ecx
test ecx, ecx
jle 0x4aa1bb
mov eax, dword [esp + 0x10]
add eax, 0x14
mov edi, dword [eax - 4]
add edi, edx
mov dword [eax - 0x14], edi
mov edi, dword [eax]
add edi, edx
mov dword [eax - 0x10], edi
add eax, 0x18
sub ecx, 1
jne 0x4aa1a4
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x68]
mov dword [esp + 0x80], edx
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x78]
inc esi
push edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], esi
call fcn.004a9780
cmp esi, ebp
jae 0x4aa21c
jmp 0x4aa1f6
mov esi, dword [esp + 0x64]
mov eax, ebp
sub eax, esi
push eax
xor edi, edi
push 0x3c
push esi
mov dword [esp + 0x60], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], edi
call fcn.00615a10
add esp, 0xc
cmp eax, edi
jne 0x4a9d08
cmp dword [esp + 0x58], 0
pop edi
pop ebx
je 0x4aa232
mov ecx, dword [esp + 0x44]
push ecx
call fcn.005e76a7
add esp, 4
cmp dword [esp + 0x3c], 0
je 0x4aa246
mov edx, dword [esp + 8]
push edx
call fcn.005e76a7
add esp, 4
mov ecx, dword [esp + 0x244]
pop esi
pop ebp
xor ecx, esp
call fcn.00613241
add esp, 0x240
ret 0x10