joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18f1918
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x9c
mov eax, dword [0x10124584]
xor eax, esp
mov dword [esp + 0x98], eax
mov edx, 0x361
mov dword [esp], 0x3610300
mov dword [esp + 4], 0x4860483
mov dword [esp + 8], 0x9030903
mov dword [esp + 0xc], 0x940093e
mov dword [esp + 0x10], 0x94c0949
mov dword [esp + 0x14], 0x9830982
mov dword [esp + 0x18], 0x9c009be
mov dword [esp + 0x1c], 0x9cc09c7
mov dword [esp + 0x20], 0x9d709d7
mov dword [esp + 0x24], 0xa400a3e
mov dword [esp + 0x28], 0xa830a83
mov dword [esp + 0x2c], 0xac00abe
mov dword [esp + 0x30], 0xacc0ac9
mov dword [esp + 0x34], 0xb030b02
mov dword [esp + 0x38], 0xb3e0b3e
mov dword [esp + 0x3c], 0xb400b40
mov dword [esp + 0x40], 0xb4c0b47
mov dword [esp + 0x44], 0xb570b57
mov dword [esp + 0x48], 0xb830b83
mov dword [esp + 0x4c], 0xbbf0bbe
mov dword [esp + 0x50], 0xbcc0bc1
mov dword [esp + 0x54], 0xbd70bd7
mov dword [esp + 0x58], 0xc030c01
mov dword [esp + 0x5c], 0xc440c41
mov dword [esp + 0x60], 0xc830c82
mov dword [esp + 0x64], 0xcbe0cbe
mov dword [esp + 0x68], 0xcc40cc0
mov dword [esp + 0x6c], 0xccb0cc7
mov dword [esp + 0x70], 0xcd60cd5
mov dword [esp + 0x74], 0xd030d02
mov dword [esp + 0x78], 0xd400d3e
mov dword [esp + 0x7c], 0xd4c0d46
mov dword [esp + 0x80], 0xd570d57
mov dword [esp + 0x84], 0xf7f0f7f
mov dword [esp + 0x88], 0x20e120d0
mov dword [esp + 0x8c], 0x309a3099
mov dword [esp + 0x90], 0xfe23fe20
mov dword [esp + 0x94], 0xffffffff
lea eax, [esp + 2]
cmp dx, cx
jae 0x18f1a83
add eax, 4
cmp word [eax], cx
jb 0x18f1a7b
sub eax, 2
cmp cx, word [eax]
jb 0x18f1aa8
cmp cx, word [eax + 2]
ja 0x18f1aa8
mov al, 1
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.018bb05e
add esp, 0x9c
ret
mov ecx, dword [esp + 0x98]
xor ecx, esp
xor al, al
call fcn.018bb05e
add esp, 0x9c
ret

Function at 0x18f4058
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100f0f40
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x10124584]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi + 4], 0
push 0x100ff420
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0
mov dword [esi], 0x10102a18
call fcn.018121c8
mov byte [esp + 0x38], 1
call fcn.018a9f20
lea ecx, [esp + 0xc]
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov byte [esp + 0x38], 0
call fcn.01812278
mov dword [esi], 0x10107a18
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret
Function at 0x1b95da0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x40b000]
mov dword [edi + 0x5abf94], 0x8dc0850d
push edi
or ebp, 0xffffffff
jmp 0x1b95dca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1b95dd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1b95dc0
mov eax, 1
add ebx, ebx
jne 0x1b95de3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1b95dd8
jne 0x1b95df4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1b95dd8
xor ecx, ecx
sub eax, 3
jb 0x1b95e08
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1b95e7a
mov ebp, eax
add ebx, ebx
jne 0x1b95e13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x1b95e20
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x1b95e44
inc ecx
add ebx, ebx
jne 0x1b95e30
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1b95e25
jne 0x1b95e41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1b95e25
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1b95e64
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1b95e55
jmp 0x1b95dc6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1b95e64
add edi, ecx
jmp 0x1b95dc6
pop esi
mov edi, esi
mov ecx, 0x1e87f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1b95e82
cmp byte [edi], 0x71
jne 0x1b95e82
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x1b95e87
lea edi, [esi + 0x920000]
mov eax, dword [edi]
or eax, eax
je 0x1b95eff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x94bfbc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x94c19c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1b95eb4
mov ecx, edi
jns 0x1b95ee3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x94c1a0]
or eax, eax
je 0x1b95ef9
mov dword [ebx], eax
add ebx, 4
jmp 0x1b95ed1
call dword [esi + 0x94c1b0]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1b95f30
cmp al, 0xef
ja 0x1b95f23
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1b95f05
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1b95f12
mov ebp, dword [esi + 0x94c1a4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x945f8b]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1b95f7c
sub esp, 0xffffff80
jmp 0x15df2cc
Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x403470
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x51f584]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
cmp dword [ecx + 0x50], 0x10
lea ebx, [ecx + 0x3c]
push esi
push edi
mov edi, edx
mov dword [ebp - 0x24], eax
mov dword [ebx + 0x10], eax
jb 0x40349a
mov eax, dword [ebx]
jmp 0x40349c
mov eax, ebx
mov byte [eax], 0
call fcn.0044da70
mov esi, eax
test esi, esi
jne 0x4034c0
mov eax, 0x13ab
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00482239
mov esp, ebp
pop ebp
ret
mov ecx, edi
lea edi, [ebp - 0x20]
call fcn.00402fd0
push 1
push 0x34
push esi
call fcn.0044dab0
add esp, 0xc
push 5
push 0x4e
push esi
call fcn.0044dab0
add esp, 0xc
push 1
push 0x13
push esi
call fcn.0044dab0
add esp, 0xc
push 0x12c
push 0x14
push esi
call fcn.0044dab0
mov eax, dword [ebp - 0x20]
mov edi, 0x10
add esp, 0xc
cmp dword [ebp - 0xc], edi
jae 0x403511
lea eax, [ebp - 0x20]
push eax
push 0x2712
push esi
call fcn.0044dab0
add esp, 0xc
push 0x4035d0
push 0x4e2b
push esi
call fcn.0044dab0
add esp, 0xc
push ebx
push 0x2711
push esi
call fcn.0044dab0
add esp, 0xc
push 1
push 0x63
push esi
call fcn.0044dab0
add esp, 0xc
push esi
call fcn.0044dae0
add esp, 4
test eax, eax
je 0x403565
mov dword [ebp - 0x24], 0x13ab
jmp 0x403599
lea eax, [ebp - 0x28]
push eax
push 0x200002
push esi
call fcn.0044dc40
add esp, 0xc
test eax, eax
mov eax, dword [ebp - 0x28]
jne 0x403585
cmp eax, 0xc8
je 0x403599
sub eax, 0x194
neg eax
sbb eax, eax
and eax, 0xfffffff2
add eax, 0x13b9
mov dword [ebp - 0x24], eax
push esi
call fcn.0044dbe0
add esp, 4
cmp dword [ebp - 0xc], edi
jb 0x4035b3
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.004825e4
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x24]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00482239
mov esp, ebp
pop ebp
ret
Function at 0x405e10
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x51f584]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push 0x124
lea eax, [ebp - 0x130]
push 0
push eax
mov dword [ebp - 0x134], 0
call fcn.00486830
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x405ea7
lea ecx, [ebp - 0x134]
push ecx
push esi
mov dword [ebp - 0x134], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x405ea0
lea edx, [ebp - 0x110]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x405e8e
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x11c], eax
je 0x405eba
lea ecx, [ebp - 0x134]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x405e71
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00482239
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0x12c]
push esi
mov dword [ebx], edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
xor ecx, ebp
mov eax, 1
pop esi
call fcn.00482239
mov esp, ebp
pop ebp
ret 4

Function at 0x406500
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.004884b0
mov eax, dword [0x51f584]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push ecx
lea edx, [ebp - 0x1004]
push 0x1000
push edx
call fcn.00483565
add esp, 0x10
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00482239
mov esp, ebp
pop ebp
ret
Function at 0x4077c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x51f584]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4077f2
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00482239
mov esp, ebp
pop ebp
ret
push edi
mov edx, esi
call fcn.00407920
push 0x103
xor edi, edi
lea eax, [ebp - 0x107]
push edi
push eax
mov byte [ebp - 0x108], 0
call fcn.00486830
mov eax, esi
add esp, 0xc
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407820
sub eax, edx
inc eax
cmp eax, edi
je 0x407846
cmp eax, 0x7fffffff
ja 0x407846
push esi
mov edx, 0x7ffffffe
lea ecx, [ebp - 0x108]
call fcn.00406ed0
mov edx, 0x104
lea eax, [ebp - 0x108]
cmp byte [eax], 0
je 0x40785c
inc eax
dec edx
jne 0x407851
jmp 0x407884
cmp edx, edi
je 0x407884
mov ecx, 0x104
sub ecx, edx
mov eax, 0x104
sub eax, ecx
push 0x50e3e0
lea ecx, [ebp + ecx - 0x108]
mov edx, 0x7fffffff
call fcn.00406ed0
mov ecx, 0x414
lea edx, [ebp - 0x108]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov word [ebp - 0x118], cx
mov dword [ebp - 0x112], edi
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x10e], edi
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x11c], edi
mov dword [ebp - 0x124], 3
xor esi, esi
jmp 0x4078d0
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov edi, eax
test edi, edi
je 0x4078f5
cmp edi, 0x20
jne 0x40790d
push 0x3e8
inc esi
call ebx
cmp esi, 5
jl 0x4078d0
xor eax, eax
pop ebx
test edi, edi
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00482239
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
xor al, al
pop esi
call fcn.00482239
mov esp, ebp
pop ebp
ret
Function at 0x4086e0
Capabilities:
Parse pe header

Disassembly:
test eax, eax
je 0x4086f9
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4086f9
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
je 0x4086fc
xor eax, eax
ret
add eax, 0x18
ret
Function at 0x40e290
Capabilities:
Check for time delay via gettickcount
Resolve dns

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ebx, eax
call edi
sub eax, ebx
cmp eax, 0xfa0
jae 0x40e2e1
jmp 0x40e2b0
push str.www.baidu.com
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x40e2e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x64
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
call edi
sub eax, ebx
cmp eax, 0xfa0
jb 0x40e2b0
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx]
pop edi
pop esi
pop ebx
ret

Function at 0x40e300
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
push 0x288
mov esi, eax
mov dword [ebp - 8], 0x288
call fcn.00484af4
mov ebx, eax
add esp, 4
mov dword [ebp - 4], ebx
test ebx, ebx
je 0x40e410
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 8]
push eax
push ebx
call edi
cmp eax, 0x6f
jne 0x40e360
push ebx
call fcn.00484a7a
mov ecx, dword [ebp - 8]
add esp, 4
push ecx
call fcn.00484af4
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
test eax, eax
je 0x40e410
lea edx, [ebp - 8]
push edx
push ebx
call edi
test eax, eax
jne 0x40e410
mov edi, ebx
mov dword [ebp - 0xc], ebx
test ebx, ebx
je 0x40e410
jmp 0x40e383
mov edi, dword [ebp - 0xc]
mov eax, dword [edi + 0x194]
mov ecx, dword [edi + 0x198]
lea edx, [edi + 0x1b0]
push edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
call dword [sym.imp.WS2_32.dll_inet_addr]
test eax, eax
je 0x40e403
mov ebx, dword [esi + 4]
mov ecx, dword [ebx + 4]
cmp byte [ecx + 0x21], 0
jne 0x40e3c6
cmp dword [ecx + 0x10], eax
jae 0x40e3bc
mov ecx, dword [ecx + 8]
jmp 0x40e3c0
mov ebx, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0x21], 0
je 0x40e3b2
cmp ebx, dword [esi + 4]
je 0x40e3d0
cmp eax, dword [ebx + 0x10]
jae 0x40e3f4
mov dword [ebp - 0x28], eax
xor eax, eax
lea edi, [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
call fcn.0040ede0
push ebx
lea edi, [ebp - 0x10]
mov ecx, esi
call fcn.0040e970
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], ecx
mov ebx, dword [ebp - 4]
mov edi, dword [edi]
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x40e380
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test ebx, ebx
je 0x40e425
push ebx
call fcn.00484a7a
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40ef10
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
je 0x40ef33
push edi
movzx edi, byte [edx]
mov eax, dword [esi]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x50caa8]
inc edx
dec ecx
mov dword [esi], eax
jne 0x40ef15
pop edi
ret
Function at 0x410000
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x138
mov eax, dword [0x51f584]
xor eax, esp
mov dword [esp + 0x134], eax
push ebx
push esi
push 0
push 2
mov dword [esp + 0x18], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41004b
xor eax, eax
pop esi
pop ebx
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.00482239
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x10]
push eax
push esi
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x4100b5
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
lea esp, [esp]
lea ecx, [esp + 0x34]
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x410096
test dl, dl
je 0x410092
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x410096
add eax, 2
add ecx, 2
test dl, dl
jne 0x410076
xor eax, eax
jmp 0x41009b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4100ad
lea ecx, [esp + 0x10]
push ecx
push esi
call ebx
test eax, eax
jne 0x410070
jmp 0x4100b5
mov edx, dword [esp + 0x18]
mov dword [esp + 0xc], edx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x13c]
mov eax, dword [esp + 0xc]
pop esi
pop ebx
xor ecx, esp
call fcn.00482239
mov esp, ebp
pop ebp
ret
Function at 0x4105a0
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push ebx
push esi
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x410634
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4105b7
sub eax, edx
je 0x410634
push 0x44
lea eax, [ebp - 0x70]
push ebx
push eax
mov dword [ebp - 0x14], 0xc
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call fcn.00486830
add esp, 0xc
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
push esi
xor ecx, ecx
push ebx
mov dword [ebp - 0x70], 0x44
mov word [ebp - 0x40], cx
mov dword [ebp - 0x44], 0x101
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x41063c
mov eax, dword [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x41062a
push eax
call esi
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x410634
push eax
call esi
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x410650
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x51f584]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
push str.Advapi32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x410697
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.00482239
mov esp, ebp
pop ebp
ret
push str.RegDeleteKeyExA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4106c8
movzx ecx, byte [ebp + 0x10]
neg ecx
sbb ecx, ecx
push 0
and ecx, 0xffffff00
add ecx, 0x200
push ecx
push esi
push ebx
call eax
jmp 0x4106d0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x4106ee
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.00482239
mov esp, ebp
pop ebp
ret
movzx eax, byte [ebp + 0x10]
neg eax
sbb eax, eax
lea edx, [esp + 0x14]
push edx
and eax, 0x100
add eax, 0x20019
push eax
push 0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41071e
xor ecx, ecx
cmp eax, 2
jmp 0x410825
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [esi + eax - 1], 0x5c
lea edi, [esi + eax]
je 0x410736
mov byte [edi], 0x5c
inc edi
mov byte [edi], 0
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x18]
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x3c]
push ecx
push 0
push edx
mov dword [esp + 0x30], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x4107e5
lea eax, [esp + 0x28]
sub eax, edi
mov dword [esp + 0x18], eax
mov edx, 0x208
mov eax, edi
lea esp, [esp]
lea ecx, [edx + 0x7ffffdf6]
test ecx, ecx
je 0x41079d
mov ecx, dword [esp + 0x18]
mov cl, byte [ecx + eax]
test cl, cl
je 0x41079d
mov byte [eax], cl
inc eax
dec edx
jne 0x410780
jmp 0x4107a1
test edx, edx
jne 0x4107a2
dec eax
mov edx, dword [ebp + 0x10]
push edx
push esi
push ebx
mov byte [eax], 0
call fcn.00410650
add esp, 0xc
test eax, eax
je 0x4107e5
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x18]
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x3c]
push edx
push 0
push eax
mov dword [esp + 0x30], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x410772
mov byte [edi - 1], 0
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x410819
movzx edx, byte [ebp + 0x10]
neg edx
sbb edx, edx
push 0
and edx, 0xffffff00
add edx, 0x200
push edx
push esi
push ebx
call eax
jmp 0x410821
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
xor ecx, ecx
test eax, eax
sete cl
pop edi
pop esi
pop ebx
mov eax, ecx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.00482239
mov esp, ebp
pop ebp
ret
Function at 0x412600
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
mov ecx, dword [ebp + 8]
mov edi, eax
call fcn.0041f6b0
test al, al
jne 0x412640
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xbb8
call ebx
call esi
sub eax, edi
cmp eax, 0x493e0
ja 0x412649
mov ecx, dword [ebp + 8]
call fcn.0041f6b0
test al, al
je 0x412622
mov al, 1
pop edi
pop esi
pop ebx
pop ebp
ret 4
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 4

Function at 0x413100
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eaaa8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x51f584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea esi, [ebx + 8]
mov dword [ebp - 0x10], esi
xor edi, edi
mov dword [ebp - 4], edi
lea ecx, [esi + 4]
mov dword [esi], vtable.tpsp::TASKITEM.0
call fcn.004be720
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x38], edi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x414110
Capabilities:
Extract resource via kernel32 functions
Hash data with md5
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, dword [0x51f584]
xor eax, esp
mov dword [esp + 0x80], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0x10
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov dword [esp + 0x10], eax
jb 0x414140
mov eax, dword [eax]
push 0x50ec08
push eax
call fcn.00484378
add esp, 8
test eax, eax
je 0x414177
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.00482239
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x527168]
movzx eax, si
push edi
push eax
push ecx
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x4142cb
mov edx, dword [0x527168]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x4142cb
mov eax, dword [0x527168]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x4142c0
mov ecx, dword [esp + 0x10]
push 0x50e584
call fcn.00402a50
push eax
call fcn.00484378
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je 0x4142c0
push edi
mov dword [esp + 0x18], 1
call fcn.004830b5
add esp, 4
push edi
mov esi, eax
push ebx
push esi
mov dword [esp + 0x24], esi
call fcn.004868b0
add esp, 0xc
push edi
mov ecx, esi
call fcn.00411270
xor eax, eax
mov dword [esp + 0x79], eax
mov dword [esp + 0x7d], eax
mov dword [esp + 0x81], eax
mov dword [esp + 0x85], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
push esi
mov eax, edi
lea ecx, [esp + 0x24]
mov byte [esp + 0x7c], 0
mov dword [esp + 0x24], 0x67452301
mov dword [esp + 0x28], 0xefcdab89
mov dword [esp + 0x2c], 0x98badcfe
mov dword [esp + 0x30], 0x10325476
call fcn.00422e60
add esp, 4
lea esi, [esp + 0x20]
lea ebx, [esp + 0x78]
call fcn.00422f20
call fcn.004243d0
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
push ecx
push edi
push 1
push ebx
call fcn.0048453e
push ebx
mov esi, eax
call fcn.00483498
add esp, 0x14
cmp esi, edi
je 0x4142b3
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x10]
push edx
call fcn.00484869
add esp, 4
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00482239
mov esp, ebp
pop ebp
ret