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

Disassembly:
mov ecx, dword [0x6d0e30]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4ea77a
sub esp, 0x7c
mov eax, dword [esp + 0x88]
lea ecx, [eax - 1]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x80]
mov ebx, dword [edx + 0x38]
mov dword [esp + 0x60], ebx
lea ebp, [0x557540]
mov dword [esp], ebp
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
call fcn.0044b5f0
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x34]
cmp edx, ecx
jb 0x4ea774
mov eax, dword [esp + 0xc]
mov ebx, ecx
xor ebp, ebp
xor esi, esi
mov edi, dword [esp + 0x60]
jmp 0x4ea0d0
mov ecx, dword [esp + 0x48]
lea ebp, [ecx + 1]
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x30]
mov edi, ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x60], edi
cmp ebp, ebx
jge 0x4ea37a
mov dword [esp + 0x48], ebp
mov dword [esp + 0x58], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x84]
lea ecx, [eax + ebp*8]
mov edx, dword [ecx]
mov dword [esp + 0x5c], edx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x38], ecx
lea ebx, [0x558ea0]
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call fcn.004105c0
mov eax, dword [esp + 0x30]
inc eax
movzx ecx, byte [esp + 0x14]
mov edx, dword [esp + 0x44]
cmp edx, eax
jb 0x4ea135
mov ebx, dword [esp + 0x58]
jmp 0x4ea174
mov byte [esp + 0x23], cl
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x557540]
mov dword [esp + 0x10], eax
call fcn.0044b6b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, eax
mov eax, ecx
movzx ecx, byte [esp + 0x23]
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], edx
lea ebp, [ebx + eax*8 - 4]
mov esi, dword [esp + 0x38]
mov dword [ebp], esi
mov ebp, dword [0x6d0ed8]
lea edi, [ebx + eax*8 - 8]
test ebp, ebp
je 0x4ea1b2
mov ebp, edi
call fcn.00464b00
mov edx, dword [esp + 0x5c]
mov dword [edi], edx
mov eax, dword [ebp]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x44]
mov edi, ebp
mov dword [esp + 0x58], ebx
mov ebp, dword [esp + 0x5c]
mov dword [edi], ebp
test cl, cl
jne 0x4ea271
nop
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004e5390
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0x3c]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
lea ebp, [0x558fa0]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.00410920
mov eax, dword [esp + 0x10]
test byte [eax], al
call fcn.0040d4d0
mov eax, dword [esp]
mov dword [esp + 0x78], eax
lea ecx, [0x558ea0]
mov dword [esp], ecx
mov edx, dword [esp + 0x60]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x38]
mov dword [esp + 0xc], ebp
call fcn.00410920
mov eax, dword [esp + 0x10]
lea ecx, [0x558ea0]
mov dword [eax], ecx
mov edx, dword [0x6d0ed8]
test edx, edx
jne 0x4ea255
mov edx, dword [esp + 0x78]
jmp 0x4ea266
call fcn.00464b00
mov edx, dword [esp + 0x78]
mov dword [edi], edx
mov ebx, dword [eax + 4]
mov dword [edi + 4], ebx
mov dword [eax + 4], edx
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x38]
lea eax, [0x558ea0]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
call fcn.00410290
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
test ecx, ecx
je 0x4ea2f4
mov edx, dword [ecx + 8]
mov ebx, dword [eax + 4]
cmp edx, 0x38a195a4
jne 0x4ea2bd
lea eax, [0x558ea0]
cmp ecx, eax
je 0x4ea0b0
lea edx, [0x551100]
jmp 0x4ea2f4
cmp edx, 0x76ef0d3f
jne 0x4ea2ee
lea edx, [0x551100]
cmp ecx, edx
jne 0x4ea2f4
mov ecx, dword [ebx + 4]
lea eax, [ecx - 1]
cmp ecx, eax
jbe 0x4ea76f
mov eax, dword [ebx]
mov ebx, dword [eax + ecx*4 - 4]
lea eax, [0x558ea0]
jmp 0x4ea0b0
lea edx, [0x551100]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x44]
mov dword [esp + 8], edx
call fcn.0040a3b0
mov eax, dword [esp + 0xc]
lea ecx, [0x56a5a0]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x80]
mov dword [esp], eax
lea edx, [0x58614a]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x27
lea ebx, [esp + 0x68]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.004e6020
lea eax, [0x558ea0]
mov ebx, dword [esp + 0x60]
jmp 0x4ea0b0
mov ebx, dword [esp + 0x80]
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], ecx
mov ecx, dword [0x6d0ed8]
test ecx, ecx
je 0x4ea3a2
mov ecx, edi
call fcn.00464b00
mov dword [edi], eax
mov ebp, dword [ebx + 4]
mov dword [edi + 4], ebp
mov edi, ecx
mov dword [ebx + 4], eax
movzx eax, byte [esp + 0x90]
test al, al
je 0x4ea660
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
lea edx, [ecx + eax*8 - 8]
mov ebx, dword [edx]
mov dword [esp + 0x54], ebx
mov edx, dword [edx + 4]
mov dword [esp + 0x2c], edx
nop
lea ebp, [0x558ea0]
mov dword [esp], ebp
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call fcn.004105c0
movzx eax, byte [esp + 0x14]
test al, al
jne 0x4ea494
lea eax, [0x558ea0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 4
call fcn.0044b5f0
mov eax, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 4
call fcn.0040a3b0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x74], eax
lea ecx, [0x558ea0]
mov dword [esp], ecx
mov edx, dword [esp + 0x60]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x54]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0xc], ebp
call fcn.00410920
mov eax, dword [esp + 0x10]
lea ecx, [0x551100]
mov dword [eax], ecx
mov edx, dword [0x6d0ed8]
test edx, edx
jne 0x4ea480
mov edx, dword [esp + 0x74]
jmp 0x4ea491
call fcn.00464b00
mov edx, dword [esp + 0x74]
mov dword [edi], edx
mov ebx, dword [eax + 4]
mov dword [edi + 4], ebx
mov dword [eax + 4], edx
lea eax, [0x558ea0]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x54]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0xc], ebx
call fcn.00410290
mov eax, dword [esp + 0x10]
lea ecx, [0x551100]
cmp dword [eax], ecx
jne 0x4ea4d5
mov eax, dword [eax + 4]
mov edx, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
jmp 0x4ea4e4
mov eax, 0
mov edx, 0
mov ebx, 0
jne 0x4ea5de
mov dword [esp + 0x64], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ebx
call fcn.0040d4d0
mov eax, dword [esp + 0x3c]
inc eax
mov ecx, dword [esp]
mov edx, dword [esp + 0x40]
cmp edx, eax
jb 0x4ea511
mov ebx, dword [esp + 0x64]
jmp 0x4ea54f
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x558ea0]
mov dword [esp + 0x10], eax
call fcn.0044b6b0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, edx
mov edx, ecx
mov ecx, dword [esp + 0x70]
mov ebp, dword [0x6d0ed8]
test ebp, ebp
je 0x4ea567
call fcn.00464b00
mov dword [edi], ecx
mov ebp, dword [ebx + eax*4 - 4]
mov dword [edi + 4], ebp
mov dword [ebx + eax*4 - 4], ecx
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0040a3b0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x74], eax
lea ecx, [0x558ea0]
mov dword [esp], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xc], ecx
call fcn.00410920
mov eax, dword [esp + 0x10]
lea ecx, [0x551100]
mov dword [eax], ecx
mov ecx, dword [0x6d0ed8]
test ecx, ecx
jne 0x4ea5c5
mov ecx, dword [esp + 0x74]
jmp 0x4ea5d6
call fcn.00464b00
mov ecx, dword [esp + 0x74]
mov dword [edi], ecx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov dword [eax + 4], ecx
jmp 0x4ea6b4
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov ecx, dword [esp + 0x88]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x8c]
mov dword [esp + 8], edx
call fcn.0040a3b0
mov eax, dword [esp + 0xc]
lea ecx, [0x56a5a0]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x80]
mov dword [esp], eax
lea ecx, [0x5892fb]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x3c
lea ecx, [esp + 0x68]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.004e6020
jmp 0x4ea6b4
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
lea edx, [ecx + eax*8 - 8]
mov ebx, dword [edx]
mov dword [esp + 0x50], ebx
mov edx, dword [edx + 4]
mov dword [esp + 0x28], edx
call fcn.0040d4d0
mov eax, dword [esp]
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
mov edx, dword [esp + 0x50]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 8], edx
lea edx, [0x558ea0]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
call fcn.004ea790
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
inc edx
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0x84]
lea ebx, [ebp + ebx*8 - 8]
mov ebp, dword [eax + 4]
mov esi, dword [ebx]
mov ebx, dword [ebx + 4]
cmp ecx, edx
jae 0x4ea746
mov dword [esp + 0x4c], esi
mov dword [esp + 0x24], ebx
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x557540]
mov dword [esp + 0x10], eax
call fcn.0044b6b0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x80]
mov dword [ebx + 0xc], eax
mov eax, dword [0x6d0ed8]
test eax, eax
je 0x4ea737
call fcn.00464b00
mov dword [edi], ecx
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov dword [ebx + 4], ecx
mov eax, ebx
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x4c]
mov ebp, ecx
mov dword [eax + 8], edx
lea eax, [ebp + edx*8 - 4]
mov dword [eax], ebx
mov eax, dword [0x6d0ed8]
lea ecx, [ebp + edx*8 - 8]
test eax, eax
je 0x4ea769
call fcn.00464b00
mov dword [edi], esi
mov eax, dword [ecx]
mov dword [edi + 4], eax
mov dword [ecx], esi
add esp, 0x7c
ret
call fcn.00464b70
call fcn.00464bb0
nop
call fcn.004636f0
jmp fcn.004ea040