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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x52efc6
push eax
mov eax, 0x13a0
mov dword fs:[0], esp
call fcn.00515b70
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x220]
mov dword [esp + 0x18], esi
call fcn.004cf820
xor edi, edi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x13b8], edi
call fcn.004974f0
mov eax, dword [esp + 0x13c8]
or ebp, 0xffffffff
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x7c]
cmp eax, ebp
mov byte [esp + 0x13b8], 1
mov dword [esp + 0x74], edi
mov dword [esp + 0x48], edi
je 0x4eebe9
mov eax, dword [esi + 0x78]
cmp eax, ebp
je 0x4eebe9
mov ecx, dword [esi + 0xcc]
push ecx
push eax
lea ecx, [esp + 0x228]
call fcn.004cffe0
cmp ax, di
jle 0x4eebe9
movsx eax, ax
xor edx, edx
cmp eax, edi
mov dword [esp + 0x40], edx
mov dword [esp + 0x80], eax
jle 0x4ee962
lea ebx, [esi + 0xe4]
mov dword [esp + 0x70], ebx
jmp 0x4ee42f
or ebp, 0xffffffff
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x120]
push edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x224]
stosb byte es:[edi], al
call fcn.004d0120
lea ecx, [esp + 0x220]
call fcn.004d0710
mov ecx, dword [esp + 0x48]
add ecx, eax
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x220]
call fcn.004d06f0
mov dword [esp + 0x3c], eax
lea edx, [esp + 0x3c]
lea eax, [esp + 0x38]
push edx
push eax
mov ecx, ebx
call fcn.004f0b00
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x38]
cmp ecx, eax
je 0x4ee4a2
mov edx, dword [esp + 0x3c]
mov edi, dword [ecx + 0xc]
cmp edx, edi
jb 0x4ee4a2
lea eax, [esp + 0x38]
jmp 0x4ee4aa
mov dword [esp + 0x78], eax
lea eax, [esp + 0x78]
mov eax, dword [eax]
mov ecx, dword [esi + 0xe8]
cmp eax, ecx
mov dword [esp + 0x7c], eax
je 0x4ee698
lea ecx, [esp + 0x7c]
call fcn.004efad0
mov edi, eax
mov al, byte [edi + 8]
add edi, 8
sub esp, 0x24
mov esi, esp
mov dword [esp + 0x40], esp
mov ecx, edi
mov dword [esp + 0x40], esi
mov byte [esi], al
call fcn.00495de0
test eax, eax
jge 0x4ee4eb
xor eax, eax
shl eax, 4
push eax
call fcn.00514b36
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [edi + 8]
mov edx, dword [edi + 4]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00495e00
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
add edi, 0x10
lea ecx, [esi + 0x10]
push edi
mov byte [esp + 0x13e0], 2
call fcn.0048bd10
lea ecx, [esp + 0x70]
mov byte [esp + 0x13dc], 1
call fcn.004976a0
lea ecx, [esp + 0x4c]
call fcn.00497ad0
test ax, ax
jle 0x4ee941
push 0
lea ecx, [esp + 0x50]
call fcn.00497a10
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4ee56c
mov edx, dword [eax + 8]
mov eax, dword [esp + 0x13c8]
sub edx, ecx
sar edx, 2
cmp eax, edx
jb 0x4ee577
mov dword [esp + 0x13c8], 0
mov eax, dword [esp + 0x13c8]
xor edi, edi
lea ebp, [eax + 1]
test ebp, ebp
jle 0x4ee625
push 0
lea ecx, [esp + 0x50]
call fcn.00497a10
mov eax, dword [eax + 4]
lea ecx, [eax + edi*4]
push ecx
lea ecx, [esp + 0x18]
call fcn.0048a5f0
lea ecx, [esp + 0x14]
mov byte [esp + 0x13b8], 3
xor esi, esi
call fcn.0048ab50
test ax, ax
jle 0x4ee60b
push 0
lea ecx, [esp + 0x50]
call fcn.00497a10
mov ebx, dword [eax + 4]
push esi
lea ecx, [esp + 0x18]
call fcn.0048a9e0
mov dl, al
mov ecx, ebx
mov byte [esp + 0x13], dl
call fcn.0048ab50
movsx edx, ax
imul edx, edi
mov al, byte [esp + 0x13]
add edx, esi
lea ecx, [esp + 0x14]
inc esi
mov byte [esp + edx + 0x120], al
call fcn.0048ab50
movsx ecx, ax
cmp esi, ecx
jl 0x4ee5be
mov ebx, dword [esp + 0x70]
lea ecx, [esp + 0x14]
mov byte [esp + 0x13b8], 1
call fcn.0048a720
inc edi
cmp edi, ebp
jl 0x4ee58b
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x15c]
test ecx, ecx
je 0x4ee674
xor edx, edx
mov dx, word [eax + 0x160]
mov eax, dword [esp + 0x258]
cmp edx, eax
jne 0x4ee941
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x44]
add ecx, 0x130
push eax
lea edx, [esp + 0x124]
push ecx
push edx
lea ecx, [esp + 0x22c]
call fcn.004cfc30
jmp 0x4ee941
mov ecx, dword [esp + 0x44]
add eax, 0x130
push ecx
lea edx, [esp + 0x124]
push eax
push edx
lea ecx, [esp + 0x22c]
call fcn.004cfc30
jmp 0x4ee941
lea eax, [esp + 0x4c]
push 0
push eax
lea ecx, [esp + 0x7c]
push 3
push ecx
mov ecx, dword [esi + 0xd4]
push 0
lea edx, [esp + 0x134]
push 0
lea eax, [esp + 0x238]
push edx
push eax
call fcn.004c56e0
test eax, eax
je 0x4ee945
push ebp
lea ecx, [esp + 0x124]
push 0
push ecx
lea ecx, [esp + 0x22c]
call fcn.004cfc30
lea ecx, [esp + 0xb0]
call fcn.0048a5e0
lea ecx, [esp + 0xb4]
mov byte [esp + 0x13b8], 4
call fcn.004974f0
push ecx
lea ecx, [esp + 0x50]
mov edx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x13c0], 5
call fcn.00497a20
lea ecx, [esp + 0xb4]
call fcn.0048a8d0
mov al, byte [esp + 0x4c]
sub esp, 0x24
mov esi, esp
mov dword [esp + 0x40], esp
lea ecx, [esp + 0x70]
mov dword [esp + 0x40], esi
mov byte [esi], al
call fcn.00495de0
test eax, eax
jge 0x4ee74b
xor eax, eax
shl eax, 4
push eax
call fcn.00514b36
add esp, 4
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00495e00
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
add esi, 0x10
lea eax, [esp + 0x80]
push eax
mov ecx, esi
mov byte [esp + 0x13e0], 6
call fcn.00493160
mov cl, byte [esp + 0x90]
mov byte [esp + 0x13dc], 5
mov byte [esi + 0x10], cl
lea ecx, [esp + 0xd8]
call fcn.004976a0
lea ecx, [esp + 0x220]
call fcn.004d06f0
mov dword [esp + 0x84], eax
lea eax, [esp + 0xb0]
lea edx, [esp + 0x88]
push eax
lea ecx, [esp + 0x8c]
mov dword [esp + 0x20], edx
call fcn.0048a5f0
lea ecx, [esp + 0x8c]
lea edx, [esp + 0xb4]
mov dword [esp + 0x34], ecx
push edx
lea ecx, [esp + 0x90]
mov byte [esp + 0x13bc], 7
call fcn.00495cf0
lea eax, [esp + 0xc4]
lea ecx, [esp + 0x9c]
push eax
mov byte [esp + 0x13bc], 8
call fcn.0048bd10
mov ecx, dword [esp + 0x84]
lea eax, [esp + 0x88]
mov dword [esp + 0xd8], ecx
lea edx, [esp + 0xdc]
push eax
lea ecx, [esp + 0xe0]
mov byte [esp + 0x13bc], 9
mov dword [esp + 0x38], edx
call fcn.0048a5f0
lea ecx, [esp + 0xe0]
lea edx, [esp + 0x8c]
mov dword [esp + 0x1c], ecx
push edx
lea ecx, [esp + 0xe4]
mov byte [esp + 0x13bc], 0xa
call fcn.00495cf0
lea eax, [esp + 0x9c]
lea ecx, [esp + 0xf0]
push eax
mov byte [esp + 0x13bc], 0xb
call fcn.0048bd10
lea ecx, [esp + 0xd8]
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, ebx
mov byte [esp + 0x13c0], 0xc
call fcn.004efda0
lea eax, [esp + 0xdc]
mov dword [esp + 0x34], eax
lea ecx, [esp + 0xe0]
mov byte [esp + 0x13b8], 0xd
call fcn.004975f0
lea ecx, [esp + 0xdc]
mov byte [esp + 0x13b8], 9
call fcn.0048a720
lea ecx, [esp + 0x88]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x8c]
mov byte [esp + 0x13b8], 0xe
call fcn.004975f0
lea ecx, [esp + 0x88]
mov byte [esp + 0x13b8], 5
call fcn.0048a720
lea ecx, [esp + 0xb4]
mov byte [esp + 0x13b8], 0xf
call fcn.004975f0
lea ecx, [esp + 0xb0]
mov byte [esp + 0x13b8], 1
call fcn.0048a720
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x80]
inc edx
cmp edx, eax
mov dword [esp + 0x40], edx
jl 0x4ee42c
or ebp, 0xffffffff
xor edi, edi
cmp word [esp + 0x3a4], 1
jb 0x4eebe9
mov eax, dword [esi + 0x15c]
mov dword [esp + 0x30], edi
cmp eax, edi
je 0x4ee990
xor edx, edx
lea eax, [esp + 0x30]
mov dx, word [esi + 0x160]
push edx
push eax
jmp 0x4ee996
lea ecx, [esp + 0x30]
push ebp
push ecx
lea ecx, [esp + 0x228]
call fcn.004cfa30
mov ebp, eax
xor edi, edi
cmp ebp, edi
jbe 0x4eebba
mov eax, dword [esp + 0x30]
mov ecx, eax
mov dword [esp + 0x14], eax
mov edx, eax
mov byte [esp + 0x17], al
shr ecx, 0x10
shr edx, 8
mov byte [esp + 0x15], cl
lea ecx, [esp + 0xd8]
shr eax, 0x18
mov byte [esp + 0x16], dl
mov byte [esp + 0x14], al
call fcn.00503cd0
mov edx, dword [esi + 0xcc]
lea ecx, [esp + 0xd8]
push edx
mov byte [esp + 0x13bc], 0x10
call fcn.004df390
test eax, eax
jne 0x4eea33
lea ecx, [esp + 0xd8]
mov byte [esp + 0x13b8], 1
call fcn.00503e30
lea ecx, [esp + 0x4c]
mov byte [esp + 0x13b8], 0
call fcn.004975f0
mov dword [esp + 0x13b8], 0xffffffff
jmp 0x4eec01
mov al, byte [esp + 0x13]
mov dword [esp + 0x24], edi
mov byte [esp + 0x20], al
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov edi, 0x55802c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
lea ecx, [esp + 0x24]
push ebx
call fcn.00408220
test al, al
je 0x4eea91
mov edi, dword [esp + 0x24]
mov ecx, ebx
mov edx, ecx
mov esi, 0x55802c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x28], ebx
mov byte [eax + ebx], 0
mov edx, dword [esi + 0x7c]
lea ecx, [esp + 0x20]
push ecx
push edx
lea eax, [esp + 0x1c]
push ebp
push eax
lea ecx, [esp + 0xe8]
mov byte [esp + 0x13c8], 0x11
call fcn.00503ed0
mov ecx, dword [esp + 0x28]
mov eax, dword [0x531160]
mov ebp, ecx
cmp eax, ebp
jae 0x4eeac5
mov ebp, eax
mov ebx, dword [esp + 0x13c0]
lea edx, [esp + 0x20]
cmp ebx, edx
jne 0x4eeaed
push eax
push ebp
mov ecx, ebx
call fcn.0040d1e0
push 0
push 0
mov ecx, ebx
call fcn.0040d1e0
jmp 0x4eeb73
test ebp, ebp
jbe 0x4eeb39
cmp ebp, ecx
jne 0x4eeb39
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4eeb02
mov eax, 0x53115c
cmp byte [eax - 1], 0xfe
jae 0x4eeb39
push 1
mov ecx, ebx
call fcn.00405cc0
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4eeb1e
mov eax, 0x53115c
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x4eeb73
push 1
push ebp
mov ecx, ebx
call fcn.00408220
test al, al
je 0x4eeb73
mov esi, dword [esp + 0x24]
test esi, esi
jne 0x4eeb54
mov esi, 0x53115c
mov edi, dword [ebx + 4]
mov ecx, ebp
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
mov dword [ebx + 8], ebp
add ebp, eax
mov byte [ebp], 0
mov eax, dword [esp + 0x24]
xor esi, esi
cmp eax, esi
je 0x4eeb9a
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4eeb91
cmp al, 0xff
je 0x4eeb91
dec al
mov byte [ecx], al
jmp 0x4eeb9a
push ecx
call fcn.00514120
add esp, 4
lea ecx, [esp + 0xd8]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov byte [esp + 0x13b8], 1
call fcn.00503e30
lea ecx, [esp + 0x4c]
mov byte [esp + 0x13b8], 0
call fcn.004975f0
lea ecx, [esp + 0x220]
mov dword [esp + 0x13b8], 0xffffffff
call fcn.004cf930
mov eax, 1
jmp 0x4eec0f
lea ecx, [esp + 0x4c]
mov byte [esp + 0x13b8], 0
call fcn.004975f0
mov dword [esp + 0x13b8], ebp
lea ecx, [esp + 0x220]
call fcn.004cf930
xor eax, eax
mov ecx, dword [esp + 0x13b0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x13ac
ret 0xc