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

Disassembly:
mov ecx, dword [0x98cddc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4e79f0
add esp, 0xffffff80
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x2c], edx
mov ebx, dword [eax + 0x14]
mov dword [esp + 0x74], ebx
nop
lea ebp, [0x7117e0]
mov dword [esp], ebp
call fcn.0040bc10
mov eax, dword [esp + 4]
mov dword [eax + 0x14], 3
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 8]
mov dword [eax + 0x18], edx
mov edx, dword [ecx + 0x10]
mov ebx, dword [ecx + 0xc]
mov dword [eax + 0x20], edx
mov edx, dword [0x98d0b8]
test edx, edx
je 0x4e7604
call fcn.00471ab0
mov dword [edi], ebx
mov dword [eax + 0x1c], ebx
mov edx, dword [ecx + 0x18]
mov ebx, dword [ecx + 0x1c]
mov ebp, dword [ecx + 0x14]
mov dword [eax + 0x30], edx
mov dword [eax + 0x34], ebx
mov edx, dword [0x98d0b8]
test edx, edx
je 0x4e7627
call fcn.00471ab0
mov dword [edi], ebp
mov dword [eax + 0x2c], ebp
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004e6ee0
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 0x38]
dec ecx
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x74]
xor esi, esi
jmp 0x4e7656
dec ecx
mov ebp, dword [esp + 0x74]
test ecx, ecx
jl 0x4e76bd
mov edi, dword [eax + 0x38]
cmp ecx, edi
jae 0x4e79e6
mov edi, dword [eax + 0x34]
mov edi, dword [edi + ecx*4]
mov ebp, dword [edi + 0x14]
cmp ebp, 7
je 0x4e76bd
cmp ebp, 3
jne 0x4e7651
mov ebp, dword [edi + 0x28]
test ebp, ebp
jne 0x4e7651
cmp dword [edi + 0x18], ebx
jne 0x4e7651
mov ebp, dword [edi + 0x30]
cmp ebp, edx
jne 0x4e7651
mov dword [esp + 0x28], ecx
mov dword [esp + 0x70], edi
mov dword [esp + 0x24], esi
mov ebx, dword [edi + 0x2c]
jmp 0x4e7781
lea ebx, [esi + 1]
cmp ebx, 3
jl 0x4e76b5
mov ebp, dword [eax + 0x38]
mov esi, dword [eax + 0x34]
lea edx, [ebp - 1]
jmp 0x4e77b1
mov esi, ebx
mov ebx, dword [esp + 0x20]
jmp 0x4e7651
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x4e76cd
mov edx, dword [eax + 0x28]
mov ecx, dword [edx + ecx*4 - 4]
jmp 0x4e76cf
xor ecx, ecx
test ecx, ecx
jne 0x4e76d6
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x3c]
mov ebx, dword [eax + 0x38]
inc ebx
mov ebp, dword [eax + 0x34]
cmp edx, ebx
jae 0x4e7744
mov dword [esp + 0x3c], ecx
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x703880]
mov dword [esp + 0x10], eax
call fcn.0046cad0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x84]
mov dword [ebx + 0x3c], eax
mov eax, dword [0x98d0b8]
test eax, eax
je 0x4e7737
call fcn.00471ac0
mov dword [edi], ecx
mov eax, dword [ebx + 0x34]
mov dword [edi + 4], eax
mov dword [ebx + 0x34], ecx
mov eax, ebx
mov ebx, edx
mov ebp, ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0x38], ebx
mov eax, dword [0x98d0b8]
test eax, eax
je 0x4e775f
call fcn.00471ac0
mov dword [edi], ecx
mov eax, dword [ebp + ebx*4 - 4]
mov dword [edi + 4], eax
mov dword [ebp + ebx*4 - 4], ecx
sub esp, 0xffffff80
ret
lea ebx, [ecx + 0x18]
lea ebp, [esi - 1]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x70]
test ebp, ebp
jle 0x4e769f
mov dword [esp + 0x38], ebp
mov dword [esp + 0x7c], ebx
lea edi, [esp + 0x58]
mov esi, ebx
call fcn.00472224
mov ecx, dword [esp + 0x74]
mov esi, ecx
mov edi, edx
jmp 0x4e78cf
dec edx
mov eax, dword [esp + 0x84]
test edx, edx
jl 0x4e77cd
cmp edx, ebp
jae 0x4e78ae
lea eax, [esi + edx*4]
cmp dword [eax], edi
jne 0x4e77a9
mov eax, dword [esp + 0x84]
jmp 0x4e77d2
mov edx, 0xffffffff
cmp edx, 0xffffffff
je 0x4e7883
cmp edx, ebp
ja 0x4e78a5
mov dword [esp + 0x34], ebx
mov edi, edx
shl edx, 2
lea ecx, [edi + 1]
mov ebx, dword [eax + 0x3c]
sub ebx, edi
mov dword [esp + 0x38], ebx
neg ebx
sar ebx, 0x1f
and ebx, edx
mov edx, ebp
sub ebp, edi
add ebx, esi
cmp edx, ecx
jb 0x4e789c
lea eax, [0x703880]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
lea edx, [ebp - 1]
mov ebx, dword [esp + 0x38]
dec ebx
neg ebx
shl ecx, 2
sar ebx, 0x1f
and ebx, ecx
lea ecx, [esi + ebx]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call fcn.00469900
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 0x38]
lea edx, [ecx - 1]
cmp ecx, edx
jbe 0x4e7895
mov ebx, dword [0x98d0b8]
mov ebp, dword [eax + 0x34]
test ebx, ebx
je 0x4e7869
mov ebx, dword [ebp + ecx*4 - 4]
call fcn.00471ab0
mov dword [edi], ebx
mov dword [ebp + ecx*4 - 4], 0
mov ebx, dword [eax + 0x3c]
cmp ebx, edx
jb 0x4e788c
mov dword [eax + 0x38], edx
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
jmp 0x4e76b5
mov ecx, edx
mov edx, ebx
call fcn.00471b70
mov eax, edx
call fcn.00471b30
mov eax, ecx
mov ecx, edx
call fcn.00471b90
mov eax, edx
mov ecx, ebp
call fcn.00471b90
mov eax, edx
mov ecx, ebp
call fcn.00471b30
mov ebx, dword [esp + 0x78]
add ebx, 0x18
dec edx
mov ebp, esi
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x2c]
mov ecx, ebx
mov ebx, dword [esp + 0x7c]
test edx, edx
jle 0x4e79d3
mov dword [esp + 0x30], edx
mov dword [esp + 0x78], ecx
lea edi, [esp + 0x40]
mov esi, ecx
call fcn.00472224
mov ecx, dword [esp + 0x64]
mov esi, ebp
lea ebp, [esp + 0x40]
cmp dword [ebp + 0xc], ecx
je 0x4e78fd
xor ecx, ecx
jmp 0x4e792f
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00402e10
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x7c]
mov esi, dword [esp + 0x38]
mov ecx, eax
mov eax, dword [esp + 0x84]
test cl, cl
je 0x4e7975
mov ebp, dword [esp + 0x5c]
cmp dword [esp + 0x44], ebp
je 0x4e7941
xor ecx, ecx
jmp 0x4e7977
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call fcn.00402e10
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x7c]
mov esi, dword [esp + 0x38]
mov ecx, eax
mov eax, dword [esp + 0x84]
jmp 0x4e7977
xor ecx, ecx
test cl, cl
je 0x4e79c2
mov ebp, dword [esp + 0x6c]
mov ecx, ebx
lea ebx, [esp + 0x40]
cmp dword [ebx + 0x14], ebp
je 0x4e798e
xor ebx, ebx
jmp 0x4e79c6
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call fcn.00402e10
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x38]
mov ebx, eax
mov eax, dword [esp + 0x84]
jmp 0x4e79c6
mov ecx, ebx
xor ebx, ebx
test bl, bl
je 0x4e78b7
jmp 0x4e7767
mov ecx, dword [esp + 0x28]
mov edx, edi
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
jmp 0x4e7651
mov eax, ecx
mov ecx, edi
call fcn.00471b30
nop
call fcn.004706b0
jmp fcn.004e7590