Function at 0x415ee0
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 0x415f13
cmp eax, dword [ebx + 0x8dc]
je 0x415f13
cmp eax, dword [ebx + 0x8e0]
je 0x415f13
cmp eax, dword [ebx + 0x8e4]
je 0x415f13
xor eax, eax
jmp 0x415f18
mov eax, 1
test al, al
jne 0x415f2c
mov edx, dword [ebx + 0x54]
cmp edx, dword [ebx + 0x6c]
je 0x415f2c
mov ecx, dword [ebx + 0x54]
cmp ecx, dword [ebx + 0x78]
jne 0x415f33
xor eax, eax
jmp 0x4164a8
mov eax, ebx
call fcn.00416698
test al, al
je 0x415f45
mov al, 1
jmp 0x4164a8
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 + 0x4bd234]
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 + 0x4bd234]
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 + 0x4bd234]
add edx, dword [esp + 8]
and edx, 0x3ffff
mov dword [esp + 0x10], edx
cmp dword [ebx + 0x58], 5
jge 0x4160be
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 0x4160be
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 0x4160be
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 0x4160be
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 0x4160be
cmp dword [ebx + 0x8d4], 3
jle 0x4160be
mov edx, dword [esp + 4]
sub edx, dword [esp + 0x14]
and edx, eax
mov dword [esp + 0x18], edx
cmp dword [esp + 0x18], 0x40000
jae 0x4160be
cmp dword [esp + 0x18], 0
jbe 0x4160be
mov eax, dword [esp + 0x18]
cmp eax, dword [ebx + 0x28]
jae 0x4160be
cmp dword [ebx + 0x58], 3
jge 0x416096
mov ecx, dword [esp + 0x18]
shr ecx, 2
cmp ecx, dword [ebx + 0x54]
jb 0x4160b7
cmp dword [ebx + 0x58], 4
jge 0x4160a5
mov eax, dword [esp + 0x18]
cmp eax, dword [ebx + 0x54]
jb 0x4160b7
cmp dword [ebx + 0x58], 5
jge 0x4160be
mov edx, dword [ebx + 0x54]
shr edx, 2
cmp edx, dword [esp + 0x18]
jbe 0x4160be
mov al, 1
jmp 0x4164a8
mov edx, dword [ebx]
mov ecx, dword [esp + 4]
xor eax, eax
mov al, byte [edx + ecx + 4]
mov edx, dword [eax*4 + 0x4bd234]
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 + 0x4bd234]
shl ecx, 7
mov dword [esp + 0x28], ecx
mov ecx, dword [ebx]
movzx ecx, byte [ecx + eax + 1]
mov ecx, dword [ecx*4 + 0x4bd234]
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 + 0x4bd234]
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 + 0x4bd234]
add eax, eax
add eax, dword [esp + 0x2c]
and eax, dword [ebx + 0x1c]
cmp eax, dword [esp + 0x1c]
je 0x416175
xor eax, eax
jmp 0x4164a8
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 0x416497
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 0x41632e
mov edx, esi
test esi, esi
je 0x4164a6
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 0x41632e
mov edx, esi
test esi, esi
je 0x4164a6
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 0x41632e
mov edx, esi
test esi, esi
je 0x4164a6
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 0x41632e
mov edx, esi
test esi, esi
je 0x4164a6
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 0x41632e
mov edx, esi
test esi, esi
je 0x4164a6
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 0x41632e
mov edx, esi
test esi, esi
je 0x4164a6
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 + 0x4bd234]
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 + 0x4bd234]
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 + 0x4bd234]
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 + 0x4bd234]
add ecx, ecx
add ecx, dword [esp + 0x48]
and ecx, dword [ebx + 0x1c]
cmp ecx, dword [esp + 0x1c]
jne 0x4164a6
jmp 0x416497
sub edx, dword [esp + 0x20]
and edx, eax
xor eax, eax
jmp 0x416355
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 0x41635d
inc eax
cmp eax, dword [ebx + 0x8d4]
jl 0x416338
cmp eax, dword [esp + 0x30]
jl 0x416480
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 0x4163b4
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 0x4163b3
test esi, esi
je 0x4163b3
mov dword [esp + 0x20], ecx
mov dword [esp + 0x4c], esi
inc ecx
lea esi, [eax - 4]
cmp ecx, esi
jl 0x41637e
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 + 0x4bd234]
shl esi, 7
mov edi, dword [edi*4 + 0x4bd234]
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 + 0x4bd234]
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 + 0x4bd234]
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 0x416480
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 0x41646f
cmp eax, dword [ebx + 0x58]
jle 0x416467
mov esi, dword [ebx + 0x54]
add esi, esi
cmp ecx, esi
jb 0x41646f
mov esi, dword [ebx + 0x58]
inc esi
cmp eax, esi
jle 0x416473
mov al, 1
jmp 0x4164a8
cmp ecx, dword [ebx + 0x28]
ja 0x41647c
test ecx, ecx
jne 0x416480
xor eax, eax
jmp 0x4164a8
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 0x4164a6
mov eax, dword [esp]
add dword [esp], 0xffffffff
test eax, eax
jne 0x41619e
xor eax, eax
add esp, 0x58
pop ebp
pop edi
pop esi
pop ebx
ret