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

Disassembly:
push ebp
push edi
push esi
push ebx
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
cmp ecx, 1
je 0x427a35
jb 0x4278c0
cmp ecx, 0x20
jb 0x4278ca
pop ebx
pop esi
pop edi
pop ebp
mov eax, 0xfe02
ret
xor eax, eax
add ecx, 0xffff2000
sub ch, cl
mov edx, esi
mov ebx, 0x10
sub ebx, edx
jbe 0x4278ff
lea edx, [ebx*4]
sub edi, edx
test ebx, 1
je 0x4278f2
mov ebp, eax
shl ebx, 1
lea edx, [ebx + ebx*8]
lea edx, [edx + 0x4278ff]
jmp edx
mov ebx, dword [edi]
mov ebp, ebx
shl ebx, cl
xchg cl, ch
or ebx, eax
mov dword [edi], ebx
shr ebp, cl
xchg cl, ch
mov ebx, dword [edi + 4]
mov eax, ebx
shl ebx, cl
xchg cl, ch
or ebx, ebp
mov dword [edi + 4], ebx
shr eax, cl
xchg cl, ch
mov ebx, dword [edi + 8]
mov ebp, ebx
shl ebx, cl
xchg cl, ch
or ebx, eax
mov dword [edi + 8], ebx
shr ebp, cl
xchg cl, ch
mov ebx, dword [edi + 0xc]
mov eax, ebx
shl ebx, cl
xchg cl, ch
or ebx, ebp
mov dword [edi + 0xc], ebx
shr eax, cl
xchg cl, ch
mov ebx, dword [edi + 0x10]
mov ebp, ebx
shl ebx, cl
xchg cl, ch
or ebx, eax
mov dword [edi + 0x10], ebx
shr ebp, cl
xchg cl, ch
mov ebx, dword [edi + 0x14]
mov eax, ebx
shl ebx, cl
xchg cl, ch
or ebx, ebp
mov dword [edi + 0x14], ebx
shr eax, cl
xchg cl, ch
mov ebx, dword [edi + 0x18]
mov ebp, ebx
shl ebx, cl
xchg cl, ch
or ebx, eax
mov dword [edi + 0x18], ebx
shr ebp, cl
xchg cl, ch
mov ebx, dword [edi + 0x1c]
mov eax, ebx
shl ebx, cl
xchg cl, ch
or ebx, ebp
mov dword [edi + 0x1c], ebx
shr eax, cl
xchg cl, ch
mov ebx, dword [edi + 0x20]
mov ebp, ebx
shl ebx, cl
xchg cl, ch
or ebx, eax
mov dword [edi + 0x20], ebx
shr ebp, cl
xchg cl, ch
mov ebx, dword [edi + 0x24]
mov eax, ebx
shl ebx, cl
xchg cl, ch
or ebx, ebp
mov dword [edi + 0x24], ebx
shr eax, cl
xchg cl, ch
mov ebx, dword [edi + 0x28]
mov ebp, ebx
shl ebx, cl
xchg cl, ch
or ebx, eax
mov dword [edi + 0x28], ebx
shr ebp, cl
xchg cl, ch
mov ebx, dword [edi + 0x2c]
mov eax, ebx
shl ebx, cl
xchg cl, ch
or ebx, ebp
mov dword [edi + 0x2c], ebx
shr eax, cl
xchg cl, ch
mov ebx, dword [edi + 0x30]
mov ebp, ebx
shl ebx, cl
xchg cl, ch
or ebx, eax
mov dword [edi + 0x30], ebx
shr ebp, cl
xchg cl, ch
mov ebx, dword [edi + 0x34]
mov eax, ebx
shl ebx, cl
xchg cl, ch
or ebx, ebp
mov dword [edi + 0x34], ebx
shr eax, cl
xchg cl, ch
mov ebx, dword [edi + 0x38]
mov ebp, ebx
shl ebx, cl
xchg cl, ch
or ebx, eax
mov dword [edi + 0x38], ebx
shr ebp, cl
xchg cl, ch
mov ebx, dword [edi + 0x3c]
mov eax, ebx
shl ebx, cl
xchg cl, ch
or ebx, ebp
mov dword [edi + 0x3c], ebx
shr eax, cl
xchg cl, ch
add edi, 0x40
sub esi, 0x10
ja 0x4278d4
pop ebx
pop esi
pop edi
pop ebp
mov eax, 0
ret
xor eax, eax
lahf
mov ecx, esi
mov ebx, 0x20
sub ebx, ecx
jbe 0x427a58
lea ecx, [ebx*4]
sub edi, ecx
lea ecx, [ebx + ebx*2]
lea ecx, [ecx + 0x427a59]
sahf
jmp ecx
sahf
rcl dword [edi]
rcl dword [edi + 4]
rcl dword [edi + 8]
rcl dword [edi + 0xc]
rcl dword [edi + 0x10]
rcl dword [edi + 0x14]
rcl dword [edi + 0x18]
rcl dword [edi + 0x1c]
rcl dword [edi + 0x20]
rcl dword [edi + 0x24]
rcl dword [edi + 0x28]
rcl dword [edi + 0x2c]
rcl dword [edi + 0x30]
rcl dword [edi + 0x34]
rcl dword [edi + 0x38]
rcl dword [edi + 0x3c]
rcl dword [edi + 0x40]
rcl dword [edi + 0x44]
rcl dword [edi + 0x48]
rcl dword [edi + 0x4c]
rcl dword [edi + 0x50]
rcl dword [edi + 0x54]
rcl dword [edi + 0x58]
rcl dword [edi + 0x5c]
rcl dword [edi + 0x60]
rcl dword [edi + 0x64]
rcl dword [edi + 0x68]
rcl dword [edi + 0x6c]
rcl dword [edi + 0x70]
rcl dword [edi + 0x74]
rcl dword [edi + 0x78]
rcl dword [edi + 0x7c]
lahf
add edi, 0x80
sub esi, 0x20
ja 0x427a38
pop ebx
pop esi
pop edi
pop ebp
mov eax, 0
ret