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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov edx, dword [ebp + 0xc]
sub esp, 0x4c
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + 8], ecx
mov ecx, edi
mov dword [eax + 0xc], edx
call fcn.004c5f30
mov ecx, dword [edi + 0x278]
add ecx, dword [edi + 0x65c]
mov esi, dword [edi + 0x27c]
mov eax, dword [edi + 0x280]
mov edx, dword [edi + 0x284]
add esi, dword [edi + 0x660]
sub eax, dword [edi + 0x664]
sub edx, dword [edi + 0x668]
mov dword [ebp + 8], ecx
mov ecx, dword [edi + 0x678]
xor bl, bl
mov dword [ebp + 0xc], esi
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], edx
test ecx, ecx
je 0x4e7899
mov eax, dword [ecx]
mov edx, dword [eax + 0xc0]
call edx
test al, al
je 0x4e7899
mov ecx, dword [edi + 0x678]
mov eax, dword [ecx]
mov edx, dword [eax + 0x58]
mov bl, 1
call edx
sub dword [ebp + 0x10], eax
mov ecx, dword [edi + 0x67c]
test ecx, ecx
je 0x4e78c1
mov eax, dword [ecx]
mov edx, dword [eax + 0xc0]
call edx
test al, al
je 0x4e78c1
mov ecx, dword [edi + 0x67c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x60]
call edx
sub dword [ebp + 0x14], eax
cmp dword [edi + 0x684], 0
je 0x4e79fd
mov eax, dword [ebp + 8]
mov esi, dword [edi + 0x8bc]
add esi, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
sub ecx, dword [edi + 0x8c4]
sub edx, dword [edi + 0x8c8]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0xc]
add eax, dword [edi + 0x8c0]
mov dword [esp + 0x38], esi
mov esi, dword [edi + 0x684]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
call fcn.004e6440
test bl, bl
je 0x4e79fd
mov ecx, dword [edi + 0x678]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
test al, al
je 0x4e7941
cmp byte [edi + 0x688], 0
je 0x4e79fd
mov ecx, dword [edi + 0x678]
mov edx, dword [ecx]
mov eax, dword [edx + 0x58]
call eax
mov ecx, dword [esp + 0x40]
sub ecx, dword [esp + 0x38]
mov edx, dword [edi + 0x684]
add eax, ecx
mov dword [esp + 0x14], eax
or eax, 0xffffffff
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, dword [edi]
mov dword [esp + 0x18], 0
mov esi, dword [edx + 0xc]
mov edx, dword [eax + 0x1c]
mov ecx, edi
call edx
mov eax, dword [eax + 8]
mov edx, dword [esi]
mov edx, dword [edx + 0x44]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x30]
push ecx
push 1
push 0
push 0
push eax
push 1
mov ecx, esi
call edx
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x3c]
cmp dword [esp + 0x18], eax
jle 0x4e79db
mov ecx, dword [edi + 0x678]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc4]
push 1
call eax
mov ecx, dword [edi + 0x678]
xor eax, eax
call fcn.004f9df0
mov byte [edi + 0x688], 1
jmp 0x4e79fd
cmp byte [edi + 0x688], 0
je 0x4e79fd
mov ecx, dword [edi + 0x678]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc4]
push 0
call eax
mov byte [edi + 0x688], 0
mov ecx, dword [edi + 0x678]
test ecx, ecx
je 0x4e7a53
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
test al, al
je 0x4e7a53
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x4c], ecx
mov ecx, dword [edi + 0x678]
mov edx, dword [ecx]
mov eax, dword [edx + 0x58]
call eax
add eax, dword [ebp + 0x10]
mov ecx, dword [edi + 0x678]
mov ebx, dword [ecx]
sub esp, 0x10
mov edx, esp
mov dword [edx], esi
mov esi, dword [esp + 0x5c]
mov dword [edx + 4], esi
mov dword [edx + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [edx + 0xc], eax
mov edx, dword [ebx + 0x34]
call edx
mov ecx, dword [edi + 0x67c]
test ecx, ecx
je 0x4e7ab1
mov eax, dword [ecx]
mov edx, dword [eax + 0xc0]
call edx
test al, al
je 0x4e7ab1
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov dword [esp + 0x50], ecx
mov ecx, dword [edi + 0x67c]
mov edx, dword [ecx]
mov dword [esp + 0x4c], eax
mov eax, dword [edx + 0x60]
call eax
add eax, dword [ebp + 0x14]
mov ecx, dword [edi + 0x67c]
mov ebx, dword [ecx]
sub esp, 0x10
mov edx, esp
mov dword [edx], esi
mov esi, dword [esp + 0x5c]
mov dword [edx + 4], esi
mov esi, dword [esp + 0x60]
mov dword [edx + 8], esi
mov dword [edx + 0xc], eax
mov edx, dword [ebx + 0x34]
call edx
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
sub eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0x67c]
sub ebx, dword [ebp + 8]
mov dword [esp + 0x3c], eax
test ecx, ecx
je 0x4e7ae5
mov eax, dword [ecx]
mov edx, dword [eax + 0xc0]
call edx
test al, al
je 0x4e7ae5
mov eax, dword [edi + 0x67c]
add ebx, dword [eax + 0x650]
xor ecx, ecx
xor esi, esi
cmp dword [edi + 0x654], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], ecx
jle 0x4e7bea
mov ecx, dword [edi + 0x650]
mov edx, dword [esp + 0x10]
mov esi, dword [ecx + edx*4]
mov eax, dword [esi]
mov edx, dword [eax + 0xc0]
mov ecx, esi
call edx
test al, al
je 0x4e7bcd
mov eax, dword [esi]
mov edx, dword [eax + 0xf4]
mov ecx, esi
call edx
test al, al
jne 0x4e7bcd
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi]
mov eax, dword [eax + 0x134]
push ecx
push ebx
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call eax
cmp dword [esp + 0x20], 0
jne 0x4e7b5e
inc dword [esp + 0xc]
jmp 0x4e7b96
mov edx, dword [esi]
mov eax, dword [edx + 0x68]
mov ecx, esi
call eax
cmp dword [esp + 0x20], eax
jge 0x4e7b7a
mov edx, dword [esi]
mov eax, dword [edx + 0x68]
mov ecx, esi
call eax
mov dword [esp + 0x20], eax
mov edx, dword [esi]
mov eax, dword [edx + 0x70]
mov ecx, esi
call eax
cmp dword [esp + 0x20], eax
jle 0x4e7b96
mov edx, dword [esi]
mov eax, dword [edx + 0x70]
mov ecx, esi
call eax
mov dword [esp + 0x20], eax
mov edx, dword [esi]
mov edx, dword [edx + 0x48]
lea eax, [esp + 0x48]
push eax
mov ecx, esi
call edx
add eax, 8
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x48]
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call edx
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
add edx, dword [esp + 0x20]
add edx, dword [eax]
add dword [esp + 0x14], edx
inc dword [esp + 0x18]
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [edi + 0x654]
mov dword [esp + 0x10], eax
jl 0x4e7b05
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [edi + 0x66c]
dec eax
imul edx, eax
mov dword [esp + 0x1c], eax
xor eax, eax
add ecx, edx
cmp esi, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], eax
jle 0x4e7c21
mov eax, ebx
sub eax, ecx
cdq
idiv esi
xor ecx, ecx
test eax, eax
setl cl
dec ecx
and ecx, eax
mov dword [esp + 0x14], ecx
mov ecx, dword [edi + 0x67c]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x28], ebx
mov ebx, dword [ebp + 8]
xor esi, esi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x18], ebx
cmp ecx, esi
je 0x4e7c5e
mov eax, dword [ecx]
mov edx, dword [eax + 0xc0]
call edx
test al, al
je 0x4e7c5e
mov eax, dword [edi + 0x67c]
sub ebx, dword [eax + 0x654]
mov dword [esp + 0x18], ebx
cmp dword [edi + 0x654], esi
mov dword [esp + 0x10], esi
jle 0x4e7e41
mov ecx, dword [edi + 0x650]
mov edx, dword [esp + 0x10]
mov esi, dword [ecx + edx*4]
mov eax, dword [esi]
mov edx, dword [eax + 0xc0]
mov ecx, esi
call edx
test al, al
je 0x4e7e2a
mov eax, dword [esi]
mov edx, dword [eax + 0xf4]
mov ecx, esi
call edx
test al, al
je 0x4e7cb5
mov ecx, dword [esp + 0x10]
mov eax, dword [edi]
mov edx, dword [eax + 0x22c]
push ecx
mov ecx, edi
call edx
jmp 0x4e7e2a
mov eax, dword [esi]
mov edx, dword [eax + 0x48]
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi]
mov edx, dword [edx + 0x134]
push ecx
push eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call edx
cmp dword [esp + 0x20], 0
mov ecx, esi
jne 0x4e7cf7
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov edx, dword [esi]
mov eax, dword [edx + 0x68]
call eax
cmp dword [esp + 0x20], eax
jge 0x4e7d11
mov edx, dword [esi]
mov eax, dword [edx + 0x68]
mov ecx, esi
call eax
mov dword [esp + 0x20], eax
mov edx, dword [esi]
mov eax, dword [edx + 0x70]
mov ecx, esi
call eax
cmp dword [esp + 0x20], eax
jle 0x4e7d2d
mov edx, dword [esi]
mov eax, dword [edx + 0x70]
mov ecx, esi
call eax
mov dword [esp + 0x20], eax
mov edx, dword [esi]
mov eax, dword [edx + 0x60]
mov ecx, esi
call eax
mov dword [esp + 0x24], eax
test eax, eax
jne 0x4e7d52
mov eax, dword [ebp + 0x14]
sub eax, dword [esp + 0x44]
sub eax, dword [esp + 0x3c]
sub eax, dword [ebp + 0xc]
mov dword [esp + 0x24], eax
test eax, eax
jge 0x4e7d5c
mov dword [esp + 0x24], 0
mov edx, dword [esi]
mov eax, dword [edx + 0x78]
mov ecx, esi
call eax
cmp dword [esp + 0x24], eax
jge 0x4e7d78
mov edx, dword [esi]
mov eax, dword [edx + 0x78]
mov ecx, esi
call eax
mov dword [esp + 0x24], eax
mov edx, dword [esi]
mov eax, dword [edx + 0x80]
mov ecx, esi
call eax
cmp dword [esp + 0x24], eax
jle 0x4e7d9a
mov edx, dword [esi]
mov eax, dword [edx + 0x80]
mov ecx, esi
call eax
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
lea edx, [ecx + ebx]
mov dword [esp + 0x48], edx
mov edx, dword [ebp + 0xc]
add eax, edx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x20]
add ecx, eax
mov eax, dword [esp + 0x3c]
add ecx, ebx
mov ebx, dword [esp + 0x24]
add eax, ebx
mov ebx, dword [esp + 0x48]
add eax, edx
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
mov dword [esp + 0x54], eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [esp + 0x5c]
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 0xc], ecx
mov ecx, esi
call edx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
mov eax, dword [edi + 0x66c]
mov ebx, dword [esp + 0x18]
lea esi, [ecx + edx]
mov edx, dword [esp + 0x38]
add esi, eax
add esi, edx
add ebx, esi
mov esi, dword [esp + 0x20]
add esi, ecx
add esi, edx
mov edx, dword [esp + 0x20]
add dword [esp + 0xc], esi
add ecx, edx
add ecx, eax
sub dword [esp + 0x28], ecx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [edi + 0x654]
mov dword [esp + 0x10], eax
jl 0x4e7c6e
xor esi, esi
mov eax, dword [edi + 0x66c]
imul eax, dword [esp + 0x1c]
mov ecx, dword [edi + 0x67c]
add dword [esp + 0xc], eax
cmp ecx, esi
je 0x4e7f85
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
mov edx, dword [ecx]
cmp dword [esp + 0xc], eax
mov eax, dword [edx + 0xc0]
jle 0x4e7eb9
call eax
mov ecx, dword [edi + 0x67c]
test al, al
je 0x4e7e96
mov eax, dword [esp + 0xc]
sub eax, dword [ebp + 0x10]
add eax, dword [ebp + 8]
call fcn.004f9d80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [ecx]
mov eax, dword [edx + 0xc4]
push 1
call eax
mov eax, dword [esp + 0xc]
sub eax, dword [ebp + 0x10]
mov ecx, dword [edi + 0x67c]
add eax, dword [ebp + 8]
call fcn.004f9d80
jmp 0x4e7f25
call eax
test al, al
je 0x4e7f85
mov ecx, dword [edi + 0x67c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc4]
push esi
call eax
mov ecx, dword [edi + 0x67c]
cmp dword [ecx + 0x650], esi
je 0x4e7f25
cmp dword [ecx + 0x654], esi
mov dword [ecx + 0x650], esi
jle 0x4e7ef6
mov dword [ecx + 0x654], esi
mov ebx, dword [ecx + 0x278]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [ecx + 0x27c]
mov dword [eax + 4], ebx
mov ebx, dword [ecx + 0x280]
mov dword [eax + 8], ebx
mov ebx, dword [ecx + 0x284]
mov dword [eax + 0xc], ebx
mov eax, dword [edx + 0x34]
call eax
mov ecx, dword [edi + 0x67c]
cmp dword [ecx + 0x654], esi
je 0x4e7f78
mov eax, dword [ecx + 0x650]
cmp eax, esi
mov dword [ecx + 0x654], esi
jge 0x4e7f49
mov dword [ecx + 0x654], eax
mov esi, dword [ecx + 0x278]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ecx + 0x27c]
mov dword [eax + 4], esi
mov esi, dword [ecx + 0x280]
mov dword [eax + 8], esi
mov esi, dword [ecx + 0x284]
mov dword [eax + 0xc], esi
mov eax, dword [edx + 0x34]
call eax
mov ecx, dword [edi + 0x67c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x60]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10