Function at 0x1002bac2
Capabilities:
Packed with generic packer

Disassembly:
pushal
call 0x1002bac2
xor dword [ecx + 0x6e90002], edi
add al, byte [eax]
add byte [ebx], dh
leave
pop esi
xchg dword [esi], ecx
jecxz 0x1002babd
jmp 0x1002bcc8
sub esi, ecx
mov ebx, esi
lodsd eax, dword [esi]
sub ebx, eax
lodsd eax, dword [esi]
add eax, ebx
push eax
xchg edi, eax
lodsd eax, dword [esi]
xchg ecx, eax
rep movsd dword es:[edi], dword [esi]
pop esi
lodsd eax, dword [esi]
push esi
xchg ecx, eax
add dword [esi], ebx
lodsd eax, dword [esi]
loop 0x1002badd
lodsd eax, dword [esi]
lea ebp, [esi + 0x10]
add dword [ebp], ebx
lea edi, [ebp + 0x1c]
mov ch, 0x1c
rep stosd dword es:[edi], eax
pop esi
lodsd eax, dword [esi]
push ebx
push eax
push ecx
xchg edi, eax
pop eax
lea edx, [ebp + eax*4 + 0x5c]
call dword [esi]
jb 0x1002bb56
sub al, 3
jae 0x1002bb05
mov al, 0
cmp al, 7
jb 0x1002bb0b
sub al, 3
push eax
movzx ebx, byte [edi - 1]
shl ebx, 3
mov bl, 0
lea ebx, [ebx + ebx*2]
lea ebx, [ebp + ebx*4 + 0x100c]
mov al, 1
jecxz 0x1002bb4c
mov edx, edi
sub edx, dword [ebp + 0xc]
mov ch, byte [edx]
xor edx, edx
test cl, ch
setne dh
push edx
inc dh
mov dl, al
lea edx, [ebx + edx*4]
call dword [esi]
pop edx
lahf
adc al, al
shr cl, 1
je 0x1002bb51
sahf
sbb dh, dl
je 0x1002bb2c
mov ah, 0
xor ecx, ecx
mov ch, 1
call dword [esi + 8]
xor ecx, ecx
jmp dword [esi + GetProcAddress]
mov cl, 0x30
mov ebx, dword [ebp + 0xc]
add edx, ecx
call dword [esi]
jae 0x1002bbad
add edx, ecx
call dword [esi]
jb 0x1002bb80
add edx, ecx
call dword [esi]
jb 0x1002bb96
cmp al, 7
mov al, 9
jb 0x1002bb75
mov al, 0xb
push eax
mov eax, edi
sub eax, dword [ebp + 0xc]
mov al, byte [eax]
jmp dword [esi + 0x18]
add edx, 0x60
call dword [esi]
xchg dword [ebp + 0x10], ebx
jae 0x1002bb96
add edx, ecx
call dword [esi]
xchg dword [ebp + 0x14], ebx
jae 0x1002bb96
xchg dword [ebp + 0x18], ebx
cmp al, 7
mov al, 8
jb 0x1002bb9e
mov al, 0xb
push eax
push ebx
mov edx, ebp
add edx, dword [esi + 0x38]
call dword [esi + LoadLibraryA]
pop ebx
xchg ecx, eax
jmp dword [esi + 0x30]
cmp al, 7
mov al, 7
jb 0x1002bbb5
mov al, 0xa
push eax
xchg dword [ebp + 0x10], ebx
xchg dword [ebp + 0x14], ebx
mov dword [ebp + 0x18], ebx
mov edx, ebp
add edx, dword [esi + 0x3c]
call dword [esi + LoadLibraryA]
push 3
pop ecx
push eax
dec eax
cmp eax, ecx
jb 0x1002bbd2
mov eax, ecx
shl eax, 6
mov cl, pe_nt_image_headers32
lea ebx, [ebp + eax*4 + 0x37c]
call dword [esi + 4]
cmp al, 4
mov ebx, eax
jb 0x1002bc46
xor ebx, ebx
shr eax, 1
adc ebx, ebx
dec eax
inc ebx
xchg ecx, eax
inc ebx
shl ebx, cl
cmp cl, 5
lea edx, [ebp + ebx*4 + 0x17c]
jbe 0x1002bc2d
sub cl, 4
xor eax, eax
mov edx, dword [ebp]
shr dword [ebp + 8], 1
mov edx, dword [edx]
bswap edx
sub edx, dword [ebp + 4]
add eax, eax
cmp edx, dword [ebp + 8]
jb 0x1002bc1f
mov edx, dword [ebp + 8]
inc eax
add dword [ebp + 4], edx
call dword [esi + 0x10]
loop 0x1002bc04
mov cl, 4
shl eax, cl
add ebx, eax
lea edx, [ebp + 0x1c]
xor eax, eax
push ebx
inc eax
push ecx
shl eax, cl
mov ebx, edx
xchg ecx, eax
call dword [esi + 4]
xor edx, edx
pop ecx
shr eax, 1
adc edx, edx
loop 0x1002bc3d
pop ebx
add ebx, edx
inc ebx
pop ecx
mov dword [ebp + 0xc], ebx
push esi
mov esi, edi
sub esi, ebx
rep movsb byte es:[edi], byte [esi]
lodsb al, byte [esi]
pop esi
mov cl, 0x80
stosb byte es:[edi], al
cmp edi, dword [esi + 0x24]
jae 0x1002bc5f
jmp dword [esi + 0x20]
pop eax
mov ecx, dword [esi + 0x40]
pop edi
pop edx
push edi
jecxz 0x1002bc83
mov al, byte [edi]
inc edi
add al, 0x18
cmp al, 2
jae 0x1002bc68
mov eax, dword [edi]
cmp al, 5
jne 0x1002bc68
mov al, 0
bswap eax
add eax, dword [esi + 0x14]
sub eax, edi
stosd dword es:[edi], eax
loop 0x1002bc68
mov ebx, dword [esi + 0x28]
push esi
push edx
mov esi, dword [esi + 0x2c]
inc esi
lodsd eax, dword [esi]
test eax, eax
pop edx
je 0x1002bcb4
add eax, edx
push edx
push esi
xchg edi, eax
call dword [ebx - 4]
xchg ebp, eax
lodsb al, byte [esi]
test al, al
jne 0x1002bc9b
cmp byte [esi], al
je 0x1002bc8b
mov eax, esi
jns 0x1002bcad
inc esi
xor eax, eax
lodsw ax, word [esi]
push eax
push ebp
call dword [ebx]
stosd dword es:[edi], eax
jmp 0x1002bc9b
pop ecx
pop edi
mov ecx, dword [ecx + 0x44]
jecxz 0x1002bcc8
xor eax, eax
lodsb al, byte [esi]
cmp al, 4
jb 0x1002bcce
add edi, eax
add dword [edi], edx
loop 0x1002bcbb
popal
jmp 0x100020e0
sub al, 1
jb 0x1002bcda
je 0x1002bcde
shl eax, 8
lodsb al, byte [esi]
jmp 0x1002bcc2
lodsw ax, word [esi]
jmp 0x1002bcc2
lodsd eax, dword [esi]
jmp 0x1002bcc2