Function at 0x6151e2
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x6151ff
cmp dword [ebx + 0x2c], 0
jne 0x615204
mov edi, ebx
mov dword [ebp + 0xc], edi
cmp dword [edi + 0x1c], ebx
je 0x61520c
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0x40
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], 0
mov dword [ebx + 0x2e4], 0
mov dword [ebx + 0x2e8], 0
mov dword [ebp - 0x10], 0x40
call fcn.006119c2
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
test esi, esi
jne 0x615262
push 0x660558
call fcn.006140a2
add esp, 4
xor eax, eax
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x3c]
push edi
push ebx
mov dword [ebp - 4], esi
call eax
add esp, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x2f0]
push ebx
call eax
mov edi, dword [ebp + 8]
add esp, 4
mov dword [ebp - 0x1c], eax
cmp esi, edi
jbe 0x6153a0
cmp eax, 0x3c
je 0x61529a
cmp eax, 0xffffffff
jne 0x6153a9
mov edi, dword [ebp - 0x14]
mov byte [esi], 0
cmp edi, 2
je 0x6152aa
cmp edi, 0xffffffff
jne 0x6152b8
push dword [ebp + 8]
call fcn.00613422
add esp, 4
mov dword [ebp - 4], eax
push dword [ebp + 8]
xor esi, esi
call fcn.006127d2
add esp, 4
test eax, eax
je 0x61538f
mov eax, edi
sub eax, 1
je 0x61533d
sub eax, 1
je 0x615321
sub eax, 1
jne 0x61538f
cmp dword [ebx + 0x44], esi
je 0x61598f
mov edi, dword [ebp - 8]
mov dword [edi + 0x18], 3
push dword [ebp + 8]
mov eax, dword [ebx + 0x44]
push edi
push ebx
call eax
add esp, 0xc
test eax, eax
jne 0x61538f
push dword [edi]
push dword [ebp + 8]
push 0x6605a0
call fcn.006140a2
add esp, 0xc
jmp 0x615ace
mov edi, dword [ebp - 8]
push 1
mov dword [edi + 0x18], 2
push dword [ebp + 8]
push edi
call fcn.00616ac2
add esp, 0xc
test eax, eax
jmp 0x615389
cmp dword [ebx + 0x2e8], esi
je 0x615374
push dword [ebp + 8]
call fcn.00612a52
mov edi, dword [ebp - 8]
add esp, 4
cmp byte [eax], 0
je 0x615377
cmp dword [edi + 0x18], esi
jne 0x615377
mov dword [edi + 0x18], 1
push dword [ebp + 8]
push edi
call fcn.00614f32
add esp, 8
test eax, eax
jmp 0x615389
mov edi, dword [ebp - 8]
push dword [ebp + 8]
push 0
push edi
call fcn.00614ed2
mov esi, eax
add esp, 0xc
test esi, esi
je 0x6159a1
mov eax, dword [ebp - 0xc]
test eax, eax
mov edi, dword [ebp + 8]
cmove eax, esi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
cmp eax, 0xffffffff
je 0x615aa0
cmp eax, 0x3c
jne 0x615950
mov eax, dword [ebx + 0x2f0]
push ebx
mov dword [ebp - 4], edi
call eax
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
je 0x6154db
nop word [eax + eax]
push esi
call fcn.006139f2
add esp, 4
test eax, eax
jne 0x6154db
cmp esi, 0x3e
je 0x6154db
cmp esi, 0x2f
jne 0x6153fc
cmp edi, dword [ebp + 8]
ja 0x6154db
jmp 0x61545c
cmp esi, 0x3c
je 0x6159b9
cmp esi, 0x26
jne 0x615444
push dword [ebp - 8]
push ebx
call fcn.00615f92
add esp, 8
cmp eax, 0xffffffff
je 0x615ace
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 4]
push ecx
push eax
call fcn.006150c2
add esp, 0x10
test eax, eax
je 0x615ace
mov edi, dword [ebp - 4]
jmp 0x6154c4
cmp esi, 0x30
jge 0x61545c
cmp esi, 0x21
je 0x61545c
cmp esi, 0x2d
je 0x61545c
cmp esi, 0x2e
jne 0x615ace
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
push esi
call fcn.006150c2
add esp, 0x10
test eax, eax
je 0x615ace
mov edi, dword [ebp - 4]
mov eax, edi
mov ecx, dword [ebp + 8]
sub eax, ecx
cmp eax, 1
jne 0x61548d
cmp byte [ecx], 0x3f
je 0x6154db
cmp eax, 3
jne 0x6154a8
push eax
push 0x660610
push ecx
call 0x811f32
add esp, 0xc
test eax, eax
je 0x6154db
mov ecx, dword [ebp + 8]
mov eax, edi
sub eax, ecx
cmp eax, 8
jne 0x6154c4
push eax
push 0x6602cc
push ecx
call 0x811f32
add esp, 0xc
test eax, eax
pop ds
add byte [ebx - 0x3f7af33c], al
je 0x6154db
mov eax, dword [ebx + 0x2f0]
push ebx
call eax
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
jne 0x6153d2
mov byte [edi], 0
mov ecx, 0x660610
mov eax, dword [ebp + 8]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x615506
test dl, dl
je 0x615502
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x615506
add eax, 2
add ecx, 2
test dl, dl
ret
inc edi
jno 0x6154a1
out dx, al
out dx, eax
loope 0x6154bb
mov cl, 0xe3
salc
xlatb
mov cl, 0xea
invalid
lahf
and dword [edx - 0x18], ebp
xor eax, 0xff158e93
iretd
cmp byte [edi + 0x1ed2e187], cl
loope 0x615920
push ds
jbe 0x615961
adc byte [edi + 0x1c], bl
pop esi
pop edi
sbb al, 0x5e
je 0x6159b8
div dword [eax - 1]
push ds
js 0x6159dc
cld
jnp 0x61599d
rcl byte [ebx - 0xb131414], cl
bound edi, qword [esi - 0x4d]
sar edi, 1
xor ebx, 0x3afb32d
test ebx, esi
test dword [0x5851434], esi
daa
adc eax, 0x7c9817ec
jae 0x6159e4
xchg ebx, eax
in al, dx
jmp 0x615951
invalid
jp 0x6159c8
sal ecx, cl
lodsd eax, dword [esi]
jmp 0x61594c
loopne 0x615949
inc esi
pop es
xchg edx, eax
sbb esp, dword [edx - 0x3b]
and byte [ebp - 0x958aaba], cl
xor eax, 0x61a36733
popal
ror dword [edx + 0x9b32c4c], cl
pop ss
shl byte [ecx - 0x22faa604], 0x17
push eax
fst qword [edx + ecx - 0x40961443]
mov edi, 0x33a2c81d
add dword [ebx - 0x1f], 0x62833918
salc
sub al, 0xb3
sbb eax, 0x8133a2c8
inc ebx
loope 0x6159d9
cmp dword [ebx - 0x4cd3299e], eax
mov ds, word [bx + si]
mov ds, word [eax]
lcall 0x321, 0xb3cc316
jo 0x615982
ror dword [esi + 0x3060f7f4], 1
or eax, 0xf1de00c8
fdivrp st(1)
xor edx, dword [edi]
adc edx, 0x3412a897
movsd dword es:[edi], dword [esi]
loop 0x6159eb
adc dh, byte [0xfeb002e2]
mov al, 0xfe
loopne 0x615a5d
fild qword [eax - 0x5e]
push edi
or al, 0xe3
inc eax
jecxz 0x615a34
cmp esp, dword [edi]
mov edx, 0xc849d0cd
add esi, dword [ebx - 5]
or eax, 0xd68183af
movsb byte es:[edi], byte [esi]
jge 0x6159ca
xor byte [edx - 0x849850e], bh
stosd dword es:[edi], eax
jg 0x6159f2
dec esi
out 0x91, eax
cdq
mov word [eax + edx*8 + 0x11899c0f], ds
in al, dx
out dx, al
mov eax, dword [0x55a69aa6]
add dl, byte [eax + 0x6ffe112e]
push es
push cs
nop
sar byte [ecx], 1
sbb bl, ah
je 0x6159f0
int3
and eax, 0x2c064216
push ecx
sub dl, byte [ecx - 0x5f7ceedf]
jno 0x6159fb
xchg edx, eax
mov ebp, 0x89af042
lea edi, [edx + 0x37]
mov word [edi - 0x42], cs
loope 0x615a64
xor byte [edx], 6
dec ecx
push edi
inc ebp
xor al, 0xe6
adc eax, ebp
test byte [eax + 0x78], 0xfb
invalid
js 0x615a5a
imul edx, dword [ecx], 0xabcef5d5
stosd dword es:[edi], eax
test dword [edx], 0x821d13be
rcr dword [0xb88baaac], 1
invalid
inc esi
jmp 0x2687ab9
popal
test eax, 0x59030123
push ebp
je 0x615b1b
fdivp st(3)
stosd dword es:[edi], eax
cmp al, byte [ebp + 0x67]
ja 0x615a71
push edi
rol ch, cl
inc eax
adc al, 0xf8
mov ch, 0xd8
inc ebx
sub bl, byte [edi - 0x3df843c]
xor edx, dword [esi]
jb 0x615b37
pop ecx
sub al, 0xf
je 0x615ae0
stc
mov cs, word [esi + edx*4]
mov ecx, 0x5390c011
or edx, dword [eax - 0x4e4a8bca]
cmp ebx, edx
inc sp
sub eax, 0x12197e52
mov cl, 0xb6
invalid
add dword [ebx - 0x78], edi
jge 0x615b40
xchg edx, eax
cmp dword [ebx - 0xc209de7], ebx
aam 0xf6
aas
das
mov dword [ebx - 0x48], edx
push ebx
invalid
stc
jns 0x615bbb
xchg ebx, eax
adc al, 0x34
mov dh, 0xd6
salc
pushal
out 0x40, eax
xor eax, 0x1e205471
xchg edx, eax
fnsave dword [ecx - 0xa0e4e64]
sbb eax, 0x5c5e0657
je 0x615aea
add dword [edx + 0x4f], esp
lahf
pushfd
ret
mov dl, byte [ebx - 0x46]
arpl word [edi + 0x5c], sp
inc edx
adc edi, ebp
stosb byte es:[edi], al
aas
jecxz 0x615beb
nop
xchg ebp, eax
out dx, eax
jecxz 0x615c10
mov ecx, 0x65b370c7
bound edx, qword [ebp + 0x33]
xchg ebp, eax
and eax, 0x6108724f
or byte [ebx - 0x4cdd7751], dh
xchg ebp, eax
xlatb
or al, 0xdb
add al, byte [eax + 0x51]
mov bl, 0xf0
pop ebx
nop
popfd
mov cl, 0xe1
int 0x32
pop es
mov eax, 0x2c7ec82b
sub eax, dword [ebx + 0x18]
fstp qword [eax]
loopne 0x615c7a
and al, ah
jnp 0x615c2d
sub eax, 0x22325b91
xchg ecx, eax
pop ebx
xor ah, byte [edx]
and dh, byte [esi]
imul byte [eax]
imul byte ss:[eax]
dec ebp
wait
sbb ah, byte [esi + 0x73aab2a3]
ret 0x2d9e
sahf
sub eax, 0x99d341c6
jnp 0x615c03
or ebp, dword [edi + 0x50]
mov dl, 0x31
mov ah, 0x9e
jp 0x615c7f
daa
lodsd eax, dword [esi]
jne 0x615bfc
imul dword [0x52dc5850]
rcl bh, 0x5c
pop esp
mov esi, dword [ebp + 0x728270e3]
push ss
test ecx, esi
and al, 0x40
sbb eax, 0xcf70144
inc ebx
add edi, esi
or al, 0x43
xor byte [ebx], cl
rcl eax, 1
ret 0xa0b0
les ecx, [esp + ecx + 0x56023383]
daa
cld
mov byte [0x8d157e7], al
add eax, 0xdb91b423
jp 0x615c77
jmp 0x615c54
rcr dword [edx + 0x71], 1
push esi
sbb dword [ebx], eax
in al, dx
xor al, byte [ebp + esi*8 + 0x6331a427]
out dx, al
test ch, dh
daa
movsb byte es:[edi], byte [esi]
xor dword [ebx - 0x12], esp
cmp ch, bh
xchg edx, eax
into
aam 0xfc
sar byte [edi + eax*2], 0xb1
add ch, dl
or eax, 0xbe7539c2
test dword [ecx - 0x24afac60], esi
jl 0x615c3b
imul edx, dword [ebx + 0x64], 0xfbf59396
adc dword [ebx], ecx
jns 0x615c4d
jnp 0x615cbd
std
arpl word [edx - 0x3d], dx
pop ebp
cmp esp, eax
scasb al, byte es:[edi]
mov edi, 0xb3927726
lea edi, [ebx + 0x49f7c08b]
sal bh, 0x49
mov byte [0x53fdfd71], al
shr dword [edx], 1
shl dword [edx + 0x4b421bad], 1
add dword [0x12b10295], 0x4b0f59e6
fcmovne st(0), st(0)
movsd dword es:[edi], dword [esi]
invalid