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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, eax
mov eax, dword [eax + 0x80]
test eax, eax
je 0x411ee6
sar eax, 1
je 0x4120b9
xor esi, esi
lea esi, [esi]
inc esi
sar eax, 1
jne 0x411dac
cmp esi, 0xe
jg 0x41205f
mov eax, esi
shl eax, 4
mov edx, dword [ebx + 0x7c]
cmp byte [ebx + 0x6c], 0
je 0x411ef0
mov ecx, dword [ebx + edx*4 + 0x5c]
lea eax, [ecx + eax*4]
inc dword [eax]
mov al, byte [ebx + 0x6c]
test esi, esi
jne 0x411fba
mov dword [ebx + 0x80], 0
mov edx, dword [ebx + 0x84]
mov dword [esp + 0x18], edx
mov edx, dword [ebx + 0x88]
mov dword [esp + 0x1c], edx
test al, al
jne 0x411edc
mov ebp, dword [esp + 0x18]
test ebp, ebp
je 0x411edc
nop
mov ecx, dword [esp + 0x1c]
mov dl, byte [ecx]
mov ebp, dword [ebx + 0x10]
test al, al
jne 0x411ec0
mov esi, 1
and esi, edx
lea edi, [ebp + 1]
mov ecx, 0x17
sub ecx, ebp
shl esi, cl
or esi, dword [ebx + 0xc]
cmp edi, 7
jg 0x411e57
jmp 0x411eba
cmp edx, 0xff
je 0x411e8d
shl esi, 8
sub edi, 8
cmp edi, 7
jle 0x411eb4
mov edx, esi
sar edx, 0x10
and edx, 0xff
mov eax, dword [ebx + 0x70]
mov byte [eax], dl
inc eax
mov dword [ebx + 0x70], eax
mov eax, dword [ebx + 0x74]
dec eax
mov dword [ebx + 0x74], eax
test eax, eax
jne 0x411e44
mov eax, ebx
mov dword [esp + 0x10], edx
call fcn.004113e0
mov edx, dword [esp + 0x10]
cmp edx, 0xff
jne 0x411e4c
mov eax, dword [ebx + 0x70]
mov byte [eax], 0
inc eax
mov dword [ebx + 0x70], eax
mov eax, dword [ebx + 0x74]
dec eax
mov dword [ebx + 0x74], eax
test eax, eax
jne 0x411e4c
mov eax, ebx
call fcn.004113e0
shl esi, 8
sub edi, 8
cmp edi, 7
jg 0x411e57
lea edi, [ebp - 7]
and edi, 7
mov dword [ebx + 0xc], esi
mov dword [ebx + 0x10], edi
dec dword [esp + 0x18]
je 0x411edc
inc dword [esp + 0x1c]
mov al, byte [ebx + 0x6c]
jmp 0x411e14
mov dword [ebx + 0x80], 0
mov dword [ebx + 0x84], 0
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebx + edx*4 + 0x3c]
movsx ecx, byte [edx + eax + 0x400]
mov ebp, dword [edx + eax*4]
mov edx, dword [ebx + 0x10]
test ecx, ecx
je 0x412075
mov edi, 1
shl edi, cl
dec edi
and edi, ebp
add edx, ecx
mov dword [esp + 0x18], edx
mov ecx, 0x18
sub ecx, edx
shl edi, cl
or edi, dword [ebx + 0xc]
cmp edx, 7
jle 0x411fa5
mov ebp, edx
jmp 0x411f43
cmp edx, 0xff
je 0x411f79
shl edi, 8
sub ebp, 8
cmp ebp, 7
jle 0x411fa0
mov edx, edi
sar edx, 0x10
and edx, 0xff
mov eax, dword [ebx + 0x70]
mov byte [eax], dl
inc eax
mov dword [ebx + 0x70], eax
mov eax, dword [ebx + 0x74]
dec eax
mov dword [ebx + 0x74], eax
test eax, eax
jne 0x411f30
mov eax, ebx
mov dword [esp + 0x10], edx
call fcn.004113e0
mov edx, dword [esp + 0x10]
cmp edx, 0xff
jne 0x411f38
mov eax, dword [ebx + 0x70]
mov byte [eax], 0
inc eax
mov dword [ebx + 0x70], eax
mov eax, dword [ebx + 0x74]
dec eax
mov dword [ebx + 0x74], eax
test eax, eax
jne 0x411f38
mov eax, ebx
call fcn.004113e0
shl edi, 8
sub ebp, 8
cmp ebp, 7
jg 0x411f43
and dword [esp + 0x18], 7
mov dword [ebx + 0xc], edi
mov edx, dword [esp + 0x18]
mov dword [ebx + 0x10], edx
mov al, byte [ebx + 0x6c]
test esi, esi
je 0x411de0
mov edx, dword [ebx + 0x80]
mov ebp, dword [ebx + 0x10]
test al, al
jne 0x411ed2
mov edi, 1
mov ecx, esi
shl edi, cl
dec edi
and edi, edx
add esi, ebp
mov ecx, 0x18
sub ecx, esi
shl edi, cl
or edi, dword [ebx + 0xc]
cmp esi, 7
jle 0x4120ae
mov ebp, esi
jmp 0x41200b
cmp edx, 0xff
je 0x412041
shl edi, 8
sub ebp, 8
cmp ebp, 7
jle 0x4120a8
mov edx, edi
sar edx, 0x10
and edx, 0xff
mov eax, dword [ebx + 0x70]
mov byte [eax], dl
inc eax
mov dword [ebx + 0x70], eax
mov eax, dword [ebx + 0x74]
dec eax
mov dword [ebx + 0x74], eax
test eax, eax
jne 0x411ff4
mov eax, ebx
mov dword [esp + 0x10], edx
call fcn.004113e0
mov edx, dword [esp + 0x10]
cmp edx, 0xff
jne 0x411ffc
mov eax, dword [ebx + 0x70]
mov byte [eax], 0
inc eax
mov dword [ebx + 0x70], eax
mov eax, dword [ebx + 0x74]
dec eax
mov dword [ebx + 0x74], eax
test eax, eax
jne 0x411ffc
mov eax, ebx
call fcn.004113e0
jmp 0x411ffc
mov edx, dword [ebx + 0x78]
mov eax, dword [edx]
mov dword [eax + 0x14], 0x29
mov dword [esp], edx
call dword [eax]
jmp 0x411dba
mov edi, dword [ebx + 0x78]
mov eax, dword [edi]
mov dword [eax + 0x14], 0x29
mov dword [esp], edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
call dword [eax]
mov al, byte [ebx + 0x6c]
test al, al
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
jne 0x411dd8
jmp 0x411f0a
and esi, 7
mov al, byte [ebx + 0x6c]
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x10], esi
jmp 0x411de0
xor eax, eax
xor esi, esi
jmp 0x411dbf