joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001089
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1002912c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 1
xor edi, edi
push edi
push dword [esi]
call dword [esi + 0x28]
push edi
push edi
push dword [esi]
mov ebx, eax
call dword [esi + 0x28]
push 0xd
lea eax, [ebp - 0x14]
push eax
push dword [esi]
call dword [esi + 0x20]
add esp, 0x24
cmp eax, 0xd
jne 0x10001210
cmp byte [ebp - 0x14], 0x47
jne 0x10001210
cmp byte [ebp - 0x13], 0x49
jne 0x10001210
cmp byte [ebp - 0x12], 0x46
jne 0x10001210
cmp byte [ebp - 0x11], 0x38
jne 0x10001210
cmp byte [ebp - 0xf], 0x61
jne 0x10001210
mov al, byte [ebp - 0x10]
cmp al, 0x37
je 0x1000110a
cmp al, 0x39
jne 0x10001210
mov al, byte [ebp - 0xa]
test al, al
jns 0x1000112b
movzx ecx, al
xor eax, eax
and ecx, 7
inc eax
inc ecx
shl eax, cl
imul eax, eax, 3
push 1
push eax
push dword [esi]
call dword [esi + 0x28]
add esp, 0xc
push 1
lea eax, [ebp - 0x14]
push eax
push dword [esi]
call dword [esi + 0x20]
add esp, 0xc
cmp eax, 1
jne 0x10001212
mov al, byte [ebp - 0x14]
cmp al, 0x21
je 0x100011cf
cmp al, 0x2c
jne 0x10001212
push 9
lea eax, [ebp - 0x13]
inc edi
push eax
push dword [esi]
call dword [esi + 0x20]
add esp, 0xc
cmp eax, 9
jne 0x10001210
mov al, byte [ebp - 0xb]
test al, al
jns 0x1000118e
movzx ecx, al
xor eax, eax
and ecx, 7
inc eax
inc ecx
shl eax, cl
imul eax, eax, 3
push 1
push eax
push dword [esi]
call dword [esi + 0x28]
add esp, 0xc
push 1
lea eax, [ebp - 0x14]
push eax
push dword [esi]
call dword [esi + 0x20]
add esp, 0xc
cmp eax, 1
jne 0x10001210
push 1
lea eax, [ebp - 0x14]
push eax
push dword [esi]
call dword [esi + 0x20]
add esp, 0xc
cmp eax, 1
jne 0x10001210
mov al, byte [ebp - 0x14]
test al, al
je 0x1000112b
push 1
movzx eax, al
push eax
push dword [esi]
call dword [esi + 0x28]
add esp, 0xc
jmp 0x100011a1
push 1
lea eax, [ebp - 0x14]
push eax
push dword [esi]
call dword [esi + 0x20]
add esp, 0xc
cmp eax, 1
jne 0x10001210
push 1
lea eax, [ebp - 0x14]
push eax
push dword [esi]
call dword [esi + 0x20]
add esp, 0xc
cmp eax, 1
jne 0x10001210
mov al, byte [ebp - 0x14]
test al, al
je 0x1000112b
push 1
movzx eax, al
push eax
push dword [esi]
call dword [esi + 0x28]
add esp, 0xc
jmp 0x100011e2
xor edi, edi
push 0
push ebx
push dword [esi]
call dword [esi + 0x28]
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, edi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.10020c63
mov esp, ebp
pop ebp
ret 4
Function at 0x10002cac
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x1002912c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x408], eax
call fcn.10003076
mov ecx, dword [edi + 0x3c]
xor eax, eax
inc eax
shl ax, cl
movzx ebx, ax
mov esi, ebx
imul eax, esi, 3
push eax
mov dword [edi + 0xaa], eax
call fcn.10005e08
mov dword [edi + 0xae], eax
test eax, eax
jne 0x10002d0e
push edi
call fcn.100013e0
push 5
pop esi
mov dword [edi + 0x34], esi
mov eax, esi
jmp 0x10002ea1
mov eax, 0x4000
push eax
mov word [edi + 0x74], ax
call fcn.10005e08
mov dword [edi + 0x78], eax
test eax, eax
je 0x10002cfb
movzx eax, word [edi + 0x74]
push eax
call fcn.10005e08
mov dword [edi + 0x80], eax
test eax, eax
je 0x10002cfb
push 0x1b6
push 0x8302
push dword [ebp - 0x408]
call dword [edi + 0x18]
add esp, 0xc
mov dword [edi], eax
test eax, eax
jns 0x10002d65
push edi
call fcn.100013e0
push 8
pop eax
mov dword [edi + 0x34], eax
jmp 0x10002ea1
xor edx, edx
cmp dword [edi + 0x3c], 1
jne 0x10002da7
mov eax, dword [edi + 0xae]
mov byte [eax + 2], dl
mov eax, dword [edi + 0xae]
mov byte [eax + 1], dl
mov eax, dword [edi + 0xae]
mov byte [eax], dl
mov eax, dword [edi + 0xae]
mov byte [eax + 5], 0xff
mov eax, dword [edi + 0xae]
mov byte [eax + 4], 0xff
mov eax, dword [edi + 0xae]
mov byte [eax + 3], 0xff
jmp 0x10002e00
xor eax, eax
cmp ax, bx
jae 0x10002e00
lea ecx, [esi - 1]
mov dword [ebp - 0x408], edx
mov dword [ebp - 0x40c], ecx
mov ebx, edx
cdq
idiv ecx
mov ecx, dword [edi + 0xae]
mov byte [ebx + ecx + 2], al
mov ecx, dword [edi + 0xae]
mov byte [ebx + ecx + 1], al
mov ecx, dword [edi + 0xae]
mov byte [ebx + ecx], al
lea ebx, [ebx + 3]
mov eax, dword [ebp - 0x408]
mov ecx, dword [ebp - 0x40c]
add eax, 0xff
mov dword [ebp - 0x408], eax
sub esi, 1
jne 0x10002dbf
xor edx, edx
mov ecx, dword [edi + 0x40]
mov eax, 0x3000
mov dword [edi + 0x58], edx
xor ebx, ebx
mov dword [edi + 0x98], edx
cdq
idiv ecx
push 0xc
mov dword [edi + 0x9c], eax
cdq
idiv ecx
push dword [edi + 0x3c]
mov word [edi + 0x76], ax
mov eax, dword [edi + 0x78]
push 5
pop esi
mov dword [edi + 0x7c], eax
mov eax, dword [edi + 0x80]
push esi
mov dword [edi + 0x64], ecx
mov dword [edi + 0x70], ebx
mov dword [edi + 0x94], ebx
mov dword [edi + 0x84], eax
call fcn.100061e8
mov dword [edi + 0xba], eax
test eax, eax
jne 0x10002e64
push edi
call fcn.100013e0
jmp 0x10002d04
push 0x7d00
push edi
call fcn.10005cbf
mov ax, word [edi + 0xaa]
add ax, 0x20
movzx esi, ax
lea eax, [ebp - 0x404]
push esi
push eax
push dword [edi]
call dword [edi + 0x24]
push ebx
push esi
push dword [edi]
call dword [edi + 0x28]
add esp, 0x18
cmp eax, esi
je 0x10002e9f
push 0xc
jmp 0x10002d5c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10020c63
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4049d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x44b428]
sub eax, 0x68dde763
mov dword [ebp - 4], eax
fild dword [ebp - 4]
push edi
fadd dword [0x44b298]
movzx ecx, word [0x44b014]
movsx edx, cx
mov dword [ebp - 4], edx
mov edx, dword [ebp + 8]
fild dword [ebp - 4]
fmulp st(1)
fistp qword [ebp - 8]
movzx eax, word [ebp - 8]
mov word [0x44b014], ax
fld dword [0x44b298]
fld1
fadd st(1), st(0)
fxch st(1)
fstp dword [0x44b298]
fld dword [0x44b124]
fld qword [0x44b108]
fsub qword [0x445ec8]
fsub qword [0x445ec0]
fsubp st(1)
fstp dword [0x44b124]
fld qword [0x44b1a0]
fadd qword [0x44b108]
mov ecx, dword [0x44b2a4]
mov dword [ebp + 8], ecx
fild dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
lea edi, [edx + ecx*4]
fsubp st(1)
fistp qword [ebp - 8]
movzx eax, word [ebp - 8]
mov word [0x44b154], ax
mov eax, dword [ebp + 0x10]
fld qword [0x44b3c0]
fsub qword [0x445eb8]
fmul qword [0x44b2f8]
fstp qword [0x44b2f8]
movzx ecx, word [0x44b0a8]
add ecx, 0x1b5dc331
mov word [0x44b0a8], cx
cmp edx, edi
je 0x404bfe
fld qword [0x445eb0]
push ebx
fld qword [0x445ea8]
push esi
or esi, 0xffffffff
fld qword [0x44b230]
fsub st(2)
fsub st(1)
fstp dword [0x44b3c8]
xor dword [edx], eax
mov ecx, dword [0x44b3b8]
add ecx, 0x3f46e06a
cmp ecx, 0x24294ccf
jge 0x404afc
mov ecx, dword [0x44b3e4]
sub ecx, 0x7540324d
mov dword [ebp + 8], ecx
fild dword [ebp + 8]
fadd qword [0x44b358]
fstp qword [0x44b358]
jmp 0x404b0e
mov ecx, dword [0x44b0c0]
sub dword [section..data], ecx
add dword [0x44b0c0], esi
mov ecx, dword [0x44b42c]
mov ebx, dword [0x44b0f0]
add dword [0x44b42c], esi
ror eax, 1
add ecx, 0x6eda925c
mov dword [ebp + 8], eax
cmp ecx, ebx
jne 0x404b50
mov ecx, dword [0x44b404]
mov ebx, dword [0x44b258]
add ecx, 0xd127e286
add ebx, ecx
mov word [0x44b120], bx
add dword [0x44b404], esi
mov ebx, dword [0x44b338]
mov ecx, 0xbaf3c30
sub ecx, ebx
mov ebx, dword [0x44b270]
imul ebx, ecx
mov dword [0x44b270], ebx
inc dword [0x44b338]
mov cl, byte [ebp + 8]
fld dword [0x44b278]
shr eax, 8
fld qword [0x44b2d0]
mov ebx, dword [0x44b224]
mov dword [ebp + 0xc], ebx
add al, cl
add cl, al
fild dword [ebp + 0xc]
mov byte [ebp + 8], cl
mov byte [ebp + 9], al
add edx, 4
fsubp st(2)
fsubrp st(1)
fstp qword [0x44b2d0]
add dword [0x44b224], esi
fld dword [0x44b278]
fadd st(3)
fstp dword [0x44b278]
add word [0x44b010], si
mov ax, word [0x44b2f0]
mov cx, word [0x44b010]
cwde
movsx ecx, cx
sub ecx, eax
mov eax, dword [ebp + 8]
sub ecx, 0x402821f9
mov dword [ebp + 0xc], ecx
fild dword [ebp + 0xc]
fmul dword [0x44b198]
fstp dword [0x44b198]
cmp edx, edi
jne 0x404ab6
fstp st(1)
pop esi
fstp st(0)
pop ebx
fld qword [0x44b328]
pop edi
fsub qword [0x44b238]
fadd dword [0x44b374]
fstp dword [0x44b374]
fadd qword [0x44b328]
fstp qword [0x44b328]
mov esp, ebp
pop ebp
ret
Function at 0x4089c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
dec word [0x44b2e8]
mov ax, word [0x44b400]
movzx edx, word [0x44b214]
movsx ecx, ax
movsx eax, dx
sub eax, ecx
movzx ecx, word [0x44b2e8]
sub eax, ecx
push esi
mov word [0x44b214], ax
call fcn.00401b80
fld dword [0x44b030]
fld dword [0x44b14c]
fadd qword [0x449bc8]
fsubp st(1)
fstp dword [0x44b030]
call fcn.004021b0
movzx edx, word [0x44b2dc]
movsx eax, dx
mov dword [ebp - 4], eax
push 0x44112c
push 0x441124
fild dword [ebp - 4]
fadd dword [0x44b104]
fstp dword [0x44b104]
call fcn.0042e9f0
fld dword [0x44b198]
add esp, 8
fistp qword [ebp - 8]
mov ecx, dword [ebp - 8]
mov dword [0x44b3e4], ecx
fld dword [0x44b198]
fadd qword [0x444dc0]
fstp dword [0x44b198]
call fcn.00415740
fld qword [0x44b0f8]
mov esi, eax
fadd qword [0x449bc0]
fstp qword [0x44b0f8]
call fcn.004203a0
fld dword [0x44b1f0]
movzx edx, word [0x44b45c]
movsx eax, dx
sub eax, 0x3872f94d
mov dword [ebp - 4], eax
push esi
fisub dword [ebp - 4]
fstp dword [0x44b1f0]
dec word [0x44b45c]
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x414ec0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, 1
add dword [0x44b0c0], eax
mov edx, dword [0x44b0c0]
sub edx, 0x507470cd
sub esp, 8
cmp edx, 0x43d110ed
jge 0x414f03
fld qword [0x44b0f8]
fsub qword [0x445e80]
fsub qword [0x445e78]
fmul dword [0x44b248]
fstp dword [0x44b248]
mov dword [ecx], 0
add word [0x44b420], ax
mov dx, word [0x44b420]
movsx edx, dx
cmp edx, 0x8a0746ef
jl 0x414f34
fld dword [0x44b030]
fadd qword [0x445e70]
fstp dword [0x44b030]
mov dword [ecx + 4], 0
add dword [0x44b250], eax
mov eax, dword [0x44b250]
mov dword [ebp - 4], eax
fild dword [ebp - 4]
fadd qword [0x44b130]
fcomp qword [0x445e68]
fnstsw ax
test ah, 0x41
jp 0x414f7d
dec dword [0x44b2b0]
mov dx, word [0x44b148]
movsx eax, dx
mov edx, dword [0x44b2b0]
sub eax, edx
mov word [0x44b148], ax
mov dword [ecx + 8], 0x67452301
fld dword [0x44b304]
fadd qword [0x444dc0]
fstp dword [0x44b304]
fld dword [0x44b304]
movzx eax, word [0x44b008]
fadd qword [0x445e60]
movsx edx, ax
mov dword [ebp - 4], edx
mov edx, 0xffff8bdf
fild dword [ebp - 4]
faddp st(1)
fistp qword [ebp - 8]
movzx eax, word [ebp - 8]
mov word [0x44b008], ax
mov dword [ecx + 0xc], 0xefcdab89
mov word [0x44b25c], dx
mov dword [ecx + 0x10], 0x98badcfe
fld qword [0x44b0d8]
fsub qword [0x445e58]
fstp qword [0x44b0d8]
mov dword [ecx + 0x14], 0x10325476
movzx eax, word [0x44b2f0]
movsx ecx, ax
add ecx, 0x7d32c7df
mov dword [ebp - 4], ecx
fild dword [ebp - 4]
fmul qword [0x44b168]
fstp qword [0x44b168]
mov esp, ebp
pop ebp
ret
Function at 0x4312b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
fld dword [0x44b3e8]
mov ax, word [0x44b2ec]
fsub qword [0x445ed8]
movsx ecx, ax
mov dword [ebp - 8], ecx
push esi
push edi
fild dword [ebp - 8]
mov edi, dword [ebp + 0xc]
mov esi, edi
imul esi, dword [ebp + 0x10]
faddp st(1)
fistp qword [ebp - 0xc]
mov dx, word [ebp - 0xc]
mov word [0x44b2ec], dx
fld dword [0x44b3e8]
mov dword [ebp - 4], 0
fsub qword [0x444dc0]
fstp dword [0x44b3e8]
inc dword [0x44b048]
mov eax, dword [0x44b378]
mov ecx, dword [0x44b048]
mov edx, dword [0x44b00c]
mov dword [ebp - 8], eax
fild dword [ebp - 8]
sub edx, ecx
mov dword [ebp - 8], edx
fild dword [ebp - 8]
fadd dword [0x44b260]
fsubp st(1)
fistp qword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov dword [0x44b378], eax
test esi, esi
jne 0x43135d
movzx ecx, word [0x44b154]
add ecx, 0x2f336e56
pop edi
mov word [0x44b154], cx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
dec dword [0x44b2d8]
movzx edx, word [0x44b1e4]
mov ecx, dword [0x44b2d8]
movsx eax, dx
add ecx, eax
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp + 0x14]
fild dword [ebp + 0xc]
fsub dword [0x44b198]
fstp qword [0x44b460]
call fcn.00410020
fld qword [0x44b358]
mov ecx, dword [ebp + 8]
fmul qword [0x44b360]
push 0
lea edx, [ebp - 4]
push edx
push esi
fstp qword [0x44b360]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
fld dword [0x44b1e0]
fadd qword [0x445ed0]
fld qword [0x44b178]
movzx edx, word [0x44b220]
movsx eax, dx
mov dword [ebp + 0xc], eax
fild dword [ebp + 0xc]
fsubp st(2)
fcompp
fnstsw ax
fld dword [0x44b1e0]
fld1
fsub st(1), st(0)
fxch st(1)
fstp dword [0x44b1e0]
test ah, 0x41
jne 0x43141d
fld qword [0x44b348]
xor edx, edx
fadd qword [0x44b358]
fstp qword [0x44b418]
fsubr qword [0x44b358]
mov eax, dword [ebp - 4]
div edi
fstp qword [0x44b358]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
fstp st(0)
xor edx, edx
div edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x405d9a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42c574], 0
push esi
jne 0x405dd1
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405dab
mov dword [ecx*4 + 0x42c570], eax
inc ecx
cmp ecx, 0x100
jl 0x405da6
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405e02
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c570]
xor eax, esi
inc ecx
dec edx
jne 0x405de4
pop edi
not eax
pop esi
ret 0xc

Function at 0x402658
Capabilities:
Terminate process

Disassembly:
xor edi, edi
xor esi, esi
mov edx, eax
mov eax, 5
add eax, 5
inc eax
test eax, 0xb
jne 0x40267a
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edx, eax
mov dword [0x401036], eax
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40c0a2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov edx, eax
push esi
mov esi, dword [ebp + 8]
and ecx, 0xfffffffc
jbe 0x40c0e6
rol eax, 5
xor eax, dword [edx + esi]
add edx, 4
imul eax, eax, 0x9e3779b9
rol eax, 5
xor eax, 4
imul eax, eax, 0x9e3779b9
cmp edx, ecx
jb 0x40c0b5
jmp 0x40c0e6
movsx ecx, byte [edx + esi]
rol eax, 5
xor eax, ecx
imul eax, eax, 0x9e3779b9
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x40c0d6
pop esi
pop ebp
ret

Function at 0x40d006
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 1
lea esi, [ebx - 1]
push 0x2000
not esi
push ebx
and esi, 0xf0deafff
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
cmp edi, esi
jne 0x40d03b
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp esi, dword [ebp - 0x18]
jb 0x40d065
lea eax, [esi + ebx]
cmp eax, dword [ebp - 0x18]
jb 0x40d065
test edi, edi
je 0x40d032
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x40d032
test edi, edi
je 0x40d06d
mov eax, edi
jmp 0x40d034
push 1
push 0x2000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x40d034
mov esi, 0xc3
push esi
push str.c:_builds_moz2_slave_m_in_w32_d_0000000000000000000_build_src_mfbt_Poison.cpp
push str.no_usable_poison_region_identified
call fcn.00410bfd
add esp, 0xc
int3
Function at 0x40632d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x40633c
pop dword [ebp - 0x20]
mov eax, 0x6171a311
sub eax, 0x61313fd5
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x109b43fa
add dword [ebp - 0x30], 0x3db70151
mov dword [ebp - 0x2c], 0x35720555
sub dword [ebp - 0x2c], 0x33eb910
mov dword [ebp - 0x28], 0x6e0836ee
add dword [ebp - 0x28], 0xde440d40
mov dword [ebp - 0x24], 0xc4e343e9
sub dword [ebp - 0x24], 0xc4e343e9
lea eax, [ebp - 0x30]
push eax
mov eax, 0x7e095852
sub eax, 0x7dc8e7f2
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x8d4939a
add dword [ebp - 0x30], 0x6b9dd5bc
mov dword [ebp - 0x2c], 0x7982d9cd
sub dword [ebp - 0x2c], 0x38167858
mov dword [ebp - 0x28], 0x2f57ac4d
add dword [ebp - 0x28], 0x3417c01f
mov dword [ebp - 0x24], 0xf0bacf41
add dword [ebp - 0x24], 0xf4530bf
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0xb737b44e
add eax, 0x4908bcb2
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x3b38d
push 0
call eax
mov ecx, 0x5a6a
mov edx, eax
mov ebx, 0xb163114
add ebx, 0xf52aceec
add ebx, dword [ebp - 0x20]
mov edi, 0xff40f80c
xor dword [ebp - 0x14], 0xba82730a
mov esi, dword [ebx]
xor dword [ebp - 0xc], 0xc2bcadcc
add esi, edi
mov dword [edx], esi
xor dword [ebp - 0x14], edx
add edx, 0xd85143f9
add edx, 0x27aebc0b
add ebx, 0x9a18a5e3
add ebx, 0x65e75a21
loop 0x406452
add eax, 0xa2e349db
add eax, 0x5d1e12a0
xor ebx, ebx
add ebx, eax
add eax, 0x823c556
sub eax, 0x823c551
mov ecx, 0x400000
add ecx, dword [ebp - 0x20]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x416153
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x416192
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x416192
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x416192
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x416192
cmp dword [ecx + 0x74], 0xe
jbe 0x416192
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x428560
Capabilities:
Parse pe header

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

Function at 0x710c78
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x7109ec
pop ebx
mov esi, esi
mov eax, 0xac524cd
mov eax, 0xf0385ab5
call fcn.00710cb4
sub esi, esi
xor dword [edi], ebx
add eax, 0x199b71ec
or eax, esi
inc edi
add esi, 0x35958310
cmp edi, edx
jne fcn.00710c78
mov esi, eax
ret
Function at 0x49aff0
Capabilities:
Create pipe

Disassembly:
mov eax, dword [0x4acb20]
sub esp, 0x14
push ebx
mov ebx, dword [0x2c51f9c]
push edi
mov edi, dword [0x2c5441c]
call fcn.0049af70
cmp dword [0x2c5441c], 0x2f
jne 0x49b052
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
call fcn.0049afa0
pop edi
pop ebx
add esp, 0x14
ret
Function at 0x49b330
Capabilities:
Get disk information
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x4ac004]
xor eax, ebp
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
jmp 0x49b355
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x1519a5
jge 0x49b39e
mov dword [0x2c54084], 0x8e46a6f0
cmp dword [0x2c5441c], 0x3dc
jne 0x49b39c
xor ecx, ecx
mov word [ebp - 8], cx
xor edx, edx
mov word [ebp - 6], dx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
push 0
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
jmp 0x49b34c
mov dword [ebp - 0x10], 0
jmp 0x49b3b0
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0x12cad2a
jge 0x49b443
cmp dword [0x2c5441c], 0xa5f
jne 0x49b3fa
push 0
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push 0
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
lea ecx, [ebp - 0x820]
push ecx
push str.lewujuyenehuzehiji
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
cmp dword [ebp - 0x10], 0x84620b
jne 0x49b41e
mov edx, dword [0x4ad940]
mov dword [0x2c5441c], edx
mov eax, dword [0x2c5441c]
add eax, 0xa231
mov dword [0x2c5441c], eax
cmp dword [0x2c5441c], 0x141
jne 0x49b43e
mov dword [0x4aef08], 0xec58acac
mov dword [0x4aef0c], 0xffffffff
jmp 0x49b3a7
call fcn.0049b060
jmp dword [0x2c51f9c]

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4010b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4010c9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401104
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401100
lea ebx, [ebx]
cmp esi, eax
jae 0x401104
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4010f0
cmp esi, eax
jb 0x40110a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x4023d0
Capabilities:
Read .ini file

Disassembly:
push eax
mov eax, dword [esp + 0xc]
push 0x100
push ecx
mov ecx, dword [esp + 0x10]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
ret

Function at 0x4053b0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x12c
mov eax, dword [0x430c44]
xor eax, esp
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0x134]
push esi
mov esi, dword [esp + 0x134]
push edi
mov edi, dword [esp + 0x140]
push eax
push 0x4320f8
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 8]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov ecx, dword [esp + 8]
lea eax, [esp + 0xc]
lea edx, [esp + 0x2c]
push eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0x405380
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderA]
mov ecx, dword [esp + 0x130]
pop edi
pop esi
xor ecx, esp
call fcn.00412b79
add esp, 0x12c
ret

Function at 0x405450
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x4054ec
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4054ec
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x4054ec
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
jbe 0x4054ec
mov edx, dword [esp + 0x20]
push 0
push 0x80
push 2
push 0
push 3
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4054ec
push 0
lea eax, [esp + 0x10]
push eax
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4054e5
cmp dword [esp + 0xc], esi
jne 0x4054ec
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret