joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005b610
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x40
test eax, eax
push ebx
push ebp
mov ebp, dword [esp + 0x60]
push esi
push edi
je 0x1005b650
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x5c]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x64]
push edx
push 2
push ebp
push ebx
push ecx
push esi
push 0
push eax
call fcn.10069a50
mov edi, dword [esp + 0x78]
add esp, 0x24
jmp 0x1005b671
mov esi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x64]
mov edi, 1
mov dword [esp + 0x10], esi
mov dword [esp + 0x54], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x58]
test eax, eax
je 0x1005b6a8
lea edx, [esp + 0x30]
lea ecx, [esp + 0x5c]
push edx
mov edx, dword [esp + 0x64]
push ecx
push 2
push ebp
push ebx
push edx
push esi
push 0x10000
push eax
call fcn.10069a50
mov edi, dword [esp + 0x78]
mov eax, dword [esp + 0x80]
add esp, 0x24
jmp 0x1005b6c1
mov ecx, dword [esp + 0x60]
mov eax, 1
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ebp
imul eax, edi
mov ecx, dword [esp + 0x70]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x60], eax
mov dword [ecx], eax
jle 0x1005b75e
mov edx, dword [esp + 0x74]
lea ecx, [edx + 0x1c]
jmp 0x1005b6e5
mov edi, dword [esp + 0x54]
mov eax, ebx
cdq
idiv edi
mov eax, ebx
mov esi, edx
cdq
idiv edi
shl esi, 4
mov edx, esi
mov esi, dword [esp + edx + 0x10]
mov dword [ecx - 0x1c], esi
shl eax, 4
mov ebp, dword [esp + eax + 0x34]
mov edi, dword [esp + eax + 0x30]
mov dword [ecx - 0x10], ebp
mov ebp, dword [esp + edx + 0x18]
mov dword [ecx - 0x18], edi
mov edi, dword [esp + edx + 0x14]
mov edx, dword [esp + edx + 0x1c]
mov dword [ecx - 0xc], ebp
mov ebp, dword [esp + eax + 0x38]
mov eax, dword [esp + eax + 0x3c]
mov dword [ecx - 0x14], edi
mov dword [ecx - 8], ebp
mov dword [ecx - 4], edx
mov dword [ecx], eax
mov edx, dword [ecx - 0x18]
cmp esi, edi
jne 0x1005b741
mov eax, dword [ecx - 8]
mov dword [ecx - 0x10], edx
mov dword [ecx], eax
jmp 0x1005b752
cmp edx, dword [ecx - 0x10]
jne 0x1005b752
mov eax, dword [ecx - 0x1c]
mov edx, dword [ecx - 0xc]
mov dword [ecx - 0x14], eax
mov dword [ecx - 4], edx
mov eax, dword [esp + 0x60]
inc ebx
add ecx, 0x20
cmp ebx, eax
jl 0x1005b6e1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
Function at 0x1007b426
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x100b8058
cmp edx, dword [eax]
je 0x1007b448
add eax, 8
inc ecx
cmp eax, 0x100b80e8
jl 0x1007b439
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x100b8058]
jne 0x1007b576
mov eax, dword [0x100cb8b4]
cmp eax, 1
je 0x1007b550
test eax, eax
jne 0x1007b479
cmp dword [0x100cb8b8], 1
je 0x1007b550
cmp edx, 0xfc
je 0x1007b576
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1007b4b0
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.1007f450
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.1007b7b0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x1007b4f3
lea eax, [ebp - 0x1a4]
push eax
call fcn.1007b7b0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x100a8484
push edi
call fcn.10077670
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.1007f450
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.1007f460
lea eax, [ebp - 0xa0]
push 0x100a8464
push eax
call fcn.1007f460
push dword [esi + 0x100b805c]
lea eax, [ebp - 0xa0]
push eax
call fcn.1007f460
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.10080bde
add esp, 0x2c
pop edi
jmp 0x1007b576
lea eax, [ebp + 8]
lea esi, [esi + 0x100b805c]
push 0
push eax
push dword [esi]
call fcn.1007b7b0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x1007f540
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1007f560
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10079d1f
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x1007f583
test byte [esp + 8], 2
je 0x1007f583
call fcn.10079d92
mov dword [eax], 0xd
call fcn.10079d9b
mov dword [eax], 5
jmp 0x1007f55c
xor eax, eax
ret
Function at 0x10039854
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebx
adc cl, byte [ebx - 0x24ccefbb]
cmp eax, ebx
je 0x10039e61
mov edi, dword [eax + 0x3c]
add edi, eax
movzx eax, word [edi + 0x14]
lea esi, [eax + edi + 0x18]
mov dword [ebp - 0x44], esi
call fcn.10039668
pop ebx
mov ch, byte [edx + 0x47b70f31]
push es
lea eax, [eax + eax*4]
shl eax, 3
sub eax, dword [ebp + 0x10]
add eax, esi
mov dword [ebp - 0xb4], eax
mov dword [ebp - 8], eax
call fcn.10039668
pop esp
push ss
lcall 0x6606, 0x478b6607
cmp eax, ebx
jbe 0x100398c2
lea ecx, [esi + 0xc]
movzx edx, ax
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x100398bc
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x100398ad
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.10039668
pop edx
shl byte [ecx], 0xed
lea eax, [ebp - 0x58]
push eax
call fcn.10039678
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.1003962d
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x10039956
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.10039668
xchg dword [ebx], edx
sbb eax, 0xc0458d29
push eax
call fcn.10039678
push eax
push esi
push dword [ebp + 8]
call fcn.1003962d
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.10039668
dec ebx
or ch, al
invalid
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1005cf5d
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x100636e0]
push esi
push edi
test eax, eax
jne 0x1005cf76
call fcn.1005d032
test eax, eax
je 0x1005cfc2
mov eax, dword [0x100636e0]
cmp eax, 1
jne 0x1005cf92
push 0xd
push 8
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
push eax
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
test eax, eax
je 0x1005cfc2
jmp 0x1005d008
push eax
call dword [sym.imp.api_ms_win_core_interlocked_l1_1_0.dll_InterlockedPopEntrySList]
mov ecx, eax
test ecx, ecx
je 0x1005cfab
xor eax, eax
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
mov eax, ecx
jmp 0x1005d008
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x1005cfc6
xor eax, eax
jmp 0x1005d008
mov eax, dword [esi]
push dword [0x100636e0]
call dword [sym.imp.api_ms_win_core_interlocked_l1_1_0.dll_InterlockedPopEntrySList]
mov edi, eax
test edi, edi
je 0x1005cfec
push 0x8000
push 0
push esi
call dword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_VirtualFree]
mov eax, edi
jmp 0x1005d008
lea edi, [esi + 0xff0]
push esi
push dword [0x100636e0]
call dword [sym.imp.api_ms_win_core_interlocked_l1_1_0.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x1005cff2
mov eax, esi
pop edi
pop esi
ret

Function at 0x404860
Capabilities:
Read .ini file

Disassembly:
ja 0x404845
add byte [eax], al
add byte [eax], bh
je 0x40485d
ret 0x14
push ebp
mov ebp, esp
sub esp, 0x110
lea eax, [esp + 0x28]
mov dword [eax], 0x20
mov dword [eax + 0xc], 0xffffffff
push 0
push 0
push eax
push eax
push 0
cld
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW_1]
test eax, eax
jne 0x4047ff
push 0x1001
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
jmp 0x404815
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x381241
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x8142f80
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x401000
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48deee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x288
push ebx
push esi
push edi
lea edi, [ebp - 0x294]
mov ecx, 0xa2
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x28]
call fcn.00401b20
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00434158
mov byte [ebp - 4], 1
push 0x491a00
lea ecx, [ebp - 0x2c]
call fcn.004347d5
mov byte [ebp - 0x130], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x12f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x234], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x233]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp esi, esp
call fcn.00403ab0
mov dword [ebp - 0x238], eax
mov esi, esp
push 0x104
lea ecx, [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x238]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp esi, esp
call fcn.00403ab0
mov esi, esp
mov eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00403ab0
push 0
lea ecx, [ebp - 0x2c]
call fcn.004749da
push eax
lea ecx, [ebp - 0x28]
call fcn.00401c98
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x401228
lea ecx, [ebp - 0x28]
call fcn.0040222c
mov dword [ebp - 0x23c], eax
lea ecx, [ebp - 0x28]
call fcn.00402186
test eax, eax
je 0x401122
jmp 0x4010f9
lea ecx, [ebp - 0x28]
call fcn.00474838
test eax, eax
je 0x401223
lea ecx, [ebp - 0x28]
call fcn.0047486b
test eax, eax
jne 0x401223
lea ecx, [ebp - 0x28]
call fcn.00474883
test eax, eax
jne 0x401223
mov esi, esp
push 6
lea ecx, [ebp - 0x244]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040241f
mov dword [ebp - 0x24c], eax
mov edx, dword [ebp - 0x24c]
mov dword [ebp - 0x250], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x250]
call fcn.004749da
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp esi, esp
call fcn.00403ab0
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 0x240], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x244]
call fcn.004340cc
mov eax, dword [ebp - 0x240]
and eax, 0xff
test eax, eax
je 0x4011c2
jmp 0x4010f9
push str..exe
lea ecx, [ebp - 0x248]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040241f
mov dword [ebp - 0x254], eax
mov edx, dword [ebp - 0x254]
mov eax, dword [edx]
push eax
push str._s_s
lea ecx, [ebp - 0x234]
push ecx
call fcn.00403520
add esp, 0x10
lea ecx, [ebp - 0x248]
call fcn.004340cc
mov esi, esp
push 1
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
cmp esi, esp
call fcn.00403ab0
jmp 0x4010f9
lea ecx, [ebp - 0x28]
call fcn.00401bfc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004340cc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401b9c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x294
cmp ebp, esp
call fcn.00403ab0
mov esp, ebp
pop ebp
ret
Function at 0x401270
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
lea edi, [ebp - 0x50]
mov ecx, 0x14
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
cmp esi, esp
call fcn.00403ab0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40136b
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x8000
je 0x4012be
jmp 0x40136b
mov dword [ebp - 0xc], 0
jmp 0x4012d0
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0x28
jge 0x40136b
mov eax, dword [ebp - 8]
and eax, 1
cmp eax, 1
jne 0x40135e
mov ecx, dword [ebp - 0xc]
add ecx, 0x43
push ecx
push 0x491a08
push 0x4ac730
call fcn.00403520
add esp, 0xc
push 0x491a04
push 0x4ac730
call fcn.00403b00
add esp, 8
mov esi, esp
push 0x4ac730
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp esi, esp
call fcn.00403ab0
cmp eax, 2
jne 0x40135e
mov esi, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x4ac730
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
cmp esi, esp
call fcn.00403ab0
test eax, eax
je 0x40135e
push 0x4ac730
call section..text
add esp, 4
jmp 0x40136b
mov edx, dword [ebp - 8]
shr edx, 1
mov dword [ebp - 8], edx
jmp 0x4012c7
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x50
cmp ebp, esp
call fcn.00403ab0
mov esp, ebp
pop ebp
ret
Function at 0x401420
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
push ebx
push esi
push edi
lea edi, [ebp - 0x8c]
mov ecx, 0x23
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 0x48], str.WebDown
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0x401380
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 6
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x20], eax
mov esi, esp
lea ecx, [ebp - 0x44]
push ecx
call dword [sym.imp.USER32.dll_RegisterClassA]
cmp esi, esp
call fcn.00403ab0
mov esi, esp
push 0
push 0
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push str.hacker
mov edx, dword [ebp - 0x48]
push edx
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp esi, esp
call fcn.00403ab0
mov dword [ebp - 0x4c], eax
mov esi, esp
push 0
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, esp
call fcn.00403ab0
mov esi, esp
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp esi, esp
call fcn.00403ab0
mov esi, esp
push 0
push 0
push 0x219
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, esp
call fcn.00403ab0
mov esi, esp
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
cmp esi, esp
call fcn.00403ab0
test eax, eax
je 0x401564
mov esi, esp
lea ecx, [ebp - 0x1c]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
cmp esi, esp
call fcn.00403ab0
mov esi, esp
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
cmp esi, esp
call fcn.00403ab0
jmp 0x40151f
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x8c
cmp ebp, esp
call fcn.00403ab0
mov esp, ebp
pop ebp
ret
Function at 0x401580
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push ebx
push esi
push edi
lea edi, [ebp - 0x258]
mov ecx, 0x96
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp esi, esp
call fcn.00403ab0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4015dc
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.00403ab0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0x200
mov esi, esp
lea ecx, [ebp - 0x218]
push ecx
push 0
push 0
push 0
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp esi, esp
call fcn.00403ab0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x401637
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00401580
add esp, 8
jmp 0x4015ea
mov esi, esp
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.00403ab0
mov esi, esp
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp esi, esp
call fcn.00403ab0
mov dword [ebp - 4], eax
pop edi
pop esi
pop ebx
add esp, 0x258
cmp ebp, esp
call fcn.00403ab0
mov esp, ebp
pop ebp
ret
Function at 0x401680
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
lea edi, [ebp - 0x60]
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
lea eax, [ebp - 4]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvancedFolderHidden
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
cmp esi, esp
call fcn.00403ab0
mov dword [ebp - 8], 0x491b14
mov esi, esp
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp esi, esp
call fcn.00403ab0
add eax, 1
mov esi, esp
push eax
mov edx, dword [ebp - 8]
push edx
push 1
push 0
push str.Text
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp esi, esp
call fcn.00403ab0
mov esi, esp
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.00403ab0
mov dword [ebp - 0xc], str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvancedFolderHiddenNOHIDDEN
mov dword [ebp - 0x10], CreateMappedBitmap
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.00401580
add esp, 8
mov dword [ebp - 0x14], str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvancedFolderHiddenSHOWALL
mov dword [ebp - 0x18], CreateMappedBitmap
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.00401580
add esp, 8
mov esi, esp
lea eax, [ebp - 0x1c]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
cmp esi, esp
call fcn.00403ab0
mov dword [ebp - 0x20], 1
mov esi, esp
push 4
lea ecx, [ebp - 0x20]
push ecx
push 4
push 0
push str.HideFileExt
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp esi, esp
call fcn.00403ab0
mov esi, esp
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.00403ab0
pop edi
pop esi
pop ebx
add esp, 0x60
cmp ebp, esp
call fcn.00403ab0
mov esp, ebp
pop ebp
ret
Function at 0x436d2d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
call fcn.0047f3b2
mov dword [ebp - 4], eax
push 5
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x436d86
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x436da0
push 0xeb
push str.dlgcore.cpp
call fcn.004783b0
test eax, eax
je 0x436da0
int3
xor edx, edx
test edx, edx
jne 0x436d86
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00436dfb
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.00402af0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x437b4e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x48]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x44]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 0x40], 0
je 0x437ba1
call fcn.0047f3b2
mov dword [ebp - 0x10], eax
push 5
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x40]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x437bb4
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 1
cmp dword [ebp - 0xc], 0
je 0x437c48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov dx, word [ecx + 2]
cmp edx, 0xffff
jne 0x437bff
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0xc]
mov ax, word [edx + 0x12]
mov word [ebp - 0x18], ax
mov ecx, dword [ebp - 0xc]
mov dx, word [ecx + 0x14]
mov word [ebp - 0x1c], dx
jmp 0x437c15
mov eax, dword [ebp - 0xc]
mov cx, word [eax + 0xa]
mov word [ebp - 0x18], cx
mov edx, dword [ebp - 0xc]
mov ax, word [edx + 0xc]
mov word [ebp - 0x1c], ax
mov ecx, dword [ebp - 0x20]
and ecx, 0x1801
test ecx, ecx
jne 0x437c3b
movsx edx, word [ebp - 0x18]
test edx, edx
jne 0x437c3b
movsx eax, word [ebp - 0x1c]
test eax, eax
jne 0x437c3b
mov dword [ebp - 0x28], 1
jmp 0x437c42
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x40], 0
jne 0x437c5a
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x44], 0
je 0x437c63
mov ecx, dword [ebp - 4]
push ecx
call fcn.00402af0
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x40], 0
je 0x437c76
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret