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

Disassembly:
sub esp, 0x54
mov eax, dword [0x65ada4]
xor eax, esp
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x58]
push ebx
push ebp
mov ebp, dword [esp + 0x68]
mov ebx, edx
cmp byte [ebx + 0x11], 0
movzx edx, word [ebx + 9]
push esi
push edi
mov edi, dword [esp + 0x74]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x50], ebp
mov dword [esp + 0x30], edi
mov dword [esp + 0x24], ecx
mov byte [esp + 0x1a], 0
mov dword [esp + 0x28], edx
je 0x4ee92b
dec dword [esp + 0x28]
cmp byte [esp + 0x7c], 0
je 0x4ee939
movsx esi, byte [esp + 0x78]
jmp 0x4ee93b
xor esi, esi
mov dword [esp + 0x2c], esi
mov byte [esp + 0x13], 1
test esi, esi
je 0x4ee987
cmp byte [ebx], 0
jne 0x4ee987
mov eax, dword [esp + 0x28]
cmp esi, eax
jge 0x4ee957
mov eax, esi
add eax, 0xffffffff
js 0x4ee987
mov ecx, eax
shl ecx, 6
add ecx, ebx
lea ecx, [eax + ecx + 0x26]
mov edx, dword [ecx - 0x14]
mov edi, dword [ecx]
lea edx, [edx + edx*8]
cmp byte [edi + edx*2 + 8], 0
jne 0x4ee97b
mov byte [esp + 0x13], 0
dec eax
sub ecx, 0x41
test eax, eax
jge 0x4ee967
mov edi, dword [esp + 0x30]
lea ecx, [esi + 1]
mov dword [esp + 0x38], ecx
mov ecx, esi
imul ecx, ecx, 0x34
mov eax, esi
shl eax, 6
add eax, ebx
add eax, esi
lea ebx, [eax + 0x12]
add eax, 0x53
mov byte [esp + 0x14], 0
mov byte [esp + 0x19], 0
mov byte [esp + 0x17], 1
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x40], eax
jmp 0x4ee9c8
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0x50]
cmp esi, dword [esp + 0x28]
mov edx, dword [esp + 0x80]
jge 0x4eed9e
cmp byte [ebx + 0x2c], 0
jne 0x4eea05
mov eax, dword [ebx]
mov esi, dword [ebx + 0x14]
lea eax, [eax + eax*8]
cmp byte [esi + eax*2 + 6], 0
lea eax, [esi + eax*2]
mov dword [esp + 0x20], eax
jne 0x4eea05
cmp byte [eax + 0xf], 0
jne 0x4eea05
mov byte [esp + 0x13], 0
jmp 0x4eed39
mov eax, dword [ebp + 0xbd]
add eax, ecx
movzx ecx, word [eax]
movzx eax, word [eax + 2]
mov dword [esp + 0x48], eax
cmp ax, 4
je 0x4eea2e
cmp ax, 0x1d
je 0x4eea2e
cmp ax, 0x1c
je 0x4eea2e
xor bl, bl
jmp 0x4eea30
mov bl, 1
cmp byte [esp + 0x78], 0
movsx esi, cx
jne 0x4eeaa8
test edx, edx
je 0x4eea8a
cmp esi, edx
jge 0x4eea4c
mov ecx, dword [esp + 0x24]
movsx eax, word [ecx + esi*2]
jmp 0x4eea54
mov eax, esi
sub eax, edx
movsx eax, word [edi + eax*2]
lea ecx, [esi + 1]
cmp ecx, edx
jge 0x4eea66
mov ecx, dword [esp + 0x24]
movsx ecx, word [ecx + esi*2 + 2]
jmp 0x4eea6f
mov ecx, esi
sub ecx, edx
movsx ecx, word [edi + ecx*2 + 2]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], eax
cmp eax, ecx
jne 0x4eea7f
xor ebp, ebp
jmp 0x4eead9
lea ecx, [edx + edx]
mov ebp, edi
sub ebp, ecx
add ebp, eax
jmp 0x4eead5
movsx eax, word [edi + esi*2]
movsx ecx, word [edi + esi*2 + 2]
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], ecx
cmp eax, ecx
jne 0x4eeaa3
xor ebp, ebp
jmp 0x4eead9
lea ebp, [edi + eax]
jmp 0x4eead5
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x78]
push esi
push edx
mov edx, dword [esp + 0x2c]
push eax
lea ecx, [ebp + 0x167]
push ecx
push edi
push edx
push ebp
call fcn.004569c0
mov edx, dword [esp + 0x9c]
add esp, 0x1c
mov ebp, eax
test ebp, ebp
jne 0x4eeaf3
mov byte [esp + 0x1a], 1
mov edi, Ordinal_2
cmp byte [esp + 0x6c], 0
mov eax, dword [esp + 0x1c]
je 0x4eeb5c
mov esi, dword [eax]
inc esi
jmp 0x4eeb63
test bl, bl
je 0x4eeade
cmp byte [esp + 0x78], 0
jne 0x4eeb08
mov edi, dword [esp + 0x3c]
sub edi, dword [esp + 0x44]
jmp 0x4eeae3
lea eax, [esi + 1]
cmp eax, edx
jge 0x4eeb20
mov eax, dword [esp + 0x24]
movsx edi, word [eax + esi*2 + 2]
movsx ecx, word [eax + esi*2]
sub edi, ecx
jmp 0x4eeae3
cmp esi, edx
jge 0x4eeb40
mov edx, dword [esp + 0x24]
movsx eax, word [edx + esi*2]
sub esi, dword [esp + 0x80]
mov ecx, dword [esp + 0x30]
movsx edi, word [ecx + esi*2 + 2]
sub edi, eax
jmp 0x4eeae3
mov ecx, dword [esp + 0x30]
mov eax, esi
sub esi, dword [esp + 0x80]
sub eax, edx
movsx eax, word [edi + eax*2]
movsx edi, word [ecx + esi*2 + 2]
sub edi, eax
jmp 0x4eeae3
mov esi, dword [eax + 8]
shr esi, 1
sub esi, dword [eax]
cmp byte [eax + 0x2c], 0
jne 0x4eec16
xor ebx, ebx
mov byte [esp + 0x15], 0
mov byte [esp + 0x16], 0
test esi, esi
jle 0x4eec0d
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x48]
push edx
push eax
push edi
push ebp
lea ecx, [esp + 0x2b]
push ecx
lea edx, [esp + 0x6c]
push edx
call fcn.004eda70
mov eax, dword [esp + 0x70]
add esp, 0x18
test eax, eax
je 0x4eebf4
cmp byte [esp + 0x6c], 0
jne 0x4eebd7
test eax, eax
jle 0x4eec0d
cmp byte [esp + 0x13], 0
mov byte [esp + 0x15], 1
je 0x4eebc4
mov eax, dword [esp + 0x1c]
inc dword [eax]
add dword [esp + 0x20], 0x12
inc ebx
cmp ebx, esi
jl 0x4eeb81
cmp ebx, esi
sete byte [esp + 0x18]
jmp 0x4eec48
test eax, eax
jge 0x4eec0d
cmp byte [esp + 0x13], 0
mov byte [esp + 0x15], 1
je 0x4eebed
mov eax, dword [esp + 0x1c]
dec dword [eax]
sub dword [esp + 0x20], 0x12
jmp 0x4eebc9
mov eax, dword [esp + 0x20]
cmp byte [eax + 8], 0
mov byte [esp + 0x16], 1
jne 0x4eec0d
mov byte [esp + 0x13], 0
mov byte [esp + 0x15], 1
cmp ebx, esi
sete byte [esp + 0x18]
jmp 0x4eec48
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x6c]
push 0
push edi
push ecx
push ebp
push esi
push edx
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x31]
push edx
lea ecx, [esp + 0x36]
push ecx
mov edi, eax
call fcn.004ed8f0
mov esi, eax
add esp, 0x24
test esi, esi
jne 0x4eed7a
cmp byte [esp + 0x15], 0
jne 0x4eec5a
cmp byte [esp + 0x16], 0
jne 0x4eed39
mov esi, dword [esp + 0x34]
movzx eax, word [esi + 9]
mov edx, dword [esp + 0x38]
cmp edx, eax
jge 0x4eec8e
mov ecx, dword [esp + 0x40]
mov bl, byte [esp + 0x6c]
test bl, bl
je 0x4eec7e
mov eax, dword [ecx + 8]
shr eax, 1
dec eax
jmp 0x4eec80
xor eax, eax
mov dword [ecx], eax
movzx eax, word [esi + 9]
inc edx
add ecx, 0x41
cmp edx, eax
jl 0x4eec72
cmp byte [esp + 0x16], 0
jne 0x4eed39
cmp byte [esp + 0x18], 0
mov byte [esp + 0x17], 0
je 0x4eed15
mov edx, dword [esp + 0x6c]
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edi, esi
call fcn.004ed9d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4eed7a
mov eax, dword [esp + 0x54]
cmp eax, 0xffffffff
jne 0x4eecd7
mov byte [esp + 0x19], 1
jmp 0x4eed39
mov edx, eax
mov byte [esp + 0x14], 1
test eax, eax
jl 0x4eed39
mov ecx, eax
shl ecx, 6
add ecx, edi
lea eax, [eax + ecx + 0x26]
lea ecx, [ecx]
cmp byte [esp + 0x14], 1
jne 0x4eed39
mov ecx, dword [eax - 0x14]
mov esi, dword [eax]
lea ecx, [ecx + ecx*8]
cmp byte [esi + ecx*2 + 8], 0
jne 0x4eed0b
mov byte [esp + 0x14], 0
dec edx
sub eax, 0x41
test edx, edx
jge 0x4eecf0
jmp 0x4eed39
cmp byte [esp + 0x13], 0
je 0x4eed34
mov edx, dword [esp + 0x1c]
cmp byte [edx + 0x2c], 0
jne 0x4eed2d
cmp byte [esp + 0x1b], 0
jne 0x4eed34
mov byte [esp + 0x14], 1
jmp 0x4eed39
mov byte [esp + 0x14], 0
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x1c]
inc dword [esp + 0x38]
add dword [esp + 0x40], 0x41
inc esi
add ecx, 0x34
add ebx, 0x41
cmp byte [esp + 0x17], 0
mov dword [esp + 0x2c], esi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x1c], ebx
jne 0x4ee9c0
cmp byte [esp + 0x19], 0
je 0x4eeda9
mov eax, 1
jmp 0x4eedc1
push 0x4e4
push 0
call fcn.00406f10
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.00586584
add esp, 0x54
ret
cmp byte [esp + 0x17], 0
je 0x4eed6c
xor eax, eax
jmp 0x4eedc1
cmp byte [esp + 0x14], 0
je 0x4eedbc
cmp byte [esp + 0x1a], 0
mov eax, 2
je 0x4eedc1
mov eax, 4
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
mov dword [ecx], eax
mov ecx, dword [esp + 0x58]
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00586584
add esp, 0x54
ret