joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5c4320
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1be000]
push edi
jmp 0x5c433a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5c4341
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5c4330
mov eax, 1
add ebx, ebx
jne 0x5c4353
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5c4364
jne 0x5c4383
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5c4383
dec eax
add ebx, ebx
jne 0x5c4370
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5c4348
add ebx, ebx
jne 0x5c437f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5c43d5
xor ecx, ecx
sub eax, 3
jb 0x5c439b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5c440a
sar eax, 1
mov ebp, eax
jmp 0x5c43a6
add ebx, ebx
jne 0x5c43a6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5c4374
inc ecx
add ebx, ebx
jne 0x5c43b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5c4374
add ebx, ebx
jne 0x5c43c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5c43b6
jne 0x5c43d2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5c43b6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5c43f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5c43e6
jmp 0x5c4336
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5c43f4
add edi, ecx
jmp 0x5c4336
pop esi
mov edi, esi
mov ecx, 0x273
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5c4412
cmp byte [edi], 2
jne 0x5c4412
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 0x5c4417
lea edi, [esi + 0x1c2000]
mov eax, dword [edi]
or eax, eax
je 0x5c448f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x207e58]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x207f10]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5c4444
mov ecx, edi
jns 0x5c4473
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 + 0x207f18]
or eax, eax
je 0x5c4489
mov dword [ebx], eax
add ebx, 4
jmp 0x5c4461
call dword [esi + 0x207f14]
mov ebp, dword [esi + 0x207f1c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x5c44c3
sub esp, 0xffffff80
jmp 0x403373
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
mov eax, esi
sub eax, edi
mov esi, eax
test eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
jmp 0x431219

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 0x433004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x18e3308b
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
mov eax, section..text_1
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x497418b1
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x401683
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0xc], 8
mov dword [ebp - 8], 0x4000
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ebx, dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
push 0x6b
xor edi, edi
push ebx
mov dword [ebp - 0x58], 0x30
mov dword [ebp - 0x54], 3
mov dword [ebp - 0x50], 0x401360
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], ebx
call esi
push 0x7f00
push edi
mov dword [ebp - 0x40], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x6c
push dword [ebp - 0x44]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 6
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], str.ClassSS
call esi
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push dword [ebp + 0x14]
push ebx
jmp loc.00410000

Function at 0x4019b0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x406460
push 0x4055c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffa8
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_GetVersion]
xor edx, edx
mov dl, ah
mov dword [0x40a678], edx
mov ecx, eax
and ecx, 0xff
mov dword [0x40a674], ecx
shl ecx, 8
add ecx, edx
mov dword [0x40a670], ecx
shr eax, 0x10
mov dword [0x40a66c], eax
call fcn.00404080
test eax, eax
jne 0x401a1a
push 0x1c
call fcn.004020e0
add esp, 4
mov dword [ebp - 4], 0
call fcn.00402380
call fcn.00404bc0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x40aa30], eax
call fcn.00401f80
mov dword [0x40a654], eax
test eax, eax
je 0x401a4d
mov eax, dword [0x40aa30]
test eax, eax
jne 0x401a57
push 0xffffffffffffffff
call fcn.00401b50
add esp, 4
call fcn.00401910
call fcn.00404ec0
call fcn.00404e80
mov esi, dword [0x40aa30]
mov dword [ebp - 0x64], esi
cmp byte [esi], 0x22
jne 0x401b36
inc esi
mov dword [ebp - 0x64], esi
mov al, byte [esi]
cmp al, 0x22
je 0x401a9e
test al, al
je 0x401a9e
and eax, 0xff
push eax
call fcn.004040c0
add esp, 4
test eax, eax
je 0x401a78
inc esi
mov dword [ebp - 0x64], esi
jmp 0x401a78
cmp byte [esi], 0x22
jne 0x401aa7
inc esi
mov dword [ebp - 0x64], esi
mov al, byte [esi]
test al, al
je 0x401ab7
cmp al, 0x20
ja 0x401ab7
inc esi
mov dword [ebp - 0x64], esi
jmp 0x401aa7
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x401ad8
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x401add
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x60], eax
push eax
call fcn.00401b50
jmp 0x401b1b
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0x20
jbe 0x401aa7
inc esi
mov dword [ebp - 0x64], esi
jmp 0x401b36
Function at 0x1000b7d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push dword [ebp + 0xc]
push 0xd
push dword [ecx + 0x38]
call dword [sym.imp.USER32.dll_SendMessageA]
pop ebp
ret 8

Function at 0x1000ce6d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x1000ce7c
pop dword [ebp - 0x20]
mov eax, 0xf50b46a
add eax, 0xb01a12
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0xce3952bb
sub dword [ebp - 0x30], 0x7fe70d70
mov dword [ebp - 0x2c], 0x23c0ce49
sub dword [ebp - 0x2c], 0xf18d8204
mov dword [ebp - 0x28], 0x59b67301
sub dword [ebp - 0x28], 0xd6a2ed3
mov dword [ebp - 0x24], 0x76d7a48b
add dword [ebp - 0x24], 0x89285b75
lea eax, [ebp - 0x30]
push eax
mov eax, 0xfdf5fdb4
sub eax, 0xedf50d04
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x76ad9c8e
add dword [ebp - 0x30], 0xfdc4ccc8
mov dword [ebp - 0x2c], 0x463b0375
sub dword [ebp - 0x2c], 0x4cea200
mov dword [ebp - 0x28], 0x64eecda4
sub dword [ebp - 0x28], 0x17f6138
mov dword [ebp - 0x24], 0xa8c3124c
add dword [ebp - 0x24], 0x573cedb4
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0x8c2a6a38
add eax, 0x83d68670
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x39f90
push 0
call eax
mov ecx, 0x4ca2
mov edi, eax
mov edx, 0xdca2678e
add edx, 0x335fce72
add edx, dword [ebp - 0x20]
mov esi, 0x5a329fa9
sub esi, 0x5dbe6193
sub dword [ebp - 0xc], eax
mov ebx, dword [edx]
xor dword [ebp - 0x10], esi
add ebx, esi
sub dword [ebp - 0xc], edx
mov dword [edi], ebx
xor dword [ebp - 0xc], edi
add edi, 4
add edx, 0x52297905
sub edx, 0x52297901
loop 0x1000cf98
add eax, 0x99226fce
add eax, 0x66deb58d
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xd86cf008
add ecx, 0x37930ff8
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x40664b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
push 0x20019
push edi
movzx eax, cl
mov esi, edx
push 0x405aa0
sub eax, 0x7fffffff
mov dword [ebp - 4], edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x406688
jle 0x4066e5
movzx eax, ax
or eax, 0x80070000
jmp 0x4066e5
or dword [ebp - 0x10], 0xffffffff
mov ecx, esi
push 0x32
pop eax
push eax
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], esi
call fcn.00406a46
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x14], eax
push ecx
push eax
lea eax, [ebp - 8]
push eax
push edi
push 0x405a88
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.00406a20
test esi, esi
je 0x4066d8
jle 0x4066d4
movzx esi, si
or esi, 0x80070000
mov eax, esi
jmp 0x4066e5
mov eax, dword [ebp - 8]
dec eax
neg eax
sbb eax, eax
and eax, 0x8000ffff
pop edi
pop esi
leave
ret

Function at 0x4097da
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cli
lea eax, [ebp - 0x58]
push eax
call fcn.00409543
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.004094f8
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
invalid
invalid
push esp
Function at 0x43534b
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0042708b
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x435383
xor eax, eax
jmp 0x4353af
cmp esi, dword [ebp - 4]
je 0x4353ac
cmp dword [ebp + 0xc], 0
je 0x4353ac
push dword [edi + 0x9c]
call fcn.00434f59
push dword [edi + 0x9c]
mov esi, eax
call fcn.00424fcd
pop ecx
pop ecx
cmp esi, eax
je 0x43537f
xor eax, eax
inc eax
pop edi
pop esi
leave
ret

Function at 0x16a4120
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.GVD1
lea edi, [esi - 0x1270000]
push edi
or ebp, 0xffffffff
jmp 0x16a4142
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x16a4149
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
mov al, byte [edi]
jb 0x16a4138
mov eax, 1
add ebx, ebx
jne 0x16a415d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x16a416e
jne 0x16a417e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a417e
dec eax
add ebx, ebx
jne 0x16a417a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x16a4152
xor ecx, ecx
sub eax, 3
jb 0x16a4196
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x16a420a
sar eax, 1
mov ebp, eax
jmp 0x16a41a1
add ebx, ebx
jne 0x16a41a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x16a41ae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x16a41d2
inc ecx
add ebx, ebx
jne 0x16a41be
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x16a41b3
jne 0x16a41cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x16a41b3
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
mov al, byte [edi + ecx]
jbe 0x16a41f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x16a41e6
jmp 0x16a413e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x16a41f4
add edi, ecx
jmp 0x16a413e
pop esi
mov edi, esi
mov ecx, 0x346a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x16a4212
cmp byte [edi], 0x16
jne 0x16a4212
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 eax, ebx
loop 0x16a4217
lea edi, [esi + 0x12a1000]
mov eax, dword [edi]
or eax, eax
je 0x16a4286
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12a57f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12a58e8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x16a4244
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12a58ec]
or eax, eax
je 0x16a4280
mov dword [ebx], eax
add ebx, 4
jmp 0x16a4261
call dword [esi + 0x12a58f0]
popal
jmp 0x46b748
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x35c416de
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e3d0
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x7f9a2584
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
jmp 0x401219

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40701c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x407028
push 0x407024
push 0x407020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x407028]
push dword [0x407024]
push dword [0x407020]
mov dword [0x407014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret

Function at 0x401941
Capabilities:
Allocate or change rwx memory
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push edi
and dword [ebp - 0x124], 0
xor edi, edi
mov byte [ebp - 0x104], 0
mov dword [ebp - 0x11c], 0x14
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x118]
push eax
push 1
push 1
lea eax, [ebp - 0x104]
push eax
call sub.CRYPT32.DLL_CryptBinaryToStringW
movzx eax, word [ebp - 0x118]
mov edi, eax
sub edi, 0x41
and dword [ebp - 0x120], 0
lea eax, [ebp - 0x120]
push eax
mov eax, edi
or al, 0x40
push eax
lea eax, [0x404691]
lea edx, [fcn.004019d4]
sub eax, edx
push eax
push fcn.004019d4
call sub.KERNEL32.dll_VirtualProtect
mov eax, edi
pop edi
leave
ret
Function at 0x30001650
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov ecx, esi
push edi
lea edi, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x30001660
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push dword [ebp + 8]
push edx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov esi, eax
test esi, esi
je 0x3000169a
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
jg 0x300016a0
pop edi
mov eax, esi
pop esi
pop ebp
ret
movzx eax, si
pop edi
or eax, 0x80070000
pop esi
pop ebp
ret
Function at 0x30002100
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x62c
mov eax, dword [0x3021be88]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x624], ecx
mov byte [ebp - 0x618], 0
pushfd
mov eax, dword fs:[0x18]
pop ebx
test eax, eax
jne 0x30002137
or esi, 0xffffffff
or edi, 0xffffffff
jmp 0x30002140
mov esi, dword [eax + 0x34]
mov edi, dword [eax + 0xbf4]
push 0x104
push 8
push dword [0x30272510]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword fs:[0x18]
mov dword [ebp - 0x61c], eax
test ecx, ecx
je 0x30002173
mov dword [ecx + 0x34], esi
mov dword [ecx + 0xbf4], edi
test ebx, ebx
je 0x30002173
push ebx
popfd
test eax, eax
jne 0x30002186
push str.TranslatePathFromDeviceToLetter:_Unable_to_allocate_buffer_for_DriveLetterFilePath
call fcn.30009b40
jmp 0x30002303
lea eax, [ebp - 0x618]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x300022f9
mov ax, word [0x301e5444]
lea edi, [ebp - 0x618]
mov word [ebp - 0x620], ax
xor ebx, ebx
movzx eax, byte [0x301e5446]
mov byte [ebp - 0x61e], al
mov al, byte [ebp - 0x618]
jmp 0x300021d0
mov byte [ebp - 0x620], al
lea eax, [ebp - 0x110]
push 0x104
push eax
lea eax, [ebp - 0x620]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
je 0x300022cb
lea esi, [ebp - 0x110]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x30002200
sub esi, ecx
cmp esi, 0x104
jae 0x300022cb
push esi
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 0x624]
call fcn.30169a61
xor ebx, ebx
add esp, 0xc
test eax, eax
sete bl
mov dword [ebp - 0x628], ebx
test eax, eax
jne 0x300022cb
mov eax, dword [ebp - 0x624]
add eax, esi
cmp byte [eax], 0x5c
jne 0x300022cb
push eax
lea eax, [ebp - 0x620]
push eax
push 0x301e5448
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.30002010
lea eax, [ebp - 0x218]
add esp, 0x14
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x30002277
sub eax, edx
cmp eax, 0x7ffffffe
jbe 0x30002292
mov ecx, dword [ebp - 0x61c]
mov byte [ecx], 0
jmp 0x300022d1
mov ebx, dword [ebp - 0x61c]
lea esi, [ebp - 0x218]
mov edx, 0x104
mov ecx, ebx
sub esi, ebx
test eax, eax
je 0x300022bd
mov bl, byte [esi + ecx]
test bl, bl
je 0x300022bd
mov byte [ecx], bl
dec eax
inc ecx
sub edx, 1
jne 0x300022a7
jmp 0x300022c1
test edx, edx
jne 0x300022c2
dec ecx
mov ebx, dword [ebp - 0x628]
mov byte [ecx], 0
mov ecx, dword [ebp - 0x61c]
mov al, byte [edi]
inc edi
test al, al
jne 0x300022d1
test ebx, ebx
jne 0x300022e6
mov al, byte [edi]
test al, al
jne 0x300021d0
mov eax, ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.3015f3bd
mov esp, ebp
pop ebp
ret
push str.TranslatePathFromDeviceToLetter:_GetLogicalDriveStrings_failed
call fcn.30009b60
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
xor eax, eax
pop edi
pop esi
pop ebx
call fcn.3015f3bd
mov esp, ebp
pop ebp
ret
Function at 0x30002bb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov ecx, edx
call fcn.30002ac0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [0x302736b8]
test edx, edx
je 0x30002bde
lea ebx, [ebx]
cmp dword [edx], eax
je 0x30002c00
mov edx, dword [edx + 0x88]
test edx, edx
jne 0x30002bd0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str.ContextClearAllBreakpoints:_No_breakpoints_found_for_current_thread__d._n
call fcn.30009b40
push str.ContextClearTrackedRegion:_Failed_to_clear_breakpoints._n
call fcn.30009b40
add esp, 0xc
xor eax, eax
pop esi
ret
test edx, edx
je 0x30002bde
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
mov dword [edx + 0x1c], 0
mov dword [edx + 0x20], 0
mov dword [edx + 0x2c], 0
mov dword [edx + 0x30], 0
mov dword [edx + 0x34], 0
mov dword [edx + 0x38], 0
mov dword [edx + 0x3c], 0
mov dword [edx + 0x40], 0
mov dword [edx + 0x4c], 0
mov dword [edx + 0x50], 0
mov dword [edx + 0x54], 0
mov dword [edx + 0x58], 0
mov dword [edx + 0x5c], 0
mov dword [edx + 0x60], 0
mov dword [edx + 0x6c], 0
mov dword [edx + 0x70], 0
mov dword [edx + 0x74], 0
mov dword [edx + 0x78], 0
mov dword [edx + 0x7c], 0
mov dword [edx + 0x80], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
cmp dword [0x302702e8], 1
jle 0x30002ce7
call fcn.30007210
mov eax, 1
pop esi
ret