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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x72f182
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x820ac4]
xor eax, esp
mov dword [esp + 0x188], eax
push ebx
push esi
push edi
mov eax, dword [0x820ac4]
xor eax, esp
push eax
lea eax, [esp + 0x1a0]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
push ebx
call fcn.004ee7f0
mov edi, dword [ebx + 0xb0]
lea eax, [esp + 0x5c]
push eax
xor esi, esi
mov byte [esp + 0x20], 0
call fcn.0045549c
lea eax, [esp + 0x30]
mov dword [esp + 0x1a8], esi
mov edi, dword [ebx + 0xb0]
push eax
call fcn.0045549c
mov byte [esp + 0x1a8], 1
cmp byte [ebx + 0x34], 0
mov byte [esp + 0x1e], 0
jne 0x4eeebf
cmp dword [ebx + 0x158], esi
je 0x4eeebf
sub esp, 0x1c
lea eax, [ebx + 0x144]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
push ecx
call fcn.00452842
call fcn.00455690
add esp, 0x1c
test al, al
je 0x4eeebf
mov byte [esp + 0x1e], 1
lea eax, [ebx + 0x38]
mov dword [ebx + 0x74], esi
mov byte [esp + 0x1b], 0
mov dword [esp + 0x24], esi
call fcn.004bca88
mov edi, eax
lea eax, [esp + 0x148]
push eax
call fcn.0040d1f5
push eax
push edi
lea eax, [esp + 0xa4]
push eax
call fcn.004f28a0
mov byte [esp + 0x1a8], 2
mov eax, ebx
mov dword [esp + 0x10], esi
call fcn.004e8414
test eax, eax
jbe 0x4ef69e
mov eax, ebx
call fcn.004e8414
test eax, eax
je 0x4eef31
mov eax, ebx
call fcn.004e8414
mov ecx, eax
mov eax, dword [esp + 0x10]
inc eax
imul eax, eax, 0x3e8
xor edx, edx
div ecx
jmp 0x4eef36
mov eax, 0x3e8
mov dword [ebx + 0x74], eax
mov al, byte [ebx + 0x95]
test al, al
jne 0x4ef699
mov byte [esp + 0x1d], al
lea eax, [esp + 0x170]
push eax
call fcn.0040d1f5
cmp byte [esp + 0x1e], 0
je 0x4ef03c
push dword [esp + 0x10]
push dword [ebx + 0x140]
call fcn.0051641f
test al, al
je 0x4ef03c
push dword [esp + 0x10]
push dword [ebx + 0x140]
call fcn.00516d89
test al, al
je 0x4ef03c
push dword [esp + 0x10]
push dword [ebx + 0x140]
call fcn.005170cf
test al, al
je 0x4ef03c
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x14]
lea eax, [ebx + 0x144]
push dword [ebx + 0x140]
push eax
call fcn.00518f3d
test al, al
je 0x4ef03c
xor edi, edi
cmp dword [esp + 0x34], edi
mov byte [esp + 0x1d], 1
je 0x4eefdc
mov edi, dword [esp + 0x38]
sub edi, dword [esp + 0x34]
push 0
lea esi, [esp + 0x34]
call fcn.004a0018
lea ecx, [esp + 0x134]
push 1
push ecx
mov esi, eax
call fcn.00461034
cmp dword [esp + 0x3c], 0
pop ecx
pop ecx
push 5
pop ecx
mov esi, eax
lea edi, [esp + 0x170]
rep movsd dword es:[edi], dword [esi]
jne 0x4ef013
xor edi, edi
jmp 0x4ef01b
mov edi, dword [esp + 0x38]
sub edi, dword [esp + 0x34]
push 0
lea esi, [esp + 0x34]
call fcn.004a0018
push edi
push eax
push 0
lea esi, [esp + 0x68]
call fcn.004a0018
push eax
call fcn.0054d050
add esp, 0xc
xor edi, edi
push edi
push dword [esp + 0x14]
mov byte [esp + 0x27], 0
push edi
push dword [ebx + 0xb0]
call fcn.0054eab0
push edi
lea esi, [esp + 0x60]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
call fcn.004a0018
mov dword [esp + 0x14], eax
lea eax, [esp + 0x1f]
push eax
push dword [esp + 0x14]
mov esi, ebx
call fcn.004e83c7
push eax
push dword [esp + 0x88]
lea eax, [ebx + 0x14]
push dword [esp + 0x88]
push dword [esp + 0x24]
push eax
call fcn.0051364b
mov byte [esp + 0x1a], al
lea eax, [esp + 0x184]
push eax
call fcn.0040d1f5
cmp byte [esp + 0x1a], 0
je 0x4ef614
cmp byte [esp + 0x1f], 0
jne 0x4ef0ff
push edi
lea esi, [esp + 0x60]
call fcn.004a0018
push 1
push dword [esp + 0x14]
mov esi, ebx
mov dword [esp + 0x1c], eax
call fcn.004e83c7
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x160]
push ecx
mov edi, eax
call fcn.00461034
pop ecx
pop ecx
push 5
pop ecx
mov esi, eax
lea edi, [esp + 0x184]
rep movsd dword es:[edi], dword [esi]
xor edi, edi
lea eax, [esp + 0x184]
push eax
mov eax, dword [esp + 0x14]
lea esi, [ebx + 0x12c]
push esi
call fcn.00517f0a
test al, al
jne 0x4ef210
cmp byte [esp + 0x1d], al
je 0x4ef210
lea eax, [esp + 0x170]
push eax
mov eax, dword [esp + 0x14]
push esi
call fcn.00517f0a
test al, al
je 0x4ef210
xor eax, eax
push eax
push dword [esp + 0x14]
push edi
push dword [ebx + 0xb0]
call fcn.0054eab0
push edi
lea esi, [esp + 0x34]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edx
call fcn.004a0018
push edi
push dword [esp + 0x14]
mov esi, ebx
mov dword [esp + 0x1c], eax
call fcn.004e83c7
push eax
push dword [esp + 0x90]
lea eax, [ebx + 0x14]
push dword [esp + 0x90]
push dword [esp + 0x24]
push eax
call fcn.00513734
test al, al
je 0x4ef210
push 5
pop ecx
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x11c]
lea esi, [esp + 0x174]
lea edi, [esp + 0x188]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0044e84a
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
push 0x7c49cc
push ecx
mov byte [esp + 0x1d0], 3
call fcn.00424625
add esp, 0xc
xor esi, esi
lea edi, [ebx + 0x38]
call fcn.00439fab
mov eax, dword [eax]
push dword [eax + 8]
call fcn.004f98de
push esi
push 1
lea ecx, [esp + 0x120]
mov byte [esp + 0x1b0], 2
call fcn.00407277
xor edi, edi
lea eax, [esp + 0x184]
push eax
lea eax, [ebx + 0x12c]
push eax
mov eax, dword [esp + 0x18]
call fcn.00517f0a
test al, al
je 0x4ef614
push dword [esp + 0x10]
lea esi, [ebx + 0x98]
call fcn.004a0018
mov cl, byte [eax]
push dword [esp + 0x10]
and cl, 0xfe
or cl, 2
mov byte [eax], cl
push dword [ebx + 0x140]
call fcn.0051641f
test al, al
je 0x4ef3e0
push dword [esp + 0x10]
push dword [ebx + 0x140]
call fcn.00516d89
test al, al
jne 0x4ef324
mov edi, dword [esp + 0x10]
push edi
mov esi, ebx
call fcn.004e83c7
push eax
xor eax, eax
push eax
push edi
push eax
push dword [ebx + 0xb0]
call fcn.0054eab0
push edx
push eax
push edi
push dword [ebx + 0x140]
call fcn.00516b2a
push 0
lea esi, [esp + 0x60]
call fcn.004a0018
push edi
mov esi, ebx
mov dword [esp + 0x18], eax
call fcn.004e83c7
push eax
push 0
push dword [esp + 0x1c]
lea ecx, [ebx + 0x144]
push edi
push dword [ebx + 0x140]
call fcn.005191a2
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x100]
push eax
call fcn.0044e84a
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
push 0x7c49f8
push ecx
mov byte [esp + 0x1d0], 4
call fcn.00424625
add esp, 0xc
xor esi, esi
lea edi, [ebx + 0x38]
call fcn.00439fab
mov eax, dword [eax]
push dword [eax + 8]
call fcn.004f98de
lea ecx, [esp + 0xfc]
jmp 0x4ef3cd
cmp byte [esp + 0x1d], 0
je 0x4ef3e0
lea eax, [esp + 0x170]
push eax
lea eax, [ebx + 0x12c]
push eax
mov eax, dword [esp + 0x18]
call fcn.00517f0a
test al, al
jne 0x4ef3e0
push 0
lea esi, [esp + 0x60]
call fcn.004a0018
push dword [esp + 0x10]
mov esi, ebx
mov edi, eax
call fcn.004e83c7
push eax
push 0
push edi
push dword [esp + 0x1c]
lea ecx, [ebx + 0x144]
push dword [ebx + 0x140]
call fcn.005191a2
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0xe4]
push eax
call fcn.0044e84a
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
push 0x7c4a20
push ecx
mov byte [esp + 0x1d0], 5
call fcn.00424625
add esp, 0xc
xor esi, esi
lea edi, [ebx + 0x38]
call fcn.00439fab
mov eax, dword [eax]
push dword [eax + 8]
call fcn.004f98de
lea ecx, [esp + 0xe0]
push 0
push 1
mov byte [esp + 0x1b0], 2
call fcn.00407277
xor edi, edi
cmp byte [esp + 0x1b], 0
jne 0x4ef677
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x1ac], 6
push dword [esp + 0x14]
mov esi, ebx
call fcn.004e83c7
push edi
push eax
xor eax, eax
push eax
push dword [esp + 0x20]
push edi
push dword [ebx + 0xb0]
call fcn.0054eab0
push edx
push eax
lea ecx, [ebx + 0x14]
call fcn.00512092
mov esi, dword [esp + 0x50]
cmp esi, dword [esp + 0x54]
mov dword [esp + 0x40], edi
jbe 0x4ef441
call fcn.0054b876
lea eax, [esp + 0x4c]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], esi
mov dword [esp + 0x8c], eax
mov esi, dword [esp + 0x54]
cmp dword [esp + 0x50], esi
jbe 0x4ef463
call fcn.0054b876
mov dword [esp + 0x90], esi
lea edi, [esp + 0x8c]
lea esi, [esp + 0x6c]
call fcn.0044de3a
test al, al
je 0x4ef601
call fcn.004b0a79
mov esi, dword [eax]
lea edi, [ebx + 0x38]
mov dword [esp + 0x20], eax
call fcn.00439fab
mov ecx, dword [eax]
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x14]
mov esi, dword [eax + 0x10]
mov edi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0xb8], edx
mov dword [esp + 0x48], edx
mov edx, dword [ecx + 0x20]
mov dword [esp + 0x14], ecx
mov ecx, dword [ecx + 0x24]
cmp eax, ecx
mov dword [esp + 0x44], esi
mov dword [esp + 0xac], edi
ja 0x4ef5ec
jb 0x4ef4d9
cmp edi, edx
ja 0x4ef5ec
add edi, esi
mov esi, eax
adc esi, dword [esp + 0xb8]
mov dword [esp + 0xbc], edi
cmp esi, ecx
jb 0x4ef506
ja 0x4ef4f5
cmp edi, edx
jbe 0x4ef506
sub edx, dword [esp + 0xac]
sbb ecx, eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ecx
cmp dword [esp + 0x24], 0
jne 0x4ef546
push 0x20
call fcn.005416ba
mov edi, eax
pop ecx
mov dword [esp + 0x24], edi
test edi, edi
mov byte [esp + 0x1a8], 7
je 0x4ef538
mov eax, dword [esp + 0x14]
push dword [eax + 0x24]
push dword [eax + 0x20]
call fcn.00540e24
jmp 0x4ef53a
xor eax, eax
mov byte [esp + 0x1a8], 6
mov dword [esp + 0x24], eax
push dword [esp + 0x40]
lea esi, [esp + 0x60]
call fcn.004a0018
push dword [esp + 0x44]
mov esi, dword [esp + 0x28]
push eax
call fcn.00540e73
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 8]
add eax, dword [esp + 0x44]
mov ecx, dword [edx + 0xc]
mov edi, dword [esp + 0x14]
adc ecx, dword [esp + 0x48]
cmp eax, dword [edi + 0x20]
jne 0x4ef5e5
cmp ecx, dword [edi + 0x24]
jne 0x4ef5e5
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp edx, eax
mov ecx, dword [esi + 4]
jne 0x4ef5a9
mov edx, dword [esi + 0xc]
cmp edx, ecx
jne 0x4ef5a9
or eax, ecx
je 0x4ef5a9
add esi, 0x18
lea edi, [esp + 0xc4]
call fcn.00461bea
jmp 0x4ef5b6
lea eax, [esp + 0xc4]
push eax
call fcn.0040d1f5
mov eax, dword [esp + 0x20]
push dword [eax]
lea esi, [esp + 0xa0]
call fcn.005326e4
push 5
mov edi, eax
pop ecx
lea eax, [esp + 0x24]
lea esi, [esp + 0xc4]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.004f38c3
mov edx, dword [esp + 0x24]
pop ecx
mov eax, dword [edx + 0x10]
add dword [esp + 0x40], eax
lea edi, [esp + 0xd8]
lea esi, [esp + 0x6c]
call fcn.004f2147
jmp 0x4ef454
lea esi, [esp + 0x4c]
mov byte [esp + 0x1a8], 2
call fcn.00519c69
jmp 0x4ef677
push dword [esp + 0x10]
lea esi, [ebx + 0x98]
mov byte [esp + 0x1f], 1
call fcn.004a0018
push dword [esp + 0x10]
and byte [eax], 0xfc
push dword [ebx + 0x140]
call fcn.0051641f
test al, al
je 0x4ef677
push dword [esp + 0x10]
push dword [ebx + 0x140]
call fcn.00516d89
test al, al
je 0x4ef677
push dword [esp + 0x10]
push dword [ebx + 0x140]
call fcn.00515fd0
mov eax, dword [ebx + 0x140]
push edi
push edi
push edi
push 0xffffffffffffffff
push eax
lea ecx, [ebx + 0x144]
call fcn.005191a2
push dword [esp + 0x10]
mov esi, ebx
call fcn.004ea7b6
inc dword [esp + 0x10]
mov eax, ebx
call fcn.004e8414
cmp dword [esp + 0x10], eax
jb 0x4eef0c
jmp 0x4ef69e
mov byte [esp + 0x1c], 1
lea eax, [esp + 0x24]
push eax
call fcn.004f38c3
cmp byte [esp + 0x20], 0
pop ecx
jne 0x4ef77e
cmp byte [esp + 0x1b], 0
jne 0x4ef77e
lea edi, [ebx + 0x38]
push dword [edi + 4]
lea esi, [esp + 0x2c]
call fcn.0042dad8
jmp 0x4ef75c
lea esi, [esp + 0x28]
call fcn.004b0a79
mov eax, dword [eax]
lea edi, [ebx + 0x38]
push dword [edi + 4]
lea esi, [esp + 0x98]
mov dword [esp + 0x18], eax
call fcn.0042dad8
cmp dword [esp + 0x28], 0
je 0x4ef708
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x94]
je 0x4ef70d
call fcn.0054b876
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x98]
lea esi, [esp + 0x9c]
sar eax, 2
push eax
call fcn.005326e4
mov edi, dword [esp + 0x14]
push 5
add edi, 0x80
cmp dword [esp + 0x2c], 0
pop ecx
mov esi, eax
rep movsd dword es:[edi], dword [esi]
jne 0x4ef745
call fcn.0054b876
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
cmp eax, dword [ecx + 8]
jb 0x4ef757
call fcn.0054b876
add dword [esp + 0x2c], 4
lea edi, [ebx + 0x38]
push dword [edi + 8]
lea esi, [esp + 0x78]
call fcn.0042dad8
mov edi, esi
lea esi, [esp + 0x28]
call fcn.0044de3a
test al, al
jne 0x4ef6d3
push ebx
call fcn.004ea406
xor esi, esi
mov eax, ebx
xor edi, edi
mov dword [esp + 0x20], esi
call fcn.004e8414
test eax, eax
jbe 0x4ef7c3
lea esi, [ebx + 0x98]
push dword [esp + 0x20]
call fcn.004a0018
call fcn.004e8399
test al, al
je 0x4ef7b0
inc edi
inc dword [esp + 0x20]
mov eax, ebx
call fcn.004e8414
cmp dword [esp + 0x20], eax
jb 0x4ef79d
xor esi, esi
push dword [ebx + 0x140]
mov dword [ebx + 0xb8], edi
call fcn.005160c3
push ebx
call fcn.004ee89c
lea eax, [esp + 0x1a]
push eax
add ebx, 0x14
push ebx
mov byte [esp + 0x22], 0
call fcn.00514ac0
cmp byte [esp + 0x1c], 0
sete bl
cmp dword [esp + 0xa0], esi
je 0x4ef80b
push dword [esp + 0xa0]
call fcn.005416e5
pop ecx
mov byte [esp + 0x1a8], 0
cmp dword [esp + 0x34], esi
je 0x4ef82b
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x34]
push dword [esp + 0x34]
call fcn.0045e6eb
pop ecx
or dword [esp + 0x1a8], 0xffffffff
cmp dword [esp + 0x60], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
je 0x4ef857
mov ecx, dword [esp + 0x68]
sub ecx, dword [esp + 0x60]
push dword [esp + 0x60]
call fcn.0045e6eb
pop ecx
mov al, bl
mov ecx, dword [esp + 0x1a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x188]
xor ecx, esp
call fcn.0054ae61
mov esp, ebp
pop ebp
ret 4