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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x12
push 0
push 0
dec ecx
jne 0x4ee944
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4eefe3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x6c]
call fcn.004ed7b0
cmp byte [ebx + 0x60], 0
jne 0x4ee98c
mov eax, dword [ebx + 0x6c]
call fcn.0041cda8
test eax, eax
jne 0x4ee983
mov dl, 2
mov eax, ebx
call fcn.004efb68
jmp 0x4ee98c
mov dl, 1
mov eax, ebx
call fcn.004efb68
mov eax, dword [ebx + 0x6c]
call fcn.0041cda8
mov esi, eax
sub esi, 1
jno 0x4ee9a0
call fcn.00404720
test esi, esi
jl 0x4eea72
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [ebx + 0x6c]
call fcn.004ed8c8
mov edx, dword [eax + 0x10]
lea eax, [ebp - 8]
call fcn.004057e8
cmp dword [ebp - 8], 0
je 0x4eea6a
cmp byte [ebx + 0x60], 1
jne 0x4eea2e
push 0
mov eax, 0x4eeffc
mov dword [ebp - 0x28], eax
mov eax, 0x4ef00c
mov dword [ebp - 0x24], eax
mov eax, 0x4ef01c
mov dword [ebp - 0x20], eax
mov eax, 0x4ef02c
mov dword [ebp - 0x1c], eax
mov eax, 0x4ef03c
mov dword [ebp - 0x18], eax
mov eax, 0x4ef058
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x28]
mov ecx, 5
mov eax, dword [ebp - 8]
call fcn.004782d0
inc eax
jne 0x4eea6a
mov edx, edi
mov eax, dword [ebx + 0x6c]
call fcn.004ed8c8
add eax, 0x10
mov edx, 0x4ef02c
call fcn.004057a4
jmp 0x4eea6a
push 0
mov eax, 0x4ef06c
mov dword [ebp - 0x30], eax
mov eax, 0x4ef078
mov dword [ebp - 0x2c], eax
lea edx, [ebp - 0x30]
mov ecx, 1
mov eax, dword [ebp - 8]
call fcn.004782d0
inc eax
jne 0x4eea6a
mov edx, edi
mov eax, dword [ebx + 0x6c]
call fcn.004ed8c8
add eax, 0x10
mov edx, 0x4ef06c
call fcn.004057a4
inc edi
dec esi
jne 0x4ee9ab
mov eax, dword [ebx + 0x6c]
call fcn.0041cda8
test eax, eax
jle 0x4eeab9
cmp dword [ebx + 0x48], 0
je 0x4eeab9
push 0
mov eax, 0x4eeffc
mov dword [ebp - 0x3c], eax
mov eax, 0x4ef00c
mov dword [ebp - 0x38], eax
mov eax, 0x4ef01c
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x3c]
mov ecx, 2
mov eax, dword [ebx + 0x48]
call fcn.004782d0
inc eax
jne 0x4eeab9
lea eax, [ebx + 0x48]
call fcn.00405750
cmp byte [ebx + 0x60], 1
jne 0x4eeb4e
mov eax, dword [ebx + 0x70]
call fcn.004ee28c
lea edx, [ebp - 0xc]
mov eax, dword [0x4eae6c]
call fcn.004eb048
or ecx, 0xffffffff
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x70]
call fcn.004ee52c
mov eax, dword [ebx + 0x44]
call fcn.00405a20
test eax, eax
jne 0x4eeb41
mov eax, dword [ebx + 0x6c]
cmp dword [eax + 0x2c], 1
jle 0x4eeb1f
cmp dword [eax + 0x20], 0
jle 0x4eeb10
lea eax, [ebx + 0x44]
mov edx, 0x4ef084
call fcn.004057a4
jmp 0x4eeb41
lea eax, [ebx + 0x44]
mov edx, 0x4ef09c
call fcn.004057a4
jmp 0x4eeb41
cmp dword [eax + 0x20], 0
jle 0x4eeb34
lea eax, [ebx + 0x44]
mov edx, 0x4ef084
call fcn.004057a4
jmp 0x4eeb41
lea eax, [ebx + 0x44]
mov edx, 0x4ef0bc
call fcn.004057a4
mov eax, dword [ebx + 0x6c]
mov eax, dword [eax + 0x24]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 4]
lea ecx, [ebp - 4]
lea edx, [ebp - 0xd]
mov eax, ebx
call fcn.004efbc0
mov edx, dword [ebx + 0x68]
mov eax, dword [ebx + 0xc0]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp byte [ebx + 0x60], 1
jne 0x4eeb85
mov eax, dword [ebx + 0x6c]
call fcn.0041cda8
dec eax
jne 0x4eeb85
mov eax, ebx
call fcn.004ee888
test al, al
jne 0x4eeb89
xor eax, eax
jmp 0x4eeb8b
mov al, 1
mov byte [ebx + 0xc6], al
mov esi, dword [ebx + 0xc0]
push 1
push 0
push 0
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 4]
movzx edx, byte [ebp - 0xd]
mov eax, dword [ebx + 0x64]
call fcn.004e4c90
mov ecx, dword [ebp - 0x40]
mov edx, 0x4ef0d0
mov eax, esi
call fcn.004e1d08
mov eax, dword [ebp - 4]
push eax
push 0
push 0
lea eax, [ebp - 0x44]
push eax
movzx ecx, byte [ebp - 0xd]
xor edx, edx
mov eax, dword [ebx + 0x90]
call fcn.004e540c
mov ecx, dword [ebp - 0x44]
mov edx, 0x4ef0e0
mov eax, esi
call fcn.004e1d08
push 0
push 0
push 0
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 4]
movzx edx, byte [ebp - 0xd]
mov eax, dword [ebx + 0x98]
call fcn.004e4c90
mov ecx, dword [ebp - 0x48]
mov edx, 0x4ef0f0
mov eax, esi
call fcn.004e1d08
push 0
push 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 4]
movzx edx, byte [ebp - 0xd]
mov eax, dword [ebx + 0x40]
call fcn.004e4c90
mov ecx, dword [ebp - 0x4c]
mov edx, 0x4ef0fc
mov eax, esi
call fcn.004e1d08
cmp byte [ebx + 0xc5], 0
jne 0x4eec57
xor ecx, ecx
mov edx, 0x4ef108
mov eax, esi
call fcn.004e1d08
jmp 0x4eec7f
push 0
push 0
push 0
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 4]
movzx edx, byte [ebp - 0xd]
mov eax, dword [ebx + 0x34]
call fcn.004e4c90
mov ecx, dword [ebp - 0x50]
mov edx, 0x4ef108
mov eax, esi
call fcn.004e1d08
lea edx, [ebp - 0x54]
mov eax, dword [ebx + 0x78]
call fcn.0041d680
mov ecx, dword [ebp - 0x54]
mov edx, 0x4ef114
mov eax, esi
call fcn.004e1d08
cmp byte [ebx + 0x60], 1
jne 0x4eedb4
cmp byte [ebx + 0xc6], 0
je 0x4eecec
mov ecx, 0x4ef128
mov edx, 0x4ef134
mov eax, esi
call fcn.004e1d08
xor ecx, ecx
mov edx, 0x4ef14c
mov eax, esi
call fcn.004e1d08
xor ecx, ecx
mov edx, 0x4ef164
mov eax, esi
call fcn.004e1d08
xor ecx, ecx
mov edx, 0x4ef188
mov eax, esi
call fcn.004e1d08
jmp 0x4eedd2
mov ecx, dword [ebx + 0x44]
mov edx, 0x4ef14c
mov eax, esi
call fcn.004e1d08
cmp dword [ebx + 0x3c], 0
jbe 0x4eed4b
lea ecx, [ebp - 0x5c]
mov edx, 0x4ef14c
mov eax, esi
call fcn.004e1af4
push dword [ebp - 0x5c]
push 0x4ef1a4
push 0x4ef1b0
push 0x4ef1bc
push 0x4ef1c8
push dword [ebx + 0x3c]
push 0x4ef1dc
lea eax, [ebp - 0x58]
mov edx, 7
call fcn.00405ae4
mov ecx, dword [ebp - 0x58]
mov edx, 0x4ef14c
mov eax, esi
call fcn.004e1d08
mov eax, dword [ebx + 0x6c]
call fcn.0041cda8
test eax, eax
jle 0x4eed92
lea ecx, [ebp - 0x64]
mov edx, 0x4ef14c
mov eax, esi
call fcn.004e1af4
push dword [ebp - 0x64]
push 0x4ef1e8
push dword [ebp - 0xc]
push 0x4ef1dc
lea eax, [ebp - 0x60]
mov edx, 4
call fcn.00405ae4
mov ecx, dword [ebp - 0x60]
mov edx, 0x4ef14c
mov eax, esi
call fcn.004e1d08
mov ecx, 0x4ef128
mov edx, 0x4ef134
mov eax, esi
call fcn.004e1d08
mov ecx, dword [ebx + 0x48]
mov edx, 0x4ef164
mov eax, esi
call fcn.004e1d08
jmp 0x4eedd2
mov ecx, dword [ebx + 0x48]
mov edx, 0x4ef164
mov eax, esi
call fcn.004e1d08
mov ecx, dword [ebx + 0x44]
mov edx, 0x4ef14c
mov eax, esi
call fcn.004e1d08
lea edx, [ebp - 0x68]
mov eax, dword [ebx + 0xa8]
call fcn.004e25e0
mov ecx, dword [ebp - 0x68]
mov edx, 0x4ef200
mov eax, esi
call fcn.004e1d08
push 0
push 0
push 0
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 4]
movzx edx, byte [ebp - 0xd]
mov eax, dword [ebx + 0xa4]
call fcn.004e4c90
mov ecx, dword [ebp - 0x6c]
mov edx, 0x4ef210
mov eax, esi
call fcn.004e1d08
mov eax, dword [ebp - 4]
push eax
push 0
push 0
lea eax, [ebp - 0x70]
push eax
movzx ecx, byte [ebp - 0xd]
xor edx, edx
mov eax, dword [ebx + 0x88]
call fcn.004e540c
mov ecx, dword [ebp - 0x70]
mov edx, 0x4ef224
mov eax, esi
call fcn.004e1d08
push 0
push 0
push 0
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [ebp - 4]
movzx edx, byte [ebp - 0xd]
mov eax, dword [ebx + 0x94]
call fcn.004e42f4
mov ecx, dword [ebp - 0x74]
mov edx, 0x4ef23c
mov eax, esi
call fcn.004e1d08
mov ecx, dword [ebx + 0x9c]
mov edx, 0x4ef260
mov eax, esi
call fcn.004e1d08
mov eax, ebx
call fcn.004efb00
test al, al
je 0x4eeeb5
call fcn.0040cfb0
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x78]
xor eax, eax
call fcn.00479ee8
mov ecx, dword [ebp - 0x78]
mov edx, 0x4ef274
mov eax, esi
call fcn.004e1d08
jmp 0x4eeed4
push dword [ebx + 0x54]
push dword [ebx + 0x50]
lea edx, [ebp - 0x7c]
xor eax, eax
call fcn.00479ee8
mov ecx, dword [ebp - 0x7c]
mov edx, 0x4ef274
mov eax, esi
call fcn.004e1d08
cmp byte [ebx + 0x8c], 2
je 0x4eef07
lea edx, [ebp - 0x80]
movzx eax, byte [ebx + 0x8c]
add eax, 1
jno 0x4eeef1
call fcn.00404720
call fcn.0040a5d8
mov ecx, dword [ebp - 0x80]
mov edx, 0x4ef284
mov eax, esi
call fcn.004e1d08
jmp 0x4eef2c
mov edx, 0x4ef284
mov eax, esi
call fcn.004e1c78
test eax, eax
jl 0x4eef2c
mov edx, 0x4ef284
mov eax, esi
call fcn.004e1c78
mov edx, eax
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebx + 0x5c]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4eef42
mov edx, dword [ebx + 0x5c]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x40]
lea edx, [ebp - 0x84]
mov eax, ebx
call fcn.004efc60
cmp dword [ebp - 0x84], 0
jne 0x4eef99
lea ecx, [ebp - 0x88]
mov edx, 0x4ef298
mov eax, esi
call fcn.004e1af4
cmp dword [ebp - 0x88], 0
je 0x4eefb8
lea ecx, [ebp - 0x8c]
mov edx, 0x4ef298
mov eax, esi
call fcn.004e1af4
mov ecx, dword [ebp - 0x8c]
mov edx, 0x4ef2ac
mov eax, esi
call fcn.004e1d08
jmp 0x4eefb8
lea edx, [ebp - 0x90]
mov eax, ebx
call fcn.004efc60
mov ecx, dword [ebp - 0x90]
mov edx, 0x4ef2ac
mov eax, esi
call fcn.004e1d08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4eefea
lea eax, [ebp - 0x90]
mov edx, 0x15
call fcn.00405774
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405774
ret