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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c4ffb
sub esp, 0x6c
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x18c]
test ecx, ecx
jne 0x4c4cc1
mov ecx, dword [esp + 0x78]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x7c]
cmp ebx, edx
jb 0x4c4be0
mov ebp, dword [esp + 0x74]
jmp 0x4c4c1d
lea eax, [0x539260]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.004464a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
inc ecx
mov ebp, eax
mov ebx, edx
mov eax, dword [esp + 0x70]
mov edx, ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x68], ebp
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], ebx
mov dword [ebp + ecx*4], 0x100
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.004c5270
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x84]
test edx, edx
je 0x4c4c7a
mov ebx, dword [esp + 0x88]
cmp ebx, 0xffff
jg 0x4c4c74
lea ebp, [ebx + 5]
shl ebp, 3
mov esi, 1
jmp 0x4c4c85
xor esi, esi
xor ebp, ebp
jmp 0x4c4c85
mov ebx, dword [esp + 0x88]
xor esi, esi
xor ebp, ebp
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x2c], ebp
xchg esi, eax
mov byte [esp + 0x2b], al
xchg esi, eax
xchg esi, eax
test al, al
xchg esi, eax
je 0x4c4cbd
mov edi, dword [esp + 0x70]
mov dword [esp + 0x58], eax
mov eax, 0x109
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x58]
jmp 0x4c4f2b
xor edi, edi
jmp 0x4c4cc5
add esp, 0x6c
ret
mov dword [esp + 0x44], edi
mov eax, dword [0x663250]
mov dword [esp + 0x64], eax
mov ecx, dword [0x663254]
mov dword [esp + 0x60], ecx
mov edx, dword [esp + 0x70]
mov dword [esp], edx
mov dword [esp + 4], edi
call fcn.004c45f0
mov eax, dword [esp + 8]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 0x180]
mov ebx, dword [ecx + 0x184]
mov dword [esp], ecx
mov ebp, dword [esp + 0x3c]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x38]
mov dword [esp + 8], esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.004c4140
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x188]
mov dword [esp], ecx
lea ecx, [eax + 0x10c]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x13
mov dword [esp + 0xc], 0x13
mov dword [esp + 0x10], 7
call fcn.004c6600
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x180]
mov edx, dword [eax + 0x184]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xc], ecx
call fcn.004c4470
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
cmp eax, edx
jge 0x4c4dac
mov edx, dword [esp + 0x70]
mov ebx, dword [edx + 0x180]
mov ebp, dword [edx + 0x184]
movzx esi, byte [esp + 0x2b]
xchg esi, eax
test al, al
xchg esi, eax
jmp 0x4c4dc3
movzx ebx, byte [esp + 0x2b]
test bl, bl
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
je 0x4c4e1d
mov esi, dword [esp + 0x2c]
cmp eax, esi
jle 0x4c4e1d
mov dword [esp], edx
mov eax, dword [esp + 0x88]
mov dword [esp + 4], eax
movzx ecx, byte [esp + 0x80]
mov byte [esp + 8], cl
call fcn.004c4b00
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xc], eax
call fcn.004c3f90
add esp, 0x6c
ret
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebx
cmp dword [0x663250], ebx
jne 0x4c4e71
mov eax, dword [edx + 0x18c]
test eax, eax
jne 0x4c4ea5
movzx eax, byte [esp + 0x80]
test al, al
je 0x4c4e4a
mov eax, 3
jmp 0x4c4e4f
mov eax, 2
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 3
call fcn.004c3dd0
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
jmp 0x4c4ea5
mov dword [esp], edx
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
movzx eax, byte [esp + 0x80]
mov byte [esp + 0x10], al
call fcn.004c4850
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov ebx, dword [ebx + 8]
mov esi, dword [ebp]
mov edi, dword [ebp + 4]
mov ebp, dword [ebp + 8]
mov dword [esp], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebp
call fcn.004c5510
add esp, 0x6c
ret
lea ebp, [edx + 1]
lea edx, [edx + esi - 0x101]
movsx edx, byte [edx]
imul edx, ebx
mov ebx, dword [esp + 0x44]
add edx, ebx
mov edi, dword [esp + 0x70]
mov ebx, dword [esp + 0x88]
movzx esi, byte [esp + 0x2b]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x84]
mov ebp, dword [esp + 0x2c]
mov edx, dword [esp + 0x40]
cmp edx, eax
jge 0x4c4f66
mov ebx, dword [edi + 0x160]
mov ebp, dword [edi + 0x15c]
cmp edx, ebx
jae 0x4c4ff1
mov ebx, dword [ebp + edx*4]
mov ebp, dword [0x65f3e4]
mov esi, dword [0x65f3e0]
lea edi, [edx - 0x101]
cmp ebp, edi
ja 0x4c4ef2
jmp 0x4c4fe8
mov edx, dword [esp + 0x44]
mov dword [esp + 0x50], eax
mov eax, 4
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x50]
jmp 0x4c4fa2
lea esi, [ebx + 1]
add ebx, edi
movsx ebx, byte [ebx]
imul ebx, ebp
add edx, ebx
mov edi, dword [esp + 0x70]
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x34], esi
movzx esi, byte [esp + 0x2b]
mov ebx, dword [esp + 0x34]
cmp ebx, ecx
jge 0x4c4fcf
mov ebp, dword [edi + 0x16c]
mov esi, dword [edi + 0x168]
cmp ebx, ebp
jae 0x4c4fdf
mov ebp, dword [esi + ebx*4]
mov esi, dword [0x65f414]
mov edi, dword [0x65f410]
cmp ebx, esi
jb 0x4c4f7d
jmp 0x4c4fd6
mov edi, edx
jmp 0x4c4cc5
mov eax, ebx
mov ecx, esi
call fcn.0045ca00
mov eax, ebx
mov ecx, ebp
call fcn.0045ca00
mov eax, edi
mov ecx, ebp
call fcn.0045ca00
mov eax, edx
mov ecx, ebx
call fcn.0045ca00
nop
call fcn.0045b540
jmp fcn.004c4ba0