Function at 0x40b080
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
aad 0xec
stc
mov eax, dword [0x10758bae]
push edi
cmp dword [esi], 0
ja 0x40ae72
mov dword [esi], 0
mov edi, 0x5bc0335e
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
adc bl, cl
mov ebx, 0x8b085d8b
inc ebx
sbb dh, dh
les eax, [edx]
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x18]
test ah, 2
je 0x40aee2
mov eax, dword [ebx - 0x55]
xchg esi, eax
shr byte [ecx + 0x5e], 0x8b
add ebp, dword [edx + 0x14]
push eax
xor edi, edi
call 0x384049d7
lodsb al, byte [esi]
enter 0x3889, 0xffffffffffffff89
js 0x40ae9b
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
js 0x40aea9
ret 0x5757
mov al, byte [0x8b0040c0]
push ebx
popal
push 0x438b1051
or al, 0x8b
dec eax
adc byte [ebp - 0x745d8a5c], al
xor eax, sym.imp.KERNEL32.dll_TlsAlloc
loopne 0x40ae9b
test eax, eax
out 9, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x30]
or edi, 0xffffffff
cmp eax, edi
mov eax, dword [ebp + 0xc]
je 0x40ae72
mov ah, bl
xor byte [eax + 0x40168b08], cl
dec edx
mov dword [esi], edx
mov ecx, ebp
xor byte [ebx + 0xc4589e2], cl
cmp ecx, esp
jne 0x40af17
mov dword [esi], 1
pop edi
sub al, byte [ecx - 0x1a74a440]
pop ebp
ret 0xc
xchg ebx, eax
dec ebx
sub al, 0x53
leave
cvtpi2ps xmm0, qword [edi + 0x22c000a5]
push ebx
pop eax
mov esp, dword [ebp - 0x3ba76ae]
mov dword [ebp - 8], edi
call fcn.0040a2d0
cmp dword [ebx + 0x48], 1
inc ebx
sub eax, 0x391e853
add byte [eax], al
xor ecx, ecx
mov dword [ebp + 8], eax
cmp eax, ecx
je 0x40af5d
mov eax, dword [ebx + 0x58]
push eax
call fcn.0040a2ca
mov eax, dword [ebp + 8]
pop edi
pop esi
jmp 0xc29e94e6
mov ebp, esp
cmp al, 0x89
loopne 0x40afab
mov dword [ebx + 0x44], ecx
mov dword [ebp - 0x44], 0xc300e7
jmp 0x40af72
sbb bh, byte [eax + 0x46]
xchg byte [edi - 0x74ff4c00], dh
dec ebx
cmp al, 0x8b
inc ebx
inc esp
cmp ecx, eax
jb 0x40afbb
mov eax, dword [ebx + 0x40]
mov ecx, dword [ebx - 0x31]
lea edx, [ebp - 0xc]
push edx
push eax
push ecx
push ebx
call 0x40b080
mov ecx, dword [ebp - 0xc]
jl 0x40aff3
and dword [ebp - 0x7635c4f0], 0x20
or byte [ebx + edi*2 - 0x6d], dh
jae 0x40aff8
mov eax, dword [ebx + 0x54]
add esi, ecx
mov dword [ebx + 0x44], ecx
adc eax, edx
mov dword [ebx - 0x3d], esi
mov dword [ebx + 0x54], eax
mov dword [ebx - 0xb], edx
push ebx
cmc
and al, 0x28
in al, 0x67
inc ebx
inc esp
sub ecx, dword [esi - 0x55880768]
mov esi, ebp
mov esi, dword [ebx + 0x38]
mov edi, dword [ebp - 4]
mov ebx, dword [esi - 0x2e740dfd]
ror dword [eax + 2], 0xf3
movsd dword es:[edi], dword [esi]
mov ecx, edx
out dx, eax
add eax, 0x3e1a6fc
cwde
sal bl, 1
movsb byte es:[edi], byte [esi]
mov esi, dword [ebx + 0x3c]
mov ecx, dword [ebp - 8]
add esi, eax
sub ecx, eax
mov eax, dword [ebp + 8]
invalid
mov dword [ebx - 0x57], esi
aas
jne 0x40afb9
ror byte [ecx - 0x3fd503ab], 0x89
dec ebp
clc
mov dword [ebp - 4], edx
sub al, al
mov dword [ebp - 8], ecx
je 0x40afed
jmp 0x40b054
pop eax
mov dword [ebp + 8], eax
jecxz 0x40b061
mov dword [ebx + 0x28], 1
mov eax, dword [ebp + 0xc]
pop edi
mov dword [esi], eax
mov eax, dword [ebp + 8]
pop esi
mov esi, 0xc25de58b
or al, 0
fist word [ecx - 0x70]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [esp + ecx*4 - 0x74efb975]
dec esi
adc al, 0x6f
leave
mov dword [ebp + 0x10], 0
jne 0x40b10d
mov al, byte [edi - 0x3a]
test al, al
je 0x40b10d
mov edx, dword [esi + 4]
lea ecx, [ebp + 8]
xchg edx, eax
add byte [ecx + 0x6a], dl
add byte [edx], cl
add byte [edx], ch
push edx
call dword [0x60c00c]
adc eax, eax
jne 0x40b0f2
mov eax, esi
aad 0xc0
inc eax
ud0
mov eax, dword [ebp + 8]
test eax, eax
xor dword [esi], ecx
mov edx, dword [ebp + 0x14]
pop edi
pop esi
mov dword [edx], eax
mov eax, 0x4900450b
rol ebx, cl
cmp edi, eax
xor cl, byte [ebx + 0x468bf88b]
or al, 0x85
sar bh, 0x23
mov dl, byte [ebx - 0x75367bf8]
sbb al, 0x8b
dec esi
sub cl, byte [ecx + 0x468b0848]
push eax
mov edx, dword [esi - 0xe]
mov ecx, 0xab0027
call 0x680944
xchg byte [esi + 0x37], dl
mov dword [edx + 0xc], eax
das
inc esi
or al, 0x8b
push ebp
or al, 0x53
stosb byte es:[edi], al
dec ebp
xor byte [eax - 0x75], dl
sub eax, dword [ecx + edx*2]
push edi
push edx
push eax
mov edi, 0x40c01015
add byte [ebp + 0x330774c0], al
rcl ch, 0x2b
add dword [eax], eax
add byte [ebx + 0x40c0b63d], cl
add byte [0x3fc049d7], bl
mov eax, dword [esi + 0xc]
test eax, eax
jmp dword [ebx]
test byte [ebx], bl
add dword [eax], eax
add byte [ecx - 0x37ffa5f], al
sub al, byte [eax]
cmp eax, 0xb000b
jne 0x40b24f
mov edx, esp
pushfd
sal byte [esi], 0x8b
dec esi
adc al, 0x8b
inc esi
adc byte [ebp - 0x37], bh
jl 0x40b1a2
jg 0x40b1c0
test eax, eax
fcom dword [eax]
push 0
push 0x6f0003e8
push ecx
push eax
call 0x121b590
jmp 0x40b1af
loopne 0x40b165
sub dword [ebp + 0xb0482ff], 0x1b
add dh, byte [ebx]
ror byte [ebx - 0x74aff1b2], 0x51
adc byte [eax + 0x2c], ah
rcl dword [ebp - 0x52], cl
mov ecx, dword [esi + 0xe]
push eax
mov edx, dword [ecx + 0x10]
pushal
sub al, 0xd3
push ebp
scasb al, byte es:[edi]
mov al, 0xff
add byte [eax], 0
add byte [ebp - 0x7b], dh
push dword [ecx + esi - 0x5f]
pushal
sbb byte [ecx], al
mov ebx, dword [esi - 0x60]
test eax, eax
jne 0x40b1eb
push eax
push 0x3c00c1
in al, 0x1b
popal
imul dword [ecx - 1]
add esp, 0xc
mov dword [0xbf600960], eax
test esp, ebp
je 0x40b1f0
push ebx
call eax
jmp 0x40b218
push 1
call dword [str.LOG:_header_received:_n_s_n]
fimul dword [esi + 0xc]
push 0x56
add al, 0x8d
inc ebp
adc byte [edx + 1], ch
push eax
push ecx
mov esp, 0xc0c015ff
inc eax
mov dh, 0x85
sal byte [esp + eax + 0x33], 0xc0
inc eax
add byte [edi], ch
rol dword [ebp - 0x9aa440], cl
rol dword [0xa6680], cl
cmp eax, 0xb0064
je 0x40b235
cmp eax, 0xb0063
jne 0x40b24f
cmp edi, 0x62000102
int1
or dword [ebx - 0xea7ebb3], ecx
adc byte [ebx + 0x5f], bl
mov eax, 0x11178
mov dword [ecx], edx
pop esi
pop ebp
cmp ax, 0xbbed
or dl, ah
cmp eax, 0xd40abbed
jne 0x40b268
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
pop ebx
pop edi
mov eax, 0x1ce5117e
mov dword [ecx], edx
pop esi
pop ebp
ret
and eax, 0xafca6
jne 0x40b281
mov ecx, dword [ebp + 0x14]
mov ebx, dword [eax - 0x47a04af0]
test eax, eax
jne 0x40b2bd