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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa8
mov ebx, eax
mov dword [esp], edx
mov eax, dword [ebx + 0x54]
cmp eax, dword [ebx + reloc.MSVCRT.dll___dllonexit]
je 0x5ee676
cmp eax, dword [ebx + reloc.MSVCRT.dll___dllonexit]
je 0x5ee676
cmp eax, dword [ebx + reloc.MSVCRT.dll___dllonexit]
je 0x5ee676
cmp eax, dword [ebx + reloc.MSVCRT.dll___dllonexit]
je 0x5ee676
xor eax, eax
jmp 0x5ee67b
mov eax, 1
test al, al
jne 0x5ee68f
mov edx, dword [ebx + 0x54]
cmp edx, dword [ebx + 0x6c]
je 0x5ee68f
mov ecx, dword [ebx + 0x54]
cmp ecx, dword [ebx + 0x78]
jne 0x5ee696
xor eax, eax
jmp 0x5eec0b
mov eax, ebx
call fcn.005eedfb
test al, al
je 0x5ee6a8
mov al, 1
jmp 0x5eec0b
mov edx, dword [ebx + reloc.MSVCRT.dll___dllonexit]
inc edx
and edx, dword [ebx + 0x24]
mov dword [esp + 4], edx
mov eax, dword [esp + 4]
mov ecx, dword [ebx]
xor edx, edx
mov dl, byte [ecx + eax + 2]
mov ecx, dword [edx*4 + reloc.MSVCRT.dll___dllonexit]
shl ecx, 7
mov dword [esp + 0xc], ecx
mov edx, dword [ebx]
xor ecx, ecx
mov cl, byte [edx + eax + 1]
mov edx, dword [ecx*4 + reloc.MSVCRT.dll___dllonexit]
shl edx, 3
add dword [esp + 0xc], edx
mov ecx, dword [ebx]
movzx eax, byte [ecx + eax]
add dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
and eax, 0x3ffff
mov dword [esp + 8], eax
mov edx, dword [ebx]
mov ecx, dword [esp + 4]
xor eax, eax
mov al, byte [edx + ecx + 3]
mov edx, dword [eax*4 + reloc.MSVCRT.dll___dllonexit]
add edx, dword [esp + 8]
and edx, 0x3ffff
mov dword [esp + 0x10], edx
cmp dword [ebx + 0x58], 5
jge 0x5ee821
mov ecx, dword [ebx + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [ecx + eax*4]
and edx, dword [ebx + 0x24]
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx + 0x24]
and ecx, eax
mov edx, dword [ebx]
mov cl, byte [edx + ecx]
mov edx, dword [esp + 4]
and edx, eax
mov esi, dword [ebx]
cmp cl, byte [esi + edx]
jne 0x5ee821
mov edx, dword [esp + 0x14]
inc edx
and edx, eax
mov ecx, dword [ebx]
mov dl, byte [ecx + edx]
mov ecx, dword [esp + 4]
inc ecx
and ecx, eax
mov esi, dword [ebx]
cmp dl, byte [esi + ecx]
jne 0x5ee821
mov edx, dword [esp + 0x14]
add edx, 2
and edx, eax
mov ecx, dword [ebx]
mov dl, byte [ecx + edx]
mov ecx, dword [esp + 4]
add ecx, 2
and ecx, eax
mov esi, dword [ebx]
cmp dl, byte [esi + ecx]
jne 0x5ee821
mov edx, dword [esp + 0x14]
add edx, 3
and edx, eax
mov ecx, dword [ebx]
mov dl, byte [ecx + edx]
mov ecx, dword [esp + 4]
add ecx, 3
and ecx, eax
mov esi, dword [ebx]
cmp dl, byte [esi + ecx]
jne 0x5ee821
cmp dword [ebx + reloc.MSVCRT.dll___dllonexit], 3
jle 0x5ee821
mov edx, dword [esp + 4]
sub edx, dword [esp + 0x14]
and edx, eax
mov dword [esp + 0x18], edx
cmp dword [esp + 0x18], 0x40000
jae 0x5ee821
cmp dword [esp + 0x18], 0
jbe 0x5ee821
mov eax, dword [esp + 0x18]
cmp eax, dword [ebx + 0x28]
jae 0x5ee821
cmp dword [ebx + 0x58], 3
jge 0x5ee7f9
mov ecx, dword [esp + 0x18]
shr ecx, 2
cmp ecx, dword [ebx + 0x54]
jb 0x5ee81a
cmp dword [ebx + 0x58], 4
jge 0x5ee808
mov eax, dword [esp + 0x18]
cmp eax, dword [ebx + 0x54]
jb 0x5ee81a
cmp dword [ebx + 0x58], 5
jge 0x5ee821
mov edx, dword [ebx + 0x54]
shr edx, 2
cmp edx, dword [esp + 0x18]
jbe 0x5ee821
mov al, 1
jmp 0x5eec0b
mov edx, dword [ebx]
mov ecx, dword [esp + 4]
xor eax, eax
mov al, byte [edx + ecx + 4]
mov edx, dword [eax*4 + reloc.MSVCRT.dll___dllonexit]
add edx, edx
add edx, dword [esp + 0x10]
and edx, dword [ebx + 0x1c]
mov dword [esp + 0x1c], edx
mov ecx, dword [ebx + 0x10]
mov eax, dword [esp + 0x1c]
mov edx, dword [ecx + eax*4]
xor ecx, ecx
and edx, dword [ebx + 0x24]
mov dword [esp + 0x20], ecx
mov eax, edx
mov ecx, dword [ebx]
movzx ecx, byte [ecx + eax + 2]
mov ecx, dword [ecx*4 + reloc.MSVCRT.dll___dllonexit]
shl ecx, 7
mov dword [esp + 0x28], ecx
mov ecx, dword [ebx]
movzx ecx, byte [ecx + eax + 1]
mov ecx, dword [ecx*4 + reloc.MSVCRT.dll___dllonexit]
shl ecx, 3
add dword [esp + 0x28], ecx
mov ecx, dword [ebx]
movzx ecx, byte [ecx + eax]
add dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x28]
and ecx, 0x3ffff
mov dword [esp + 0x24], ecx
mov ecx, dword [ebx]
movzx ecx, byte [ecx + eax + 3]
mov ecx, dword [ecx*4 + reloc.MSVCRT.dll___dllonexit]
add ecx, dword [esp + 0x24]
and ecx, 0x3ffff
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebx]
movzx eax, byte [ecx + eax + 4]
mov eax, dword [eax*4 + reloc.MSVCRT.dll___dllonexit]
add eax, eax
add eax, dword [esp + 0x2c]
and eax, dword [ebx + 0x1c]
cmp eax, dword [esp + 0x1c]
je 0x5ee8d8
xor eax, eax
jmp 0x5eec0b
mov ecx, dword [ebx + 0x58]
dec ecx
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 4]
add ecx, dword [esp + 0x30]
and ecx, dword [ebx + 0x24]
mov eax, dword [ebx]
mov cl, byte [eax + ecx]
mov byte [esp + 0x38], cl
jmp 0x5eebfa
mov ecx, dword [ebx + 0x14]
mov edi, dword [esp + 0x34]
mov eax, dword [ebx + 0x24]
mov ebp, dword [ebx]
mov esi, dword [ecx + edx*4]
mov ecx, edi
add ecx, edx
and esi, eax
and ecx, eax
mov cl, byte [ebp + ecx]
cmp cl, byte [esp + 0x38]
je 0x5eea91
mov edx, esi
test esi, esi
je 0x5eec09
mov ecx, dword [ebx + 0x14]
mov ebp, dword [ebx]
mov esi, dword [ecx + edx*4]
mov ecx, edi
add ecx, edx
and esi, eax
and ecx, eax
mov cl, byte [ebp + ecx]
cmp cl, byte [esp + 0x38]
je 0x5eea91
mov edx, esi
test esi, esi
je 0x5eec09
mov ecx, dword [ebx + 0x14]
mov ebp, dword [ebx]
mov esi, dword [ecx + edx*4]
mov ecx, edi
add ecx, edx
and esi, eax
and ecx, eax
mov cl, byte [ebp + ecx]
cmp cl, byte [esp + 0x38]
je 0x5eea91
mov edx, esi
test esi, esi
je 0x5eec09
mov ecx, dword [ebx + 0x14]
mov ebp, dword [ebx]
mov esi, dword [ecx + edx*4]
mov ecx, edi
add ecx, edx
and esi, eax
and ecx, eax
mov cl, byte [ebp + ecx]
cmp cl, byte [esp + 0x38]
je 0x5eea91
mov edx, esi
test esi, esi
je 0x5eec09
mov ecx, dword [ebx + 0x14]
mov ebp, dword [ebx]
mov esi, dword [ecx + edx*4]
mov ecx, edi
add ecx, edx
and esi, eax
and ecx, eax
mov cl, byte [ebp + ecx]
cmp cl, byte [esp + 0x38]
je 0x5eea91
mov edx, esi
test esi, esi
je 0x5eec09
mov ecx, dword [ebx + 0x14]
add edi, edx
and edi, eax
mov esi, dword [ecx + edx*4]
mov ecx, dword [ebx]
and esi, eax
mov cl, byte [ecx + edi]
cmp cl, byte [esp + 0x38]
je 0x5eea91
mov edx, esi
test esi, esi
je 0x5eec09
mov dword [esp + 0x3c], edx
mov eax, dword [ebx]
mov ecx, dword [esp + 0x3c]
movzx eax, byte [eax + ecx + 2]
mov ecx, dword [eax*4 + reloc.MSVCRT.dll___dllonexit]
shl ecx, 7
mov dword [esp + 0x44], ecx
mov eax, dword [ebx]
mov ecx, dword [esp + 0x3c]
movzx eax, byte [eax + ecx + 1]
mov ecx, dword [eax*4 + reloc.MSVCRT.dll___dllonexit]
shl ecx, 3
add dword [esp + 0x44], ecx
mov eax, dword [ebx]
mov ecx, dword [esp + 0x3c]
movzx eax, byte [eax + ecx]
add dword [esp + 0x44], eax
mov ecx, dword [esp + 0x44]
and ecx, 0x3ffff
mov dword [esp + 0x40], ecx
mov eax, dword [ebx]
mov ecx, dword [esp + 0x3c]
movzx eax, byte [eax + ecx + 3]
mov ecx, dword [eax*4 + reloc.MSVCRT.dll___dllonexit]
add ecx, dword [esp + 0x40]
and ecx, 0x3ffff
mov dword [esp + 0x48], ecx
mov eax, dword [ebx]
mov ecx, dword [esp + 0x3c]
movzx eax, byte [eax + ecx + 4]
mov ecx, dword [eax*4 + reloc.MSVCRT.dll___dllonexit]
add ecx, ecx
add ecx, dword [esp + 0x48]
and ecx, dword [ebx + 0x1c]
cmp ecx, dword [esp + 0x1c]
jne 0x5eec09
jmp 0x5eebfa
sub edx, dword [esp + 0x20]
and edx, eax
xor eax, eax
jmp 0x5eeab8
mov ecx, dword [esp + 4]
mov esi, eax
add ecx, esi
and ecx, dword [ebx + 0x24]
mov edi, dword [ebx]
mov cl, byte [edi + ecx]
add esi, edx
and esi, dword [ebx + 0x24]
mov edi, dword [ebx]
cmp cl, byte [edi + esi]
jne 0x5eeac0
inc eax
cmp eax, dword [ebx + reloc.MSVCRT.dll___dllonexit]
jl 0x5eea9b
cmp eax, dword [esp + 0x30]
jl 0x5eebe3
xor ecx, ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [ebx + 0x14]
mov ecx, dword [ecx + edx*4]
mov dword [esp + 0x4c], ecx
mov ecx, 1
jmp 0x5eeb17
mov esi, ecx
mov edi, dword [ebx + 0x14]
add esi, edx
mov ebp, dword [ebx + reloc.MSVCRT.dll___dllonexit]
and esi, dword [ebx + 0x24]
sub ebp, dword [esp + 0x4c]
and ebp, dword [ebx + 0x24]
mov esi, dword [edi + esi*4]
mov edi, dword [ebx + reloc.MSVCRT.dll___dllonexit]
sub edi, esi
and edi, dword [ebx + 0x24]
cmp edi, ebp
jbe 0x5eeb16
test esi, esi
je 0x5eeb16
mov dword [esp + 0x20], ecx
mov dword [esp + 0x4c], esi
inc ecx
lea esi, [eax - 4]
cmp ecx, esi
jl 0x5eeae1
mov ecx, dword [esp + 4]
mov esi, dword [ebx]
add ecx, dword [esp + 0x20]
mov edi, dword [ebx]
and ecx, dword [ebx + 0x24]
movzx esi, byte [esi + ecx + 2]
movzx edi, byte [edi + ecx + 1]
mov esi, dword [esi*4 + reloc.MSVCRT.dll___dllonexit]
shl esi, 7
mov edi, dword [edi*4 + reloc.MSVCRT.dll___dllonexit]
shl edi, 3
add esi, edi
mov edi, dword [ebx]
movzx edi, byte [edi + ecx]
add esi, edi
and esi, 0x3ffff
mov dword [esp + 0x50], esi
mov esi, dword [ebx]
movzx esi, byte [esi + ecx + 3]
mov esi, dword [esi*4 + reloc.MSVCRT.dll___dllonexit]
add esi, dword [esp + 0x50]
and esi, 0x3ffff
mov dword [esp + 0x54], esi
mov esi, dword [ebx]
movzx ecx, byte [esi + ecx + 4]
mov ecx, dword [ecx*4 + reloc.MSVCRT.dll___dllonexit]
add ecx, ecx
add ecx, dword [esp + 0x54]
and ecx, dword [ebx + 0x1c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x20]
mov dword [esp + 0x34], ecx
cmp eax, dword [ebx + 0x58]
jl 0x5eebe3
mov ecx, dword [ebx + reloc.MSVCRT.dll___dllonexit]
sub ecx, edx
and ecx, dword [ebx + 0x24]
mov esi, ecx
shl esi, 2
cmp esi, dword [ebx + 0x54]
jb 0x5eebd2
cmp eax, dword [ebx + 0x58]
jle 0x5eebca
mov esi, dword [ebx + 0x54]
add esi, esi
cmp ecx, esi
jb 0x5eebd2
mov esi, dword [ebx + 0x58]
inc esi
cmp eax, esi
jle 0x5eebd6
mov al, 1
jmp 0x5eec0b
cmp ecx, dword [ebx + 0x28]
ja 0x5eebdf
test ecx, ecx
jne 0x5eebe3
xor eax, eax
jmp 0x5eec0b
add edx, dword [esp + 0x20]
mov eax, dword [ebx + 0x24]
and edx, eax
mov ecx, dword [ebx + 0x14]
mov ecx, dword [ecx + edx*4]
and ecx, eax
mov edx, ecx
test ecx, ecx
je 0x5eec09
mov eax, dword [esp]
add dword [esp], reloc.MSVCRT.dll___dllonexit
test eax, eax
jne 0x5ee901
xor eax, eax
add esp, 0x58
pop ebp
pop edi
pop esi
pop ebx
ret