Function at 0x4154c0
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 + 0x8d8]
je 0x4154f3
cmp eax, dword [ebx + 0x8dc]
je 0x4154f3
cmp eax, dword [ebx + 0x8e0]
je 0x4154f3
cmp eax, dword [ebx + 0x8e4]
je 0x4154f3
xor eax, eax
jmp 0x4154f8
mov eax, 1
test al, al
jne 0x41550c
mov edx, dword [ebx + 0x54]
cmp edx, dword [ebx + 0x6c]
je 0x41550c
mov ecx, dword [ebx + 0x54]
cmp ecx, dword [ebx + 0x78]
jne 0x415513
xor eax, eax
jmp 0x415a88
mov eax, ebx
call fcn.00415c78
test al, al
je 0x415525
mov al, 1
jmp 0x415a88
mov edx, dword [ebx + 0x149c]
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 + 0x4b5aec]
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 + 0x4b5aec]
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 + 0x4b5aec]
add edx, dword [esp + 8]
and edx, 0x3ffff
mov dword [esp + 0x10], edx
cmp dword [ebx + 0x58], 5
jge 0x41569e
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 0x41569e
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 0x41569e
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 0x41569e
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 0x41569e
cmp dword [ebx + 0x8d4], 3
jle 0x41569e
mov edx, dword [esp + 4]
sub edx, dword [esp + 0x14]
and edx, eax
mov dword [esp + 0x18], edx
cmp dword [esp + 0x18], 0x40000
jae 0x41569e
cmp dword [esp + 0x18], 0
jbe 0x41569e
mov eax, dword [esp + 0x18]
cmp eax, dword [ebx + 0x28]
jae 0x41569e
cmp dword [ebx + 0x58], 3
jge 0x415676
mov ecx, dword [esp + 0x18]
shr ecx, 2
cmp ecx, dword [ebx + 0x54]
jb 0x415697
cmp dword [ebx + 0x58], 4
jge 0x415685
mov eax, dword [esp + 0x18]
cmp eax, dword [ebx + 0x54]
jb 0x415697
cmp dword [ebx + 0x58], 5
jge 0x41569e
mov edx, dword [ebx + 0x54]
shr edx, 2
cmp edx, dword [esp + 0x18]
jbe 0x41569e
mov al, 1
jmp 0x415a88
mov edx, dword [ebx]
mov ecx, dword [esp + 4]
xor eax, eax
mov al, byte [edx + ecx + 4]
mov edx, dword [eax*4 + 0x4b5aec]
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 + 0x4b5aec]
shl ecx, 7
mov dword [esp + 0x28], ecx
mov ecx, dword [ebx]
movzx ecx, byte [ecx + eax + 1]
mov ecx, dword [ecx*4 + 0x4b5aec]
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 + 0x4b5aec]
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 + 0x4b5aec]
add eax, eax
add eax, dword [esp + 0x2c]
and eax, dword [ebx + 0x1c]
cmp eax, dword [esp + 0x1c]
je 0x415755
xor eax, eax
jmp 0x415a88
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 0x415a77
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 0x41590e
mov edx, esi
test esi, esi
je 0x415a86
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 0x41590e
mov edx, esi
test esi, esi
je 0x415a86
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 0x41590e
mov edx, esi
test esi, esi
je 0x415a86
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 0x41590e
mov edx, esi
test esi, esi
je 0x415a86
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 0x41590e
mov edx, esi
test esi, esi
je 0x415a86
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 0x41590e
mov edx, esi
test esi, esi
je 0x415a86
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 + 0x4b5aec]
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 + 0x4b5aec]
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 + 0x4b5aec]
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 + 0x4b5aec]
add ecx, ecx
add ecx, dword [esp + 0x48]
and ecx, dword [ebx + 0x1c]
cmp ecx, dword [esp + 0x1c]
jne 0x415a86
jmp 0x415a77
sub edx, dword [esp + 0x20]
and edx, eax
xor eax, eax
jmp 0x415935
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 0x41593d
inc eax
cmp eax, dword [ebx + 0x8d4]
jl 0x415918
cmp eax, dword [esp + 0x30]
jl 0x415a60
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 0x415994
mov esi, ecx
mov edi, dword [ebx + 0x14]
add esi, edx
mov ebp, dword [ebx + 0x149c]
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 + 0x149c]
sub edi, esi
and edi, dword [ebx + 0x24]
cmp edi, ebp
jbe 0x415993
test esi, esi
je 0x415993
mov dword [esp + 0x20], ecx
mov dword [esp + 0x4c], esi
inc ecx
lea esi, [eax - 4]
cmp ecx, esi
jl 0x41595e
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 + 0x4b5aec]
shl esi, 7
mov edi, dword [edi*4 + 0x4b5aec]
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 + 0x4b5aec]
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 + 0x4b5aec]
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 0x415a60
mov ecx, dword [ebx + 0x149c]
sub ecx, edx
and ecx, dword [ebx + 0x24]
mov esi, ecx
shl esi, 2
cmp esi, dword [ebx + 0x54]
jb 0x415a4f
cmp eax, dword [ebx + 0x58]
jle 0x415a47
mov esi, dword [ebx + 0x54]
add esi, esi
cmp ecx, esi
jb 0x415a4f
mov esi, dword [ebx + 0x58]
inc esi
cmp eax, esi
jle 0x415a53
mov al, 1
jmp 0x415a88
cmp ecx, dword [ebx + 0x28]
ja 0x415a5c
test ecx, ecx
jne 0x415a60
xor eax, eax
jmp 0x415a88
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 0x415a86
mov eax, dword [esp]
add dword [esp], 0xffffffff
test eax, eax
jne 0x41577e
xor eax, eax
add esp, 0x58
pop ebp
pop edi
pop esi
pop ebx
ret