joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1009306
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x101b2b8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
push 1
push 0x1ef
push 0x100190c
lea ecx, [ebp - 0x234]
call fcn.01014882
xor eax, eax
xor edi, edi
push 0x208
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push edi
push eax
mov dword [ebp - 0x240], 0x10032b8
mov dword [ebp - 0x23c], edi
mov dword [ebp - 0x238], edi
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, 0x1f4
cmp esi, edi
jne 0x1009390
mov dword [ebp - 0x234], 0x80070057
mov word [ebp - 0x22e], ax
jmp 0x100947d
mov word [ebp - 0x230], ax
mov eax, 0x1f5
cmp ebx, edi
je 0x100937a
mov word [ebp - 0x230], ax
inc eax
cmp dword [ebp + 0x10], edi
jbe 0x100937a
mov edx, esi
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x234], edi
mov word [ebp - 0x230], ax
call fcn.01017a83
mov dword [ebp - 0x234], eax
cmp eax, edi
mov eax, 0x1f9
jl 0x1009384
mov word [ebp - 0x230], ax
inc eax
cmp dword [ebp - 0x23c], edi
je 0x100937a
push 0x5c
pop edx
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x234], edi
mov word [ebp - 0x230], ax
call fcn.01017a2d
mov dword [ebp - 0x234], eax
cmp eax, edi
mov eax, 0x1fd
jl 0x1009384
mov esi, dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
mov word [ebp - 0x230], ax
push 0x105
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x240]
call esi
test eax, eax
mov eax, 0x204
jne 0x100944d
mov dword [ebp - 0x234], 0x80004005
jmp 0x1009384
push dword [ebp + 0x10]
mov word [ebp - 0x230], ax
push ebx
lea eax, [ebp - 0x210]
push eax
mov dword [ebp - 0x234], edi
call esi
test eax, eax
mov eax, 0x209
je 0x100943e
mov dword [ebp - 0x234], edi
mov word [ebp - 0x230], ax
mov esi, dword [ebp - 0x234]
lea ecx, [ebp - 0x240]
call fcn.01016fc9
lea ecx, [ebp - 0x234]
call fcn.01014a83
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.010141f3
leave
ret 0xc

Function at 0x100cd8e
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x101b2b8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
cmp esi, eax
jne 0x100cdae
xor eax, eax
jmp 0x100ce00
push 0xa
lea ecx, [ebp - 0x18]
push ecx
push eax
push eax
push eax
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x100cdaa
push edi
mov edi, dword [sym.imp.msvcrt.dll__wcsicmp]
lea eax, [ebp - 0x18]
push 0x1001e08
push eax
call edi
pop ecx
pop ecx
test eax, eax
je 0x100cdf1
lea eax, [ebp - 0x18]
push 0x1001e00
push eax
call edi
pop ecx
pop ecx
test eax, eax
je 0x100cdf1
xor eax, eax
jmp 0x100cdff
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
dec eax
dec eax
neg eax
sbb eax, eax
inc eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.010141f3
leave
ret 4
Function at 0x100d066
Capabilities:
Get file system object information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4fc
mov eax, dword [0x101b2b8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
push 1
push 0x142
push 0x1001e20
lea ecx, [ebp - 0x4fc]
mov dword [ebp - 0x4d8], ebx
call fcn.01014882
xor edi, edi
push 0x2b0
lea eax, [ebp - 0x2b4]
push edi
push eax
mov dword [ebp - 0x2b8], edi
call sub.msvcrt.dll_memset
push 0x214
lea eax, [ebp - 0x4cc]
push edi
push eax
mov dword [ebp - 0x4d4], 0x100
mov dword [ebp - 0x4d0], edi
call sub.msvcrt.dll_memset
add esp, 0x18
cmp esi, edi
je 0x100d0e6
mov dword [esi], edi
mov eax, 0x14c
cmp ebx, edi
jne 0x100d105
mov dword [ebp - 0x4fc], 0x80070057
mov word [ebp - 0x4f6], ax
jmp 0x100d1a8
mov word [ebp - 0x4f8], ax
mov eax, 0x14d
cmp esi, edi
je 0x100d0ef
mov dword [ebp - 0x4fc], edi
mov word [ebp - 0x4f8], ax
lea ebx, [eax - 0x4c]
cmp dword [ebp + 0x10], edi
je 0x100d130
mov dword [ebp - 0x4d4], ebx
push dword [ebp - 0x4d4]
lea eax, [ebp - 0x2b8]
push 0x2b4
push eax
push edi
push dword [ebp - 0x4d8]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
jne 0x100d19a
lea eax, [ebp - 0x4d0]
push eax
push ebx
push 8
mov dword [ebp - 0x4d0], 0x218
call dword [sym.imp.SHELL32.dll_SHGetStockIconInfo]
mov dword [ebp - 0x4fc], eax
cmp eax, edi
mov eax, 0x15a
jge 0x100d18b
mov dword [ebp - 0x4fc], 0x80004005
jmp 0x100d0f9
mov word [ebp - 0x4f8], ax
mov eax, dword [ebp - 0x4cc]
jmp 0x100d1a0
mov eax, dword [ebp - 0x2b8]
mov dword [esi], eax
mov dword [ebp - 0x2b8], edi
cmp dword [ebp - 0x2b8], edi
je 0x100d1c2
push dword [ebp - 0x2b8]
call dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [ebp - 0x2b8], edi
mov esi, dword [ebp - 0x4fc]
lea ecx, [ebp - 0x4fc]
call fcn.01014a83
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.010141f3
leave
ret 0xc
Function at 0x100d649
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x78
push esi
push edi
xor edi, edi
inc edi
push edi
push 0xfd
push 0x1001f00
lea ecx, [ebp - 0x3c]
call fcn.01014882
xor esi, esi
mov eax, 0x10032b8
push 0x38
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x74]
push esi
push eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x78], esi
call sub.msvcrt.dll_memset
mov edx, dword [ebp + 0x10]
add esp, 0xc
mov eax, 0x103
cmp edx, esi
jne 0x100d6b0
mov dword [ebp - 0x3c], 0x80070057
mov word [ebp - 0x36], ax
jmp 0x100d7a0
mov word [ebp - 0x38], ax
mov eax, 0x104
cmp dword [ebp + 0x14], esi
je 0x100d6a0
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x3c], esi
mov word [ebp - 0x38], ax
call fcn.0101764b
mov dword [ebp - 0x3c], eax
cmp eax, esi
mov eax, 0x106
jl 0x100d6a7
push dword [ebp + 0x14]
mov edx, 0x10018d8
lea ecx, [ebp - 0x18]
mov word [ebp - 0x38], ax
call fcn.01017a9a
mov dword [ebp - 0x3c], eax
cmp eax, esi
mov eax, 0x108
jl 0x100d6a7
mov word [ebp - 0x38], ax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x74], 0x540
mov dword [ebp - 0x78], 0x3c
mov dword [ebp - 0x70], eax
cmp dword [ebp + 0xc], esi
je 0x100d71d
mov dword [ebp - 0x6c], 0x1001ef4
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x5c], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x100d7a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x100d74e
and eax, 0xffff
or eax, 0x80070000
mov ecx, eax
mov dword [ebp - 0x3c], ecx
mov eax, dword [section..data]
cmp eax, section..data
je 0x100d77b
test dword [eax + 0x1c], 0x200
je 0x100d77b
push ecx
push 0x1001c78
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100cd62
cmp dword [ebp - 0x3c], 0x800704c7
jne 0x100d78e
mov dword [ebp - 0x3c], edi
mov eax, 0x11d
jmp 0x100d79c
cmp dword [ebp - 0x3c], esi
mov eax, 0x121
jl 0x100d6a7
mov word [ebp - 0x38], ax
cmp dword [ebp - 0x40], esi
je 0x100d7b1
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x40], esi
mov esi, dword [ebp - 0x3c]
lea ecx, [ebp - 0xc]
call fcn.01016fc9
lea ecx, [ebp - 0x18]
call fcn.01016fc9
lea ecx, [ebp - 0x3c]
call fcn.01014a83
pop edi
mov eax, esi
pop esi
leave
ret 0x10
Function at 0x1012f4d
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
xor edi, edi
inc edi
push edi
push 0x32d
push 0x1002890
lea ecx, [ebp - 0x28]
call fcn.01014882
mov esi, dword [ebp + 0x10]
mov dword [ebp - 4], edi
test esi, esi
je 0x1012fbd
and dword [ebp - 0x28], 0
mov eax, 0x331
push 2
mov word [ebp - 0x24], ax
lea eax, [ebp - 4]
push eax
push 0x20001009
push dword [ebp + 0xc]
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1012fa5
mov dword [ebp - 4], edi
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov esi, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.01014a83
pop edi
mov eax, esi
pop esi
leave
ret 0xc
mov eax, 0x331
mov dword [ebp - 0x28], 0x80070057
mov word [ebp - 0x22], ax
jmp 0x1012faa
Function at 0x10141d9
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x1017f00
call fcn.010143b4
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x101b79c
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x1013f90
cmp eax, esi
jne 0x1013f83
xor esi, esi
inc esi
mov ebx, esi
jmp 0x1013f93
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1013f6a
xor esi, esi
inc esi
mov eax, dword [0x101b798]
cmp eax, esi
jne 0x1013fa6
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1013fd5
mov eax, dword [0x101b798]
test eax, eax
jne 0x1013fcf
mov dword [0x101b798], esi
push 0x1001380
push 0x1001374
call fcn.01013ecf
pop ecx
pop ecx
test eax, eax
je 0x1013fd5
jmp 0x10140fd
mov dword [0x101b3f8], esi
mov eax, dword [0x101b798]
cmp eax, esi
jne 0x1013ff9
push 0x1001370
push 0x1001368
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x101b798], 2
test ebx, ebx
jne 0x1014005
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x101b7a0], 0
je 0x1014029
push 0x101b7a0
call fcn.01014329
pop ecx
test eax, eax
je 0x1014029
push 0
push 2
push 0
call dword [0x101b7a0]
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x1014085
test al, al
je 0x1014043
cmp dword [ebp - 0x1c], 0
jne 0x1014085
mov al, byte [esi]
test al, al
je 0x1014053
cmp al, 0x20
ja 0x1014053
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1014043
test byte [ebp - 0x3c], 1
je 0x101405f
movzx eax, word [ebp - 0x38]
jmp 0x1014062
push 0xa
pop eax
push eax
push esi
push 0
push 0x1000000
call main
mov dword [0x101b3f4], eax
cmp dword [0x101b3e8], 0
jne 0x10140d9
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp al, 0x22
jne 0x1014094
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x10140a7
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x1014030
cmp dword [0x101b3f8], 0
jne 0x10140e8
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x101b3f4]
jmp 0x1014109
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.010143f9
ret
call fcn.01014501
jmp 0x1013f30
Function at 0x1014a83
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LocalFree]
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
xor edi, edi
cmp eax, edi
jge 0x1014b5d
push eax
call sub.SXSHARED.dll_SxTracerShouldTrackFailure
mov dword [ebp - 4], eax
mov ecx, 0x1002e04
cmp eax, edi
jne 0x1014ab7
mov ecx, 0x1002dfc
cmp dword [esi + 8], edi
jne 0x1014af3
mov eax, dword [section..data]
cmp eax, section..data
je 0x1014af3
test dword [eax + 0x1c], 0x2000000
je 0x1014af3
push dword [esi]
movzx edx, word [esi + 6]
push edx
push ecx
movzx ecx, word [esi + 4]
push ecx
push dword [esi + 0x10]
push 0x1002dc8
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01014797
cmp dword [esi + 0x1c], edi
je 0x1014b2f
mov eax, dword [esi + 0x18]
mov ecx, dword [esi]
cmp ecx, dword [eax + 0x10]
je 0x1014b2f
mov eax, dword [eax + 0xc]
cmp eax, edi
je 0x1014b12
push eax
call ebx
mov eax, dword [esi + 0x18]
mov dword [eax + 0xc], edi
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
mov dword [eax + 0xc], ecx
mov eax, dword [esi + 0x18]
mov ecx, dword [esi]
mov dword [esi + 0x1c], edi
mov dword [eax + 0x10], ecx
mov eax, dword [esi + 0x18]
cmp eax, edi
je 0x1014b41
mov ecx, dword [esi]
cmp ecx, dword [eax + 8]
je 0x1014bd8
cmp dword [esi + 8], edi
jne 0x1014b4d
mov ecx, esi
call fcn.01014978
cmp dword [ebp - 4], edi
je 0x1014bd8
call sub.SXSHARED.dll_SxTracerDebuggerBreak
jmp 0x1014bd8
movzx eax, word [esi + 0xc]
cmp ax, di
jne 0x1014b87
mov eax, dword [section..data]
cmp eax, section..data
je 0x1014bd8
test dword [eax + 0x1c], 0x8000000
je 0x1014bd8
push dword [esi + 0x10]
push 0x1002dc8
push 0x10
jmp 0x1014bcd
cmp ax, 1
jne 0x1014bae
mov eax, dword [section..data]
cmp eax, section..data
je 0x1014bd8
test dword [eax + 0x1c], 0x20000000
je 0x1014bd8
push dword [esi + 0x10]
push 0x1002dc8
push 0x11
jmp 0x1014bcd
mov eax, dword [section..data]
cmp eax, section..data
je 0x1014bd8
test dword [eax + 0x1c], 0x20000
je 0x1014bd8
push dword [esi + 0x10]
push 0x1002dc8
push 0x12
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01014695
mov eax, dword [esi + 0x18]
cmp eax, edi
je 0x1014c0b
mov ecx, dword [esi + 0x14]
mov dword [eax + 0x14], ecx
mov eax, dword [esi + 0x18]
cmp dword [esi + 0x14], edi
jne 0x1014c06
mov dword [eax + 8], edi
mov eax, dword [esi + 0x18]
push dword [eax + 0xc]
call ebx
mov eax, dword [esi + 0x18]
mov dword [eax + 0xc], edi
mov eax, dword [esi + 0x18]
mov dword [eax + 0x10], edi
jmp 0x1014c0b
mov ecx, dword [esi]
mov dword [eax + 8], ecx
mov eax, dword [esi + 0x1c]
cmp eax, edi
je 0x1014c18
push eax
call ebx
mov dword [esi + 0x1c], edi
mov dword [esi + 0x14], edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1015573
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [section..data]
cmp eax, section..data
je 0x10155a2
test dword [eax + 0x1c], 0x20000000
je 0x10155a2
push 0x1002e14
push 0x14
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0100cd3c
push esi
push 1
push 0x1bb
push 0x1002f08
lea ecx, [ebp - 0x3c]
call fcn.01014882
xor esi, esi
mov eax, 0x10032b8
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov eax, 0x1c3
cmp dword [ebp + 8], esi
jne 0x10155ea
mov dword [ebp - 0x3c], 0x80070057
mov word [ebp - 0x36], ax
jmp 0x1015753
push ebx
mov ebx, dword [ebp + 0xc]
mov word [ebp - 0x38], ax
mov eax, 0x1c4
cmp ebx, 2
jae 0x101560c
mov dword [ebp - 0x3c], 0x80070057
mov word [ebp - 0x36], ax
jmp 0x1015752
push edi
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x3c], esi
mov word [ebp - 0x38], ax
call fcn.0101531d
mov edi, 0x1002e34
push edi
push esi
push dword [ebp + 8]
mov esi, 0x1002ee0
lea eax, [ebp - 0xc]
push esi
push eax
call fcn.0101728e
add esp, 0x14
mov dword [ebp - 0x3c], eax
test eax, eax
mov eax, 0x1cb
jl 0x101574d
push dword [ebp - 0xc]
mov word [ebp - 0x38], ax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x101567d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x101566b
cmp eax, 3
jne 0x101567d
and dword [ebp - 0x3c], 0
mov eax, 0x1d3
mov word [ebp - 0x38], ax
jmp 0x1015751
push edi
dec ebx
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push esi
push eax
call fcn.0101728e
add esp, 0x14
mov dword [ebp - 0x3c], eax
test eax, eax
mov eax, 0x1d8
jl 0x101574d
push dword [ebp - 0xc]
mov word [ebp - 0x38], ax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x101572b
push edi
lea ebx, [eax - 1]
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.0101728e
add esp, 0x14
mov dword [ebp - 0x3c], eax
test eax, eax
mov eax, 0x1df
jl 0x101574d
push 1
push dword [ebp - 0xc]
mov word [ebp - 0x38], ax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x1015708
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x10156fb
cmp eax, 0x20
je 0x10156fb
cmp eax, 5
jne 0x1015737
and dword [ebp - 0x3c], 0
mov eax, 0x1ec
mov word [ebp - 0x38], ax
push dword [ebp - 0xc]
call fcn.01015229
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0xc]
call fcn.01017a83
mov dword [ebp - 0x3c], eax
test eax, eax
mov eax, 0x1f3
jl 0x101574d
mov word [ebp - 0x38], ax
mov eax, ebx
test eax, eax
ja 0x10156af
jmp 0x1015751
test eax, eax
jle 0x1015745
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x3c], eax
mov eax, 0x1ec
mov word [ebp - 0x36], ax
pop edi
pop ebx
mov esi, dword [ebp - 0x3c]
lea ecx, [ebp - 0xc]
call fcn.01016fc9
lea ecx, [ebp - 0x18]
call fcn.01016fc9
lea ecx, [ebp - 0x3c]
call fcn.01014a83
mov eax, esi
pop esi
leave
ret 8
Function at 0x1015bae
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push 2
push 0x21
push 0x1002f64
lea ecx, [ebp - 0x30]
call fcn.01014882
mov ebx, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
cmp ebx, esi
je 0x1015bdd
mov dword [ebx], esi
push 0x2a
pop eax
cmp dword [ebp + 0xc], esi
jne 0x1015bf5
mov dword [ebp - 0x30], 0x80070057
mov word [ebp - 0x2a], ax
jmp 0x1015ca2
push 0x2b
mov word [ebp - 0x2c], ax
pop eax
cmp ebx, esi
je 0x1015be5
mov word [ebp - 0x2c], ax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push esi
push dword [ebp + 0xc]
mov dword [ebp - 0x30], esi
push dword [ebp + 8]
mov dword [ebp - 4], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp + 0x14], esi
je 0x1015c3c
cmp eax, 2
jne 0x1015c3c
mov dword [ebp - 0x30], 1
push 0x31
jmp 0x1015c9d
cmp eax, esi
jle 0x1015c4a
and eax, 0xffff
or eax, 0x80070000
push 0x34
mov dword [ebp - 0x30], eax
cmp eax, esi
pop eax
jge 0x1015c61
mov word [ebp - 0x2a], ax
mov dword [ebp - 0x28], 1
jmp 0x1015ca2
cmp dword [ebp - 8], 4
push 0x36
mov word [ebp - 0x2c], ax
pop eax
je 0x1015c7a
mov dword [ebp - 0x30], 0x8007065d
jmp 0x1015bec
cmp dword [ebp - 4], 4
mov word [ebp - 0x2c], ax
je 0x1015c93
push 0x37
mov dword [ebp - 0x30], 0x80004005
pop eax
jmp 0x1015bec
mov eax, dword [ebp - 0xc]
mov dword [ebx], eax
mov dword [ebp - 0x30], esi
push 0x3b
pop eax
mov word [ebp - 0x2c], ax
mov esi, dword [ebp - 0x30]
lea ecx, [ebp - 0x30]
call fcn.01014a83
mov eax, esi
pop esi
pop ebx
leave
ret 0x10
Function at 0x1016324
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x101b2b8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push 1
push 0x393
push 0x10030d4
lea ecx, [ebp - 0x234]
call fcn.01014882
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, 0x398
test edi, edi
jne 0x1016392
mov dword [ebp - 0x234], 0x80070057
mov word [ebp - 0x22e], ax
jmp 0x101643c
cmp dword [ebp + 0xc], 0
mov word [ebp - 0x230], ax
mov eax, 0x399
jbe 0x101637c
and dword [ebp - 0x234], 0
mov word [ebp - 0x230], ax
xor eax, eax
mov word [edi], ax
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
push 0x10030b4
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x10163e5
call fcn.01015b4b
mov dword [ebp - 0x234], eax
mov eax, 0x3a2
jmp 0x1016386
mov ecx, 0x3a2
cmp eax, esi
mov word [ebp - 0x230], cx
lea eax, [ecx + 1]
jbe 0x1016404
mov dword [ebp - 0x234], 0x8007007a
jmp 0x1016386
push dword [ebp + 0xc]
and dword [ebp - 0x234], 0
mov word [ebp - 0x230], ax
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.01016014
mov dword [ebp - 0x234], eax
test eax, eax
mov eax, 0x3a5
jl 0x1016386
mov word [ebp - 0x230], ax
mov esi, dword [ebp - 0x234]
lea ecx, [ebp - 0x234]
call fcn.01014a83
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.010141f3
leave
ret 8
Function at 0x437182
Capabilities:
Parse credit card information
Parse pe header

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, esi
call fcn.004325c4
push esi
call fcn.00432651
cmp dword [esi + 0xe48], 2
pop ecx
je 0x4371a6
mov eax, esi
pop esi
jmp fcn.0043423e
pop esi
ret

Function at 0x43ceae
Capabilities:
Hide graphical window

Disassembly:
push esi
push 0
push 0x43c7f4
push 0
push 0x6f
push dword [0x477518]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov esi, eax
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
pop esi
ret

Function at 0x43d205
Capabilities:
Hide graphical window

Disassembly:
cmp dword [0x4774e8], 0
jne 0x43d235
push 0
push 0x43c35c
push dword [esp + 0xc]
push 0x6e
push dword [0x477518]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
push 1
push eax
mov dword [0x4774e8], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x4774e8]
call dword [sym.imp.USER32.dll_SetActiveWindow]
ret

Function at 0x43daf0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push esi
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.0040b6cc
push dword [0x4574d8]
mov esi, eax
lea eax, [ebp - 0x64]
push str._.70s_Command_Line_Error
push eax
call fcn.0044cd68
add esp, 0x14
push 0x10
lea eax, [ebp - 0x64]
push eax
push esi
push dword [0x4774fc]
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call fcn.0040b470
pop ecx
push 1
call fcn.0044ef2f
int3

Function at 0x43f872
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
push ebp
push edi
mov edi, dword [esp + 0x18]
lea eax, [edi + 1]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
xor ebx, ebx
cmp ebp, ebx
je 0x43f917
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
cmp esi, ebx
je 0x43f916
push edi
push dword [esp + 0x1c]
push esi
call fcn.0044c930
add esp, 0xc
push ebp
mov byte [esi + edi], bl
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [esp + 0x20], ebx
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov edi, 0x8002
jne 0x43f8d7
push ebx
push 1
push edi
push dword [0x4774fc]
call esi
push dword [0x4774fc]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x43f8fe
call dword [sym.imp.USER32.dll_EmptyClipboard]
push ebp
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x43f905
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [esp + 0x20], ebx
jne 0x43f916
push ebx
push ebx
push edi
push dword [0x4774fc]
call esi
pop esi
pop edi
pop ebp
pop ebx
ret