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

Disassembly:
mov ecx, dword [0x5efcb0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4e9169
sub esp, 0x60
mov byte [esp + 0x7c], 0
mov edx, dword [esp + 0x74]
inc edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], 0
jmp 0x4e8d6f
cmp dword [esp + 0x1c], 5
jl 0x4e8d78
jmp 0x4e8d7a
jmp 0x4e8d83
mov byte [esp + 0x7c], 0
add esp, 0x60
ret
mov edx, dword [esp + 0x20]
cmp dword [esp + 0x78], edx
setg dl
mov byte [esp + 0x12], dl
jg 0x4e8d96
jmp 0x4e8e04
mov edx, dword [esp + 0x64]
test byte [edx], al
mov edx, dword [edx]
mov dword [esp + 0x5c], edx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
cmp ecx, eax
ja 0x4e8db7
jmp 0x4e9163
lea ebx, [ebx + eax*4]
mov ebx, dword [ebx]
mov dword [esp + 0x50], ebx
mov ecx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0x20]
lea eax, [esi - 1]
cmp ecx, eax
ja 0x4e8dd8
jmp 0x4e915e
lea eax, [ebp + esi*4 - 4]
mov eax, dword [eax]
mov dword [esp + 0x4c], eax
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.004e8c50
movzx eax, byte [esp + 0xc]
mov byte [esp + 0x13], al
xor eax, 1
mov byte [esp + 0x12], al
jmp 0x4e8e06
jmp 0x4e8e06
movzx edx, byte [esp + 0x12]
test dl, dl
jne 0x4e8e11
jmp 0x4e8e1c
inc dword [esp + 0x20]
jmp 0x4e8e17
jmp 0x4e8d83
mov edx, dword [esp + 0x20]
cmp dword [esp + 0x78], edx
je 0x4e8e28
jmp 0x4e8e31
mov byte [esp + 0x7c], 1
add esp, 0x60
ret
mov edx, dword [esp + 0x78]
sub edx, dword [esp + 0x74]
cmp edx, 0x32
jl 0x4e8e40
jmp 0x4e8e49
mov byte [esp + 0x7c], 0
add esp, 0x60
ret
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
cmp ecx, eax
ja 0x4e8e5e
jmp 0x4e9159
lea edx, [edx + eax*4]
mov edx, dword [edx]
mov dword [esp + 0x48], edx
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x20]
lea eax, [ebx - 1]
cmp ecx, eax
ja 0x4e8e7f
jmp 0x4e9154
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x68]
lea edx, [edx + ebx*4 - 4]
mov edx, dword [edx]
cmp ecx, eax
ja 0x4e8e9a
jmp 0x4e914f
lea ebx, [ebp + eax*4]
mov dword [ebx], edx
mov edx, dword [esp + 0x20]
lea eax, [edx - 1]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x48]
cmp ecx, eax
ja 0x4e8ec0
jmp 0x4e914a
lea edx, [ebx + edx*4 - 4]
mov dword [edx], ebp
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0x74]
cmp edx, 2
jge 0x4e8ed5
jmp 0x4e8ee3
mov edx, dword [esp + 0x20]
dec edx
mov dword [esp + 0x18], edx
jmp 0x4e902c
jmp 0x4e8ee5
mov edx, dword [esp + 0x78]
sub edx, dword [esp + 0x20]
cmp edx, 2
jge 0x4e8ef4
jmp 0x4e8eff
mov edx, dword [esp + 0x20]
inc edx
mov dword [esp + 0x14], edx
jmp 0x4e8f0c
jmp 0x4e8f01
jmp 0x4e8f03
inc dword [esp + 0x1c]
jmp 0x4e8d6f
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x78], edx
jg 0x4e8f1b
jmp 0x4e9007
mov edx, dword [esp + 0x64]
test byte [edx], al
mov edx, dword [edx]
mov dword [esp + 0x54], edx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
cmp ecx, eax
ja 0x4e8f3c
jmp 0x4e9027
lea ebx, [ebx + eax*4]
mov ebx, dword [ebx]
mov dword [esp + 0x30], ebx
mov ecx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0x14]
lea eax, [esi - 1]
cmp ecx, eax
ja 0x4e8f5d
jmp 0x4e9022
lea eax, [ebp + esi*4 - 4]
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.004e8c50
movzx eax, byte [esp + 0xc]
mov byte [esp + 0x12], al
test al, al
jne 0x4e8f86
jmp 0x4e9005
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
cmp eax, ecx
jb 0x4e8f9b
jmp 0x4e901d
lea edx, [edx + eax*4]
mov edx, dword [edx]
mov dword [esp + 0x28], edx
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x14]
lea eax, [ebx - 1]
cmp ecx, eax
ja 0x4e8fb9
jmp 0x4e9018
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x68]
lea edx, [edx + ebx*4 - 4]
mov edx, dword [edx]
cmp eax, ecx
jb 0x4e8fd1
jmp 0x4e9013
lea ebx, [ebp + eax*4]
mov dword [ebx], edx
mov edx, dword [esp + 0x14]
lea eax, [edx - 1]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x28]
cmp ecx, eax
ja 0x4e8ff4
jmp 0x4e900e
lea edx, [ebx + edx*4 - 4]
mov dword [edx], ebp
jmp 0x4e8ffc
inc dword [esp + 0x14]
jmp 0x4e8f0c
jmp 0x4e9009
jmp 0x4e9009
jmp 0x4e8f01
call fcn.00475830
call fcn.00475830
call fcn.00475830
call fcn.00475830
call fcn.00475830
call fcn.00475830
mov edx, dword [esp + 0x18]
test edx, edx
jg 0x4e9039
jmp 0x4e9125
mov edx, dword [esp + 0x64]
test byte [edx], al
mov edx, dword [edx]
mov dword [esp + 0x58], edx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
cmp ecx, eax
ja 0x4e905a
jmp 0x4e9145
lea ebx, [ebx + eax*4]
mov ebx, dword [ebx]
mov dword [esp + 0x40], ebx
mov ecx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0x18]
lea eax, [esi - 1]
cmp ecx, eax
ja 0x4e907b
jmp 0x4e9140
lea eax, [ebp + esi*4 - 4]
mov eax, dword [eax]
mov dword [esp + 0x3c], eax
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.004e8c50
movzx eax, byte [esp + 0xc]
mov byte [esp + 0x12], al
test al, al
jne 0x4e90a4
jmp 0x4e9123
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
cmp ecx, eax
ja 0x4e90b9
jmp 0x4e913b
lea edx, [edx + eax*4]
mov edx, dword [edx]
mov dword [esp + 0x38], edx
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x18]
lea eax, [ebx - 1]
cmp ecx, eax
ja 0x4e90d7
jmp 0x4e9136
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x68]
lea edx, [edx + ebx*4 - 4]
mov edx, dword [edx]
cmp ecx, eax
ja 0x4e90ef
jmp 0x4e9131
lea ebx, [ebp + eax*4]
mov dword [ebx], edx
mov edx, dword [esp + 0x18]
lea eax, [edx - 1]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x38]
cmp ecx, eax
ja 0x4e9112
jmp 0x4e912c
lea edx, [ebx + edx*4 - 4]
mov dword [edx], ebp
jmp 0x4e911a
dec dword [esp + 0x18]
jmp 0x4e902c
jmp 0x4e9127
jmp 0x4e9127
jmp 0x4e8ee5
call fcn.00475830
call fcn.00475830
call fcn.00475830
call fcn.00475830
call fcn.00475830
call fcn.00475830
call fcn.00475830
call fcn.00475830
call fcn.00475830
call fcn.00475830
call fcn.00475830
call fcn.00475830
nop
call fcn.004743b0
jmp fcn.004e8d40