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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a1b61
sub esp, 0x6c
call fcn.004a1620
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp]
mov ebp, dword [esp + 4]
test eax, eax
jne 0x4a190b
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x40], ebx
mov eax, dword [esp + 0x70]
xor ecx, ecx
xor edx, edx
xor esi, esi
xor edi, edi
jmp 0x4a193e
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
add esp, 0x6c
ret
inc ecx
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x2c]
cmp ecx, ebp
jge 0x4a1b3b
mov ebx, dword [ebx + ecx*4]
mov ebp, dword [ebx + 4]
test ebp, ebp
jne 0x4a1953
mov ebp, dword [ebx + 0x48]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ebp
test eax, eax
je 0x4a196f
cmp eax, ebp
jne 0x4a1935
mov dword [esp + 0x44], ebx
mov eax, dword [ebx + 0x28]
mov dword [esp], eax
call fcn.00483e50
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x34], ecx
lea edi, [esp + 0x4c]
mov edx, eax
xor eax, eax
call fcn.0045c178
mov eax, dword [esp + 0x20]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], edx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x44]
cmp dword [eax + 0x44], 1
jne 0x4a19bd
mov dword [esp + 0x68], 1
mov ecx, dword [eax + 0x40]
cmp ecx, 0x18
ja 0x4a19e7
cmp ecx, 9
ja 0x4a19d6
cmp ecx, 6
je 0x4a1a16
cmp ecx, 9
je 0x4a1a16
jmp 0x4a1a1b
cmp ecx, 0x17
je 0x4a1a07
cmp ecx, 0x18
jne 0x4a1a1b
or dword [esp + 0x68], 0x14
jmp 0x4a1a1b
cmp ecx, 0x47
ja 0x4a19ff
cmp ecx, 0x25
jne 0x4a19f8
or dword [esp + 0x68], 0x1a
jmp 0x4a1a1b
cmp ecx, 0x47
je 0x4a1a16
jmp 0x4a1a1b
cmp ecx, 0x83
jne 0x4a1a0e
or dword [esp + 0x68], 0x18
jmp 0x4a1a1b
cmp ecx, 0x90
jne 0x4a1a1b
or dword [esp + 0x68], 0x12
mov ecx, dword [eax + 0x3c]
cmp ecx, 0xffffffff
jne 0x4a1a2d
mov dword [esp + 0x50], 0xffffffff
jmp 0x4a1a31
mov dword [esp + 0x50], ecx
mov ecx, dword [eax + 0x34]
test ecx, ecx
jbe 0x4a1a86
lea eax, [0x4ce8c0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.00445bf0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + 0x34]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], edx
cmp edx, 8
jle 0x4a1a6f
mov edx, 8
add ecx, 0x2c
cmp eax, ecx
je 0x4a1a86
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0045c880
mov eax, dword [esp + 0x24]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x28]
cmp edx, ecx
jb 0x4a1a9b
mov edi, dword [esp + 0x3c]
jmp 0x4a1ad0
lea ebx, [0x4d7020]
mov dword [esp], ebx
mov ebp, dword [esp + 0x3c]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.00445cb0
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x34], ecx
mov ebx, dword [0x5bb250]
shl eax, 5
add eax, edi
test ebx, ebx
jne 0x4a1af2
lea esi, [esp + 0x4c]
mov ebx, edi
mov edi, eax
call fcn.0045c640
jmp 0x4a1b1c
mov dword [esp + 0x48], edi
mov dword [esp + 0x30], edx
lea ecx, [0x4d7020]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0x4c]
mov dword [esp + 8], eax
call fcn.0040f7e0
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x70]
cmp dword [esp + 0x4c], eax
je 0x4a1b35
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
mov edi, ebx
jmp 0x4a1935
mov esi, dword [esp + 0x34]
mov edi, ebx
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x6c
ret
call fcn.0045ab60
jmp fcn.004a18c0