Function at 0x417bb4
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 0x417be7
cmp eax, dword [ebx + 0x8dc]
je 0x417be7
cmp eax, dword [ebx + 0x8e0]
je 0x417be7
cmp eax, dword [ebx + 0x8e4]
je 0x417be7
xor eax, eax
jmp 0x417bec
mov eax, 1
test al, al
jne 0x417c00
mov edx, dword [ebx + 0x54]
cmp edx, dword [ebx + 0x6c]
je 0x417c00
mov ecx, dword [ebx + 0x54]
cmp ecx, dword [ebx + 0x78]
jne 0x417c07
xor eax, eax
jmp 0x41817c
mov eax, ebx
call fcn.0041836c
test al, al
je 0x417c19
mov al, 1
jmp 0x41817c
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 + 0x448968]
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 + 0x448968]
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 + 0x448968]
add edx, dword [esp + 8]
and edx, 0x3ffff
mov dword [esp + 0x10], edx
cmp dword [ebx + 0x58], 5
jge 0x417d92
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 0x417d92
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 0x417d92
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 0x417d92
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 0x417d92
cmp dword [ebx + 0x8d4], 3
jle 0x417d92
mov edx, dword [esp + 4]
sub edx, dword [esp + 0x14]
and edx, eax
mov dword [esp + 0x18], edx
cmp dword [esp + 0x18], 0x40000
jae 0x417d92
cmp dword [esp + 0x18], 0
jbe 0x417d92
mov eax, dword [esp + 0x18]
cmp eax, dword [ebx + 0x28]
jae 0x417d92
cmp dword [ebx + 0x58], 3
jge 0x417d6a
mov ecx, dword [esp + 0x18]
shr ecx, 2
cmp ecx, dword [ebx + 0x54]
jb 0x417d8b
cmp dword [ebx + 0x58], 4
jge 0x417d79
mov eax, dword [esp + 0x18]
cmp eax, dword [ebx + 0x54]
jb 0x417d8b
cmp dword [ebx + 0x58], 5
jge 0x417d92
mov edx, dword [ebx + 0x54]
shr edx, 2
cmp edx, dword [esp + 0x18]
jbe 0x417d92
mov al, 1
jmp 0x41817c
mov edx, dword [ebx]
mov ecx, dword [esp + 4]
xor eax, eax
mov al, byte [edx + ecx + 4]
mov edx, dword [eax*4 + 0x448968]
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 + 0x448968]
shl ecx, 7
mov dword [esp + 0x28], ecx
mov ecx, dword [ebx]
movzx ecx, byte [ecx + eax + 1]
mov ecx, dword [ecx*4 + 0x448968]
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 + 0x448968]
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 + 0x448968]
add eax, eax
add eax, dword [esp + 0x2c]
and eax, dword [ebx + 0x1c]
cmp eax, dword [esp + 0x1c]
je 0x417e49
xor eax, eax
jmp 0x41817c
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 0x41816b
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 0x418002
mov edx, esi
test esi, esi
je 0x41817a
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 0x418002
mov edx, esi
test esi, esi
je 0x41817a
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 0x418002
mov edx, esi
test esi, esi
je 0x41817a
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 0x418002
mov edx, esi
test esi, esi
je 0x41817a
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 0x418002
mov edx, esi
test esi, esi
je 0x41817a
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 0x418002
mov edx, esi
test esi, esi
je 0x41817a
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 + 0x448968]
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 + 0x448968]
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 + 0x448968]
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 + 0x448968]
add ecx, ecx
add ecx, dword [esp + 0x48]
and ecx, dword [ebx + 0x1c]
cmp ecx, dword [esp + 0x1c]
jne 0x41817a
jmp 0x41816b
sub edx, dword [esp + 0x20]
and edx, eax
xor eax, eax
jmp 0x418029
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 0x418031
inc eax
cmp eax, dword [ebx + 0x8d4]
jl 0x41800c
cmp eax, dword [esp + 0x30]
jl 0x418154
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 0x418088
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 0x418087
test esi, esi
je 0x418087
mov dword [esp + 0x20], ecx
mov dword [esp + 0x4c], esi
inc ecx
lea esi, [eax - 4]
cmp ecx, esi
jl 0x418052
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 + 0x448968]
shl esi, 7
mov edi, dword [edi*4 + 0x448968]
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 + 0x448968]
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 + 0x448968]
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 0x418154
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 0x418143
cmp eax, dword [ebx + 0x58]
jle 0x41813b
mov esi, dword [ebx + 0x54]
add esi, esi
cmp ecx, esi
jb 0x418143
mov esi, dword [ebx + 0x58]
inc esi
cmp eax, esi
jle 0x418147
mov al, 1
jmp 0x41817c
cmp ecx, dword [ebx + 0x28]
ja 0x418150
test ecx, ecx
jne 0x418154
xor eax, eax
jmp 0x41817c
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 0x41817a
mov eax, dword [esp]
add dword [esp], 0xffffffff
test eax, eax
jne 0x417e72
xor eax, eax
add esp, 0x58
pop ebp
pop edi
pop esi
pop ebx
ret