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

Disassembly:
sub esp, 0x80
push ebx
push ebp
mov ebp, dword [esp + 0xa8]
push esi
mov esi, ecx
xor ecx, ecx
push edi
lea edi, [esi + eax - 4]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], edi
cmp eax, 4
jbe 0x411d68
mov eax, dword [esp + 0x98]
movzx ecx, byte [eax + ebp - 1]
push ecx
mov ecx, dword [esp + 0x98]
lea eax, [esp + 0x70]
call fcn.0040e5e0
mov edx, dword [esp + 0xa4]
movzx eax, byte [edx + ebp - 1]
mov ecx, dword [esp + 0xa0]
add esp, 4
push eax
lea eax, [esp + 0x50]
call fcn.0040e5e0
mov ecx, dword [esp + 0xac]
movzx ebx, byte [ecx + ebp - 1]
mov ecx, dword [esp + 0xa8]
add esp, 4
push ebx
lea eax, [esp + 0x60]
call fcn.0040e5e0
mov eax, dword [ebx*4 + 0x6c6bf0]
mov ebx, dword [esp + 0xb0]
movzx ecx, word [ebx + ebp*8 - 4]
mov edx, dword [eax*4 + 0x6c6b30]
and edx, ecx
mov ecx, eax
shr ecx, 3
mov dword [esi], edx
add esi, ecx
add esp, 4
cmp esi, edi
jbe 0x41185d
mov esi, edi
movzx ebx, word [ebx + ebp*8 - 2]
add ecx, ecx
add ecx, ecx
add ecx, ecx
shr edx, cl
mov ecx, dword [esp + 0x98]
movzx ecx, byte [ecx + ebp - 1]
mov ecx, dword [ecx*4 + 0x6c6cc8]
mov dword [esp + 0x20], ecx
mov ecx, dword [ecx*4 + 0x6c6b30]
and ecx, ebx
mov ebx, ecx
and eax, 7
mov ecx, eax
add eax, dword [esp + 0x20]
shl ebx, cl
mov ecx, eax
shr ecx, 3
or edx, ebx
mov dword [esi], edx
add esi, ecx
mov dword [esp + 0x88], esi
cmp esi, edi
jbe 0x4118b6
mov esi, edi
mov dword [esp + 0x88], esi
add ecx, ecx
add ecx, ecx
add ecx, ecx
shr edx, cl
mov ecx, dword [esp + 0xa0]
and eax, 7
cmp dword [esp + 0xb4], 0
je 0x41196e
movzx ebx, byte [ecx + ebp - 1]
mov dword [esp + 0x24], ebx
mov ecx, ebx
cmp ebx, 0x18
jb 0x4118eb
mov ecx, 0x18
sub ebx, ecx
je 0x411936
mov esi, dword [ebx*4 + 0x6c6b30]
mov ecx, dword [esp + 0xac]
and esi, dword [ecx + ebp*8 - 8]
mov ecx, eax
shl esi, cl
add eax, ebx
mov dword [esp + 0x80], eax
lea eax, [esp + 0x7c]
or edx, esi
mov dword [esp + 0x7c], edx
call fcn.0042d6a0
mov edi, dword [esp + 0x8c]
mov esi, dword [esp + 0x88]
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x24]
sub ecx, ebx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0xac]
mov ecx, dword [ecx + ebp*8 - 8]
mov dword [esp + 0x24], ecx
mov ecx, ebx
mov ebx, dword [esp + 0x24]
shr ebx, cl
mov ecx, dword [esp + 0x14]
and ebx, dword [ecx*4 + 0x6c6b30]
mov ecx, eax
shl ebx, cl
or edx, ebx
add eax, dword [esp + 0x14]
jmp 0x411993
movzx ecx, byte [ecx + ebp - 1]
mov ebx, dword [ecx*4 + 0x6c6b30]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0xac]
and ebx, dword [ecx + ebp*8 - 8]
mov ecx, eax
shl ebx, cl
or edx, ebx
add eax, dword [esp + 0x24]
mov ebx, dword [esp + 0xa0]
mov ecx, eax
shr ecx, 3
mov dword [esi], edx
add esi, ecx
cmp esi, edi
jbe 0x4119a9
mov esi, edi
add ecx, ecx
add ecx, ecx
add ecx, ecx
shr edx, cl
lea ecx, [ebp - 2]
and eax, 7
mov dword [esp + 0x20], ecx
cmp ecx, ebp
jae 0x411ca0
mov edi, dword [esp + 0x98]
lea ebp, [ecx + ebx]
mov ecx, dword [esp + 0xa8]
sub ecx, ebx
sub edi, ebx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edi
jmp 0x4119f8
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov bl, byte [ecx + ebp]
movzx ecx, byte [ebp]
mov byte [esp + 0x13], cl
mov cl, byte [edi + ebp]
movzx edi, bl
movzx ebx, cl
mov ecx, dword [ebx*4 + 0x6c6cc8]
mov dword [esp + 0x30], edi
mov edi, dword [edi*4 + 0x6c6bf0]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x18], edi
movzx edi, byte [esp + 0x13]
mov ebp, dword [ecx + edi*8]
mov dword [esp + 0x14], edi
mov edi, dword [ecx + edi*8 + 4]
mov ecx, dword [esp + 0x4c]
add edi, ecx
mov dword [esp + 0x34], ebp
shr edi, 0x10
mov ebp, dword [edi*4 + 0x6c6b30]
and ebp, ecx
mov ecx, eax
shl ebp, cl
mov ecx, edi
add eax, edi
or edx, ebp
mov ebp, dword [esp + 0x4c]
sar ebp, cl
mov ecx, dword [esp + 0x50]
add ebp, dword [esp + 0x34]
movzx ecx, word [ecx + ebp*2]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x74]
mov edi, dword [ecx + ebx*8]
mov ecx, dword [ecx + ebx*8 + 4]
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x3c], edi
lea edi, [ebx + ecx]
shr edi, 0x10
mov ebp, dword [edi*4 + 0x6c6b30]
and ebp, ebx
mov ecx, eax
shl ebp, cl
mov ecx, edi
sar ebx, cl
mov ecx, dword [esp + 0x70]
add eax, edi
mov edi, dword [esp + 0x8c]
add ebx, dword [esp + 0x3c]
or edx, ebp
movzx ecx, word [ecx + ebx*2]
mov dword [esp + 0x6c], ecx
mov ecx, eax
shr ecx, 3
mov dword [esi], edx
add esi, ecx
cmp esi, edi
jbe 0x411ac4
mov esi, edi
mov ebx, dword [esp + 0x64]
add ecx, ecx
add ecx, ecx
add ecx, ecx
shr edx, cl
mov ecx, dword [esp + 0x30]
mov ebp, dword [ebx + ecx*8]
mov ecx, dword [ebx + ecx*8 + 4]
mov dword [esp + 0x44], ebp
mov ebp, dword [esp + 0x5c]
lea ebx, [ecx + ebp]
shr ebx, 0x10
mov ecx, dword [ebx*4 + 0x6c6b30]
and ecx, ebp
mov ebp, ecx
and eax, 7
mov ecx, eax
shl ebp, cl
mov ecx, ebx
add eax, ebx
or edx, ebp
mov ebp, dword [esp + 0x5c]
sar ebp, cl
mov ecx, dword [esp + 0x60]
add ebp, dword [esp + 0x44]
movzx ecx, word [ecx + ebp*2]
mov dword [esp + 0x5c], ecx
mov ecx, eax
shr ecx, 3
mov dword [esi], edx
add esi, ecx
cmp esi, edi
jbe 0x411b26
mov esi, edi
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov ebp, dword [ebp*4 + 0x6c6b30]
add ecx, ecx
add ecx, ecx
add ecx, ecx
shr edx, cl
mov ecx, dword [esp + 0xac]
movzx ecx, word [ecx + ebx*8 + 4]
and ebp, ecx
and eax, 7
mov ecx, eax
shl ebp, cl
mov ecx, dword [esp + 0x18]
add eax, ecx
or edx, ebp
mov ebp, dword [esp + 0x1c]
add ecx, ebp
cmp ecx, 0x18
jbe 0x411b7f
mov ecx, eax
shr ecx, 3
mov dword [esi], edx
add esi, ecx
cmp esi, edi
jbe 0x411b74
mov esi, edi
add ecx, ecx
add ecx, ecx
add ecx, ecx
and eax, 7
shr edx, cl
mov ecx, dword [esp + 0xac]
movzx ecx, word [ecx + ebx*8 + 6]
mov ebp, dword [ebp*4 + 0x6c6b30]
and ebp, ecx
mov ecx, eax
add eax, dword [esp + 0x1c]
shl ebp, cl
mov ecx, eax
shr ecx, 3
or edx, ebp
mov dword [esi], edx
add esi, ecx
cmp esi, edi
jbe 0x411bad
mov esi, edi
add ecx, ecx
add ecx, ecx
add ecx, ecx
and eax, 7
shr edx, cl
cmp dword [esp + 0xb4], 0
je 0x411c4c
mov ebp, dword [esp + 0x14]
mov ecx, ebp
cmp ebp, 0x18
jb 0x411bd6
mov ecx, 0x18
sub ebp, ecx
mov dword [esp + 0x30], ebp
je 0x411c15
mov ebp, dword [ebp*4 + 0x6c6b30]
mov ecx, dword [esp + 0xac]
and ebp, dword [ecx + ebx*8]
mov ecx, eax
shl ebp, cl
or edx, ebp
mov ebp, dword [esp + 0x30]
add eax, ebp
mov ecx, eax
shr ecx, 3
mov dword [esi], edx
add esi, ecx
cmp esi, edi
jbe 0x411c0a
mov esi, edi
add ecx, ecx
add ecx, ecx
add ecx, ecx
and eax, 7
shr edx, cl
mov ecx, dword [esp + 0x14]
sub ecx, ebp
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0xac]
mov ecx, dword [ecx + ebx*8]
mov dword [esp + 0x30], ecx
mov ecx, ebp
mov ebp, dword [esp + 0x30]
shr ebp, cl
mov ecx, dword [esp + 0x1c]
and ebp, dword [ecx*4 + 0x6c6b30]
mov ecx, eax
shl ebp, cl
or edx, ebp
add eax, dword [esp + 0x1c]
jmp 0x411c6b
mov ecx, dword [esp + 0x14]
mov ebp, dword [ecx*4 + 0x6c6b30]
mov ecx, dword [esp + 0xac]
and ebp, dword [ecx + ebx*8]
mov ecx, eax
shl ebp, cl
or edx, ebp
add eax, dword [esp + 0x14]
mov ecx, eax
shr ecx, 3
mov dword [esi], edx
add esi, ecx
cmp esi, edi
jbe 0x411c7a
mov esi, edi
mov ebp, dword [esp + 0x24]
add ecx, ecx
add ecx, ecx
add ecx, ecx
dec ebx
dec ebp
and eax, 7
shr edx, cl
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebp
cmp ebx, dword [esp + 0xb0]
jb 0x4119f0
mov ebx, dword [esp + 0x78]
mov ebp, dword [ebx*4 + 0x6c6b30]
and ebp, dword [esp + 0x6c]
mov ecx, eax
shl ebp, cl
add eax, ebx
mov ecx, eax
shr ecx, 3
or edx, ebp
mov dword [esi], edx
add esi, ecx
cmp esi, edi
jbe 0x411cc6
mov esi, edi
mov ebx, dword [esp + 0x58]
mov ebp, dword [ebx*4 + 0x6c6b30]
and ebp, dword [esp + 0x4c]
add ecx, ecx
add ecx, ecx
add ecx, ecx
shr edx, cl
and eax, 7
mov ecx, eax
shl ebp, cl
add eax, ebx
mov ecx, eax
shr ecx, 3
or edx, ebp
mov dword [esi], edx
add esi, ecx
cmp esi, edi
jbe 0x411cf7
mov esi, edi
mov ebx, dword [esp + 0x68]
mov ebp, dword [ebx*4 + 0x6c6b30]
and ebp, dword [esp + 0x5c]
add ecx, ecx
add ecx, ecx
add ecx, ecx
shr edx, cl
and eax, 7
mov ecx, eax
shl ebp, cl
add eax, ebx
mov ecx, eax
shr ecx, 3
or edx, ebp
mov dword [esi], edx
add esi, ecx
cmp esi, edi
jbe 0x411d28
mov esi, edi
add ecx, ecx
add ecx, ecx
add ecx, ecx
shr edx, cl
and eax, 7
mov ecx, eax
mov ebx, 1
shl ebx, cl
inc eax
mov ecx, eax
shr ecx, 3
or edx, ebx
mov dword [esi], edx
add esi, ecx
cmp esi, edi
jbe 0x411d4e
mov esi, edi
and eax, 7
cmp esi, edi
jae 0x411d68
xor edx, edx
cmp edx, eax
sbb eax, eax
neg eax
sub eax, dword [esp + 0x84]
add eax, esi
jne 0x411d6d
mov eax, 0xffffffba
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret