joyce8/EMBER2024-capa huggingface dataset:
Function at 0x561973
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005615f0

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x10014fd0
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1001508a
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0xad8530de
jae 0x1001501a
mov dword [ebp - 0x28], 1
jmp 0x1001501e
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 8]
imul eax, dword [eax], 0xfff8
neg eax
je 0x1001504d
mov eax, 0x4515fdc8
test eax, eax
je 0x1001504d
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x1001504d
mov dword [ebp - 0x10], 1
jmp 0x10015051
and dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0xfffffffd
jl 0x10015060
mov dword [ebp - 0x14], 1
jmp 0x10015064
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
sub eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
cmp eax, dword [ecx]
jg 0x1001507c
mov dword [ebp - 0x18], 1
jmp 0x10015080
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
jmp 0x100150bb
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x100150bb
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x24d7
push 0x1735
push 0x95c
push 0
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
mov esp, ebp
pop ebp
ret
Function at 0x1001c259
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1001c274
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
jmp 0x1001c28e
push 0x94e
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop ebp
ret

Function at 0x1001c34f
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1001c378
push 0x22e5
push 0x17cb
push 0
push 0x106d
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
jmp 0x1001c3b8
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x1001c39a
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jg 0x1001c3b8
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1001c3b6
push 0
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
jmp 0x1001c38f
mov esp, ebp
pop ebp
ret
Function at 0x1001c3bc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x1001c4b8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 8
jl 0x1001c433
mov dword [ebp - 0xc], 1
jmp 0x1001c437
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc]
jl 0x1001c491
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x40]
imul eax, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x1001c474
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0
jne 0x1001c474
and dword [ebp - 0x48], 0
jmp 0x1001c47b
mov dword [ebp - 0x48], 1
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x1001c491
and dword [ebp - 0x18], 0
jmp 0x1001c498
mov dword [ebp - 0x18], 1
cmp dword [ebp - 0x18], 0xaabd
jge 0x1001c4aa
mov dword [ebp - 0x1c], 1
jmp 0x1001c4ae
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
jmp 0x1001c4c0
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov esp, ebp
pop ebp
ret
Function at 0x100271d7
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x100272cf
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
push 0xe7b
push 0x7dd0
push 0x1c5b
push 0
call fcn.1002dd71
add esp, 0x10
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x24], 0xa8e97eed
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 8], 0
jmp 0x10027245
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jge 0x10027258
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x34], 0xdd03248c
jmp 0x1002723e
mov dword [ebp - 8], 0
jmp 0x10027268
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 4
jge 0x1002727b
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x44], 8
jmp 0x10027261
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x44]
dec eax
push 4
pop ecx
imul ecx, ecx, 3
mov dword [ebp + ecx - 0x44], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
shl eax, 4
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
lea eax, [eax + ecx*8 + 0x1008186c]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + ecx*4]
mov dword [edx], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x24]
and eax, 0x4000000
je 0x100272cd
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
or eax, 0x200
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
jmp 0x100272f5
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x100272f5
push 0x94e
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esp, ebp
pop ebp
ret
Function at 0x10028bba
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x10028c05
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
push dword [eax]
push 1
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
push dword [eax]
call fcn.1002743f
add esp, 0x10
jmp 0x10028c2c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x10028c2c
push 0x386
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov esp, ebp
pop ebp
ret

Function at 0x1002a6b5
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002a706
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0xc]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx]
mov dword [eax + ecx*4], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
inc eax
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [ecx + 0xc], eax
jmp 0x1002a71f
push 0x22e5
push 0x17cb
push 0
push 0x106d
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov esp, ebp
pop ebp
ret

Function at 0x1002a723
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1002a76a
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
add ecx, dword [eax]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [eax], ecx
jmp 0x1002a7ca
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 1
jmp 0x1002a78c
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jl 0x1002a7ca
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1002a7c8
push 0
push 0xa0
push 0x3e4
push 0x9d0
push 0xf1d
push 0x19bf
push 0x19e5
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
jmp 0x1002a781
mov esp, ebp
pop ebp
ret
Function at 0x1002e28d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1002e2b1
xor eax, eax
jmp 0x1002e413
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 1
call fcn.1002dd71
add esp, 0x10
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x1002e2d9
xor eax, eax
jmp 0x1002e413
push 0x7aa6
push 0x5abe
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x931
push 0x51ee
push 0
push 0x3a26
call fcn.1002e07d
add esp, 0x20
cmp dword [ebp - 0xc], 0
jne 0x1002e311
xor eax, eax
jmp 0x1002e413
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x7408
push 0x3d05
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x24]
push eax
push 1
lea eax, [ebp - 4]
push eax
call fcn.1002e07d
add esp, 0x20
push 0x10e1
push dword [ebp - 8]
push 0xeb2
push 1
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.10026722
add esp, 0x18
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x1c], ecx
push 0x11d7
push 0x9b2
lea eax, [ebp - 4]
push eax
push 0x6436
push 0x2e4f
lea eax, [ebp - 0x1c]
push eax
push 1
call fcn.1002e12d
add esp, 0x1c
push dword [ebp - 4]
call fcn.1002c768
pop ecx
test eax, eax
jne 0x1002e399
xor eax, eax
jmp 0x1002e413
push 1
lea eax, [ebp - 4]
push eax
call fcn.1002e1dc
pop ecx
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1002e3fb
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x14], ecx
jne 0x1002e3c5
xor eax, eax
jmp 0x1002e413
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1002e3de
xor eax, eax
jmp 0x1002e413
push 1
lea eax, [ebp - 4]
push eax
push 0x6246
push 0x182c
push 0x94c
call fcn.1002e22b
add esp, 0x14
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x1002e40c
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
jmp 0x1002e410
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x1003f657
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1003f6f0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x1003f68b
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0xffffffff
je 0x1003f6ee
mov dword [ebp - 4], 0
jmp 0x1003f6a3
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jge 0x1003f6b6
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x28], 0x1f78
jmp 0x1003f69c
mov dword [ebp - 4], 0
jmp 0x1003f6c6
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jge 0x1003f6d9
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x1c], 0x29aa810d
jmp 0x1003f6bf
push 4
pop eax
shl eax, 1
push 4
pop ecx
imul ecx, ecx, 0
mov eax, dword [ebp + eax - 0x28]
mov dword [ebp + ecx - 0x1c], eax
jmp 0x1003f680
jmp 0x1003f717
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x1003f717
push 0
push 0x1bba
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov esp, ebp
pop ebp
ret

Function at 0x1003f82b
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1003f84d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
and dword [eax], 0
jmp 0x1003f87d
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x1003f87d
push 0x94e
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esp, ebp
pop ebp
ret

Function at 0x1003fab6
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1003fae9
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1003fae7
push 0x22e5
push 0x17cb
push 0
push 0x106d
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
jmp 0x1003fb03
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x1003fb03
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegGetKeySecurity]
mov esp, ebp
pop ebp
ret
Function at 0x1003ff8a
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1003ffd4
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
shl eax, 1
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
sub ecx, eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [eax + 0x24], ecx
jmp 0x1003ffe5
push 0x386
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov esp, ebp
pop ebp
ret
Function at 0x10077a5d
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10080330]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.10067324
mov dword [ebp - 0x14], eax
cmp dword [0x1066da18], esi
jne 0x10077b50
push 0x800
push esi
push 0x100090ac
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10077add
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10077c30
push esi
push esi
push 0x100090ac
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10077c30
push 0x100090c4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10077c30
push eax
call ebx
push 0x100090d0
push edi
mov dword [0x1066da18], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100090e0
push edi
mov dword [0x1066da1c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100090f4
push edi
mov dword [0x1066da20], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1066da28], eax
test eax, eax
je 0x10077b4d
push 0x10009110
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1066da24], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10077b75
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10077b68
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10077b8a
push 4
pop eax
jmp 0x10077c32
cmp dword [ebp - 0x14], esi
je 0x10077b8a
push dword [0x1066da18]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10077b6f
mov eax, dword [0x1066da24]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x10077be8
cmp dword [0x1066da28], edi
je 0x10077be8
push eax
call ebx
push dword [0x1066da28]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10077be8
test eax, eax
je 0x10077be8
call ecx
test eax, eax
je 0x10077bdd
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x10077bdd
test byte [ebp - 8], 1
jne 0x10077be8
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10077c18
mov eax, dword [0x1066da1c]
cmp eax, edi
je 0x10077c15
push eax
call ebx
test eax, eax
je 0x10077c15
call eax
mov esi, eax
test esi, esi
je 0x10077c15
mov eax, dword [0x1066da20]
cmp eax, edi
je 0x10077c15
push eax
call ebx
test eax, eax
je 0x10077c15
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1066da18]
call ebx
test eax, eax
je 0x10077c30
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x10077c32
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10062dea
mov esp, ebp
pop ebp
ret
Function at 0x58c370
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 0x58c38e
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 0x5b5074
push ecx
mov edi, eax
call fcn.005a0198
mov esi, eax
add esp, 8
test esi, esi
jne 0x58c3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.005a002e
push esi
call fcn.0059ffb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x58f850
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 0x58f8ae
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 0x5ba720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x58f8ba
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.005a01e1
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 0x58f8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x5ba720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x58f92a
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.005a1082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x58f957
mov word [eax], si
add eax, 2
push eax
call fcn.005a1030
add esp, 4
jmp 0x58f959
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 0x58f8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x58f8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x58fff0
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