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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x5a6008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
mov esi, edx
mov dword [ebp - 0x9c], ebx
cmp dword [ebx + 0x1c], 0
mov ecx, dword [ebx + 0x40]
mov dword [ebx + 0x38], 0
jne 0x4ef401
mov edx, dword [ebp + 8]
mov edi, 1
mov eax, dword [ebx + 0x38]
cmp edx, 8
cmovbe eax, edi
mov dword [ebx + 0x38], eax
mov eax, dword [ebx + 0x3c]
cmp dword [eax + 0x404], 2
jne 0x4ef04f
mov dword [ebx + 0x38], 0
cmp ecx, 2
je 0x4eef06
mov esi, dword [ebx]
xor edx, edx
mov dword [ebx + 0x18], 0
nop
mov eax, dword [ebx + 0x3c]
mov eax, dword [edx + eax + 4]
and eax, 0xff
je 0x4eeeeb
mov ecx, 0xb
sub ecx, eax
mov eax, edi
shl eax, cl
jmp 0x4eeeed
mov eax, edi
mov dword [edx + esi], eax
mov esi, dword [ebx]
mov eax, dword [edx + esi]
add edx, 4
add dword [ebx + 0x18], eax
cmp edx, 0x3fc
jbe 0x4eeed0
mov eax, dword [ebx + 0x3c]
movzx ecx, word [eax + 0xcb8]
lea esi, [eax + 0xcb8]
mov eax, 4
test ecx, ecx
je 0x4eef1f
dec ecx
shl eax, cl
mov edi, dword [ebx + 4]
add esi, 8
xor edx, edx
mov dword [ebx + 0x1c], 0
add esi, eax
mov eax, dword [esi]
add eax, 0xffff
shr eax, 0x10
test eax, eax
je 0x4eef4e
mov ecx, 0xa
sub ecx, eax
mov eax, 1
shl eax, cl
jmp 0x4eef53
mov eax, 1
mov dword [edx + edi], eax
add esi, 8
mov edi, dword [ebx + 4]
mov eax, dword [edx + edi]
add edx, 4
add dword [ebx + 0x1c], eax
cmp edx, 0x8c
jbe 0x4eef30
mov esi, dword [ebx + 0x3c]
mov eax, 4
movzx ecx, word [esi + 0x70c]
test ecx, ecx
je 0x4eef83
dec ecx
shl eax, cl
mov edi, dword [ebx + 8]
add esi, 0x714
xor edx, edx
mov dword [ebx + 0x20], 0
add esi, eax
nop word [eax + eax]
mov eax, dword [esi]
add eax, 0xffff
shr eax, 0x10
test eax, eax
je 0x4eefbe
mov ecx, 0xa
sub ecx, eax
mov eax, 1
shl eax, cl
jmp 0x4eefc3
mov eax, 1
mov dword [edx + edi], eax
add esi, 8
mov edi, dword [ebx + 8]
mov eax, dword [edx + edi]
add edx, 4
add dword [ebx + 0x20], eax
cmp edx, 0xd0
jbe 0x4eefa0
mov esi, dword [ebx + 0x3c]
mov eax, 4
movzx ecx, word [esi + 0x408]
test ecx, ecx
je 0x4eeff3
dec ecx
shl eax, cl
mov edi, dword [ebx + 0xc]
add esi, 0x410
xor edx, edx
mov dword [ebx + 0x24], 0
add esi, eax
nop word [eax + eax]
mov eax, dword [esi]
add eax, 0xffff
shr eax, 0x10
test eax, eax
je 0x4ef02e
mov ecx, 0xa
sub ecx, eax
mov eax, 1
shl eax, cl
jmp 0x4ef033
mov eax, 1
mov dword [edx + edi], eax
add esi, 8
mov edi, dword [ebx + 0xc]
mov eax, dword [edx + edi]
add edx, 4
add dword [ebx + 0x24], eax
cmp edx, 0x7c
jbe 0x4ef010
jmp 0x4ef453
cmp ecx, 2
je 0x4ef0c2
mov ecx, dword [ebx]
push edx
push esi
lea edx, [ebp - 0x98]
mov dword [ebp - 0x98], 0xff
call fcn.004fc1d0
mov eax, dword [ebx]
add esp, 8
xor edx, edx
xor esi, esi
xor edi, edi
mov ebx, eax
nop word [eax + eax]
mov eax, dword [ebx + esi*4]
xor ecx, ecx
cmp ecx, eax
sbb ecx, ecx
shr eax, 8
neg ecx
add ecx, eax
mov eax, dword [ebx + esi*4 + 4]
add edx, ecx
mov dword [ebx + esi*4], ecx
xor ecx, ecx
cmp ecx, eax
sbb ecx, ecx
shr eax, 8
neg ecx
add ecx, eax
mov dword [ebx + esi*4 + 4], ecx
add edi, ecx
add esi, 2
cmp esi, 0x100
jb 0x4ef080
mov ebx, dword [ebp - 0x9c]
add edx, edi
mov dword [ebx + 0x18], edx
mov edi, dword [ebx + 4]
lea esi, [ebp - 0x94]
mov dword [ebp - 0x94], 4
mov ecx, 0x24
mov dword [ebp - 0x90], 2
mov edx, 0x24
mov dword [ebp - 0x8c], 1
mov dword [ebp - 0x88], 1
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x78], 1
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x6c], 1
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x60], 1
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], 1
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 1
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x94]
call fcn.004eec60
mov edi, dword [ebx + 8]
lea esi, [ebx + 8]
xor edx, edx
mov dword [ebx + 0x1c], eax
lea ecx, [edi + 0xd0]
cmp edi, esi
ja 0x4ef206
cmp ecx, esi
jae 0x4ef214
mov edx, 0x34
mov eax, 1
mov ecx, edx
rep stosd dword es:[edi], eax
mov eax, dword [esi]
mov dword [eax + edx*4], 1
inc edx
cmp edx, 0x34
jbe 0x4ef214
mov eax, dword [ebx + 0xc]
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x84], 6
mov edx, 0x20
mov dword [ebp - 0x80], 2
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x78], 1
mov dword [ebp - 0x74], 2
mov dword [ebp - 0x70], 3
mov dword [ebp - 0x6c], 4
mov dword [ebp - 0x68], 4
mov dword [ebp - 0x64], 4
mov dword [ebp - 0x60], 3
mov dword [ebp - 0x5c], 2
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], 1
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 1
mov dword [ebx + 0x20], 0x35
mov dword [eax], 6
mov dword [eax + 4], 2
mov dword [eax + 8], 1
mov dword [eax + 0xc], 1
mov dword [eax + 0x10], 2
mov dword [eax + 0x14], 3
mov dword [eax + 0x18], 4
mov dword [eax + 0x1c], 4
mov dword [eax + 0x20], 4
mov dword [eax + 0x24], 3
mov dword [eax + 0x28], 2
mov dword [eax + 0x2c], 1
mov dword [eax + 0x30], 1
mov dword [eax + 0x34], 1
mov dword [eax + 0x38], 1
mov dword [eax + 0x3c], 1
mov dword [eax + 0x40], 1
mov dword [eax + 0x44], 1
mov dword [eax + 0x48], 1
mov dword [eax + 0x4c], 1
mov dword [eax + 0x50], 1
mov dword [eax + 0x54], 1
mov dword [eax + 0x58], 1
mov dword [eax + 0x5c], 1
mov dword [eax + 0x60], 1
mov dword [eax + 0x64], 1
mov dword [eax + 0x68], 1
mov dword [eax + 0x6c], 1
mov dword [eax + 0x70], 1
mov dword [eax + 0x74], 1
mov dword [eax + 0x78], 1
mov dword [eax + 0x7c], 1
call fcn.004eec60
jmp 0x4ef450
cmp ecx, 2
je 0x4ef41a
mov ecx, dword [ebx]
mov edx, 0xff
push 0xc
call fcn.004eed20
add esp, 4
mov dword [ebx + 0x18], eax
mov ecx, dword [ebx + 4]
mov edx, 0x23
push 0xb
call fcn.004eed20
mov ecx, dword [ebx + 8]
mov edx, 0x34
push 0xb
mov dword [ebx + 0x1c], eax
call fcn.004eed20
mov ecx, dword [ebx + 0xc]
mov edx, 0x1f
push 0xb
mov dword [ebx + 0x20], eax
call fcn.004eed20
add esp, 0xc
mov dword [ebx + 0x24], eax
mov edx, dword [ebp + 0xc]
mov ecx, ebx
call fcn.004eebd0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00511339
mov esp, ebp
pop ebp
ret