joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6a2d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x6a2d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x6a2d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x6a2d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x6a2d94
push eax
push esi
call fcn.006a520b
add esp, 8
pop esi
ret 0x10

Function at 0x6a2da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x6a2e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x6a2e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x6bb320
push ecx
mov dword [esp + 0x1c], 4
call fcn.006a4dff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x6a2dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x6a2e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x6a2ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x6a2eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x6bb320
push ecx
mov dword [esp + 0x1c], 4
call fcn.006a4dff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x6a2eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x6a2e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x6a3000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x6a3131
push esi
call fcn.006a6145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00695080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x6a3131
push 0
push ebp
call fcn.006953a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00695260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x6a308b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.006952f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x6a3121
push 0x6bb918
push edi
call fcn.006a43f0
push eax
push ebx
push esi
call fcn.006a2f60
push 0x6bb8f8
push edi
call fcn.006a43f0
push eax
push ebx
push esi
call fcn.006a2f60
push 0x6bb8d8
push edi
call fcn.006a43f0
push eax
push ebx
push esi
call fcn.006a2f60
push 0x6bb8c0
push edi
call fcn.006a43f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.006a2f60
push 0x6bb8a0
push edi
call fcn.006a43f0
push eax
push ebx
push esi
call fcn.006a2f60
push 0x6bb888
push edi
call fcn.006a43f0
push eax
push ebx
push esi
call fcn.006a2f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x6a41b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.006a4140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.006a4140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.006a4140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.006a4140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x6a4bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6a4c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x6b687c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x6a4c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x6a4c52
xor eax, eax
pop esi
leave
ret 4

Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d

Function at 0x40b48a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x40b499
pop dword [ebp - 0x50]
mov eax, 0x5c43a9cb
add eax, 0xa3fd0ace
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0xeba39743
sub dword [ebp - 0x60], 0x9d5151f8
mov dword [ebp - 0x5c], 0xbebb39df
sub dword [ebp - 0x5c], 0x8c87ed9a
mov dword [ebp - 0x58], 0xb734a7d9
sub dword [ebp - 0x58], 0x6ae863ab
mov dword [ebp - 0x54], 0xb26e2a78
add dword [ebp - 0x54], 0x4d91d588
lea eax, [ebp - 0x60]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0xc89511ae
sub dword [ebp - 0x60], 0x5422a858
mov dword [ebp - 0x5c], 0x15d45e67
add dword [ebp - 0x5c], 0x2b98030e
mov dword [ebp - 0x58], 0xe4eaff46
add dword [ebp - 0x58], 0x7e846d26
mov dword [ebp - 0x54], 0x96e979d3
add dword [ebp - 0x54], 0x6916862d
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0xab0c9447
add eax, 0x55343c01
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x3904a
push 0
call eax
mov ecx, 0x4644
mov edi, eax
mov edx, 0x41b000
add edx, dword [ebp - 0x50]
mov esi, 0x43cbe635
add esi, 0x2c6386ae
mov dword [ebp - 0x28], 0xb6ff9b96
mov ebx, dword [edx]
sub dword [ebp - 0x48], edi
xor ebx, esi
sub dword [ebp - 0x28], 0x2275f513
mov dword [edi], ebx
xor dword [ebp - 0xc], eax
add edi, 0x118674b4
sub edi, 0x118674b0
add edx, 0xffc8adee
add edx, 0x375216
loop 0x40b5aa
add eax, 0x10be3
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x47e529
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x40
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.0047e480
add esp, 0xc
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cx, word [eax]
cmp ecx, 0x5a4d
je 0x47e558
mov eax, 0xea61
jmp 0x47e5d6
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x3c], 0
jne 0x47e568
mov eax, 0xea62
jmp 0x47e5d6
push 0xf8
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0x10]
push eax
call fcn.0047e480
add esp, 0xc
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0x4550
je 0x47e595
mov eax, 0xea62
jmp 0x47e5d6
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov cx, word [eax + 4]
cmp ecx, 0x14c
je 0x47e5ad
mov eax, 0xea65
jmp 0x47e5d6
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov cx, word [eax + 0x16]
test ch, 0x10
je 0x47e5c2
mov eax, 0xea66
jmp 0x47e5d6
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x74], 0x10
jbe 0x47e5d2
mov eax, 0xea67
jmp 0x47e5d6
xor eax, eax
jmp 0x47e5d6
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.0040d73f
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.0040d73f
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.0040d73f
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.0040d73f
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.0040d73f
mov dword [0x41203c], eax
call fcn.0040d73f
test eax, eax
jge 0x402550
push 8
call fcn.0040d73f
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.0040d73f
pop ecx
push 1
call fcn.0040d73f
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.0040d73f
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.0040d73f
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.0040d73f
jmp 0x402495

Function at 0x40d73f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x40d74e
pop dword [ebp - 0x30]
mov eax, 0xb128c2dc
add eax, 0x4f181472
sub dword [ebp - 0x30], eax
push 0x40
push 0x1000
push 0x39ad3
push 0
mov eax, 0x33ccfe97
sub eax, 0x338c1dbf
add eax, dword [ebp - 0x30]
call dword [eax]
mov ecx, 0x88e8a55c
sub ecx, 0x88e85b7d
xor edi, edi
add edi, eax
mov esi, 0xe41fe325
sub esi, 0xe3dea761
add esi, dword [ebp - 0x30]
mov ebx, 0x348c0a34
sub ebx, 0x4aa2a69d
xor dword [ebp - 0x10], 0x4d9a1a9a
mov edx, dword [esi]
mov dword [ebp - 0x24], 0x47fd7c08
sub edx, ebx
xor dword [ebp - 0x14], eax
mov dword [edi], edx
add dword [ebp - 0x18], 0x7f3a1c18
add edi, 4
add esi, 0x5a574f75
add esi, 0xa5a8b08f
loop 0x40d7af
add eax, 0xdbd8aed6
add eax, 0x24286b79
mov ebx, eax
add eax, 0xa9b0953a
add eax, 0x564f6acb
mov ecx, 0x42c0c191
add ecx, 0xbd7f3e6f
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x401090
Capabilities:
Hide graphical window

Disassembly:
mov ebp, esp
push esi
lea eax, [0x4032cc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov eax, dword [ebp + 4]
mov dword [0x403183], eax
xor eax, eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
xor eax, eax
mov ecx, 0x16
push eax
dec ecx
jne 0x4010bd
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
lea ecx, [ebp - 0x5c]
push ecx
mov eax, 0x30
mov dword [ecx], eax
mov eax, dword [0x403183]
mov dword [ebp - 0x48], eax
mov eax, 0x402353
mov dword [ebp - 0x54], eax
mov ecx, str.secondclass
mov dword [ebp - 0x34], ecx
call dword [sym.imp.USER32.dll_RegisterClassExA]
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push 0
push 0
push str.Riched32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
xor ecx, ecx
push ecx
push dword [0x403183]
push ecx
push ecx
push 0x12e
push 0x7a
push 0x34c
push 0x2aa
push 0x40000
lea eax, str.bananas
push eax
mov eax, str.secondclass
push eax
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403328], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x403328]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
xor ebx, ebx
lea edi, [ebp - 0x50]
jmp 0x40117b
push edi
call dword [sym.imp.USER32.dll_TranslateMessage]
push edi
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.USER32.dll_GetMessageA]
test al, al
jne 0x40116d
mov esp, ebp
ret

Function at 0x4749a4
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x4746cc
add edx, ecx
mov ecx, 0xc4f2b89c
sub edx, ecx
call fcn.004749f4
and edx, edx
add edx, 0xfd1b60f8
add ecx, edx
xor dword [eax], edi
mov edx, 0xcf6e8efa
add ecx, 0xa90d07d7
mov ecx, 0x11b104f5
add eax, 2
sub edx, ecx
cmp eax, ebx
jl fcn.004749a4
sub ecx, ecx
add edx, 0x7610530d
ret
Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x412d00
push ebx
mov ebx, dword [esp + 0xc]
push edi
xor edi, edi
test ebx, ebx
je 0x412e87
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_InitializeAcl]
nop dword [eax]
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xd2
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xeb
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x95
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x13
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xbf
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xe6
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xa9
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x7d
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xbc
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xe7
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x3a
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x44
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xf3
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x24
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xf6
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x75
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x70
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x61
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x85
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0x2f
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xb0
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x8b
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x36
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x25
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xcd
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xd3
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xa0
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xae
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xc5
inc edi
cmp edi, ebx
jb 0x412d20
pop esi
pop ebp
pop edi
pop ebx
ret

Function at 0x4035da
Capabilities:
Terminate process

Disassembly:
jmp 0x451c59
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x451c6a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405902
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40370b
Capabilities:
Query environment variable

Disassembly:
jmp 0x49b112
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49b123
pop esi
ret
push ebx
push edi
push esi
call fcn.0049aff9
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fd5
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49b14b
push ebx
push esi
push edi
call fcn.004056f5
add esp, 0xc
push 0
call fcn.0040623f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x668c20d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x668c212b
cmp byte [esi + ebx - 1], 0xa
je 0x668c20ff
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x668c3118], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x402bf1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x402c00
pop dword [ebp - 0x44]
mov eax, 0x402c00
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x1101fc4b
sub dword [ebp - 0x54], 0xc2afb700
mov dword [ebp - 0x50], 0x4df66a11
sub dword [ebp - 0x50], 0x1bc31dcc
mov dword [ebp - 0x4c], 0x34dd0e17
sub dword [ebp - 0x4c], 0xe890c9e9
mov dword [ebp - 0x48], 0x544c1548
add dword [ebp - 0x48], 0xabb3eab8
lea eax, [ebp - 0x54]
push eax
mov eax, 0xc159c85c
sub eax, 0xc11947d0
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x74b5382b
sub dword [ebp - 0x54], 0x42ced5
mov dword [ebp - 0x50], 0x9b81e46
sub dword [ebp - 0x50], 0xc84bbcd1
mov dword [ebp - 0x4c], 0x1913a125
sub dword [ebp - 0x4c], 0xb5a434b9
mov dword [ebp - 0x48], 0x3cf4a53f
add dword [ebp - 0x48], 0xc30b5ac1
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0x6832e8bf
sub eax, 0x67f267eb
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x3b312
push 0
call eax
mov ecx, 0x5a03
xor esi, esi
add esi, eax
mov edx, 0x411000
add edx, dword [ebp - 0x44]
mov ebx, 0x7e3b1d62
sub ebx, 0xe1caa9d2
mov edi, dword [edx]
add dword [ebp - 0xc], esi
xor edi, ebx
sub dword [ebp - 0x30], edx
mov dword [esi], edi
sub dword [ebp - 0x28], edx
add esi, 0x1b40bd38
sub esi, 0x1b40bd34
add edx, 4
loop 0x402d13
add eax, 0x47cd44c0
add eax, 0xb834161f
mov ebx, eax
add eax, 0x9afbfd26
sub eax, 0x9afbfd21
mov ecx, 0x46198fbc
sub ecx, 0x45d98fbc
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x4e4934
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4e4962
mov eax, ebx
call fcn.004e53e8
cmp dword [ebx + 0x40], 0
je 0x4e495b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4e49d3
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4e49c5
cmp dword [ebx + 8], 0
je 0x4e4984
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4e4996
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4e49c5
cmp dword [ebx + 8], 0
je 0x4e4977
cmp eax, 3
je 0x4e49a9
dec eax
jne 0x4e4977
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4e4977
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4e4977
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4e49f1
cmp dword [ebx + 0x14], 0xcc
je 0x4e49f1
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004e49fc
pop ebx
ret

Function at 0x438c92
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov esi, 0x438a14
or edi, edi
call fcn.00438cb8
add edi, 0xd282a712
xor dword [ecx], esi
sub edi, eax
and eax, edi
inc ecx
mov edi, edi
cmp ecx, edx
jne fcn.00438c92
or eax, eax
ret
Function at 0x720370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x72038e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x749074
push ecx
mov edi, eax
call fcn.00734198
mov esi, eax
add esp, 8
test esi, esi
jne 0x7203cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0073402e
push esi
call fcn.00733fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x723850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x7238ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x74e720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x7238ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.007341e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x7238ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x74e720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x72392a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00735082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x723957
mov word [eax], si
add eax, 2
push eax
call fcn.00735030
add esp, 4
jmp 0x723959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x7238ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x7238b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x723ff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret