joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455bf0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d65b8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x510620]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov bh, cl
mov dword [ebp - 4], 0
xor esi, esi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
lea esp, [esp]
lea ecx, [ebp - 0x68]
call fcn.004616e0
cmp dword [ebp + 0x20], 8
lea edx, [ebp + 0xc]
cmovae edx, dword [ebp + 0xc]
cmp dword [eax + 0x18], 8
lea ecx, [eax + 4]
jb 0x455c4e
mov ecx, dword [ecx]
push ecx
call fcn.00452fd0
add esp, 4
mov dword [ebp - 0x68], vtable.UString.0
cmp dword [ebp - 0x50], 8
mov bl, al
jb 0x455c71
push dword [ebp - 0x64]
call fcn.00494c0b
add esp, 4
test bl, bl
jne 0x455c87
push 0x3e8
call edi
inc esi
cmp esi, 0xf
jl 0x455c30
jmp 0x455d22
lea ecx, [ebp - 0x68]
call fcn.0046f1b0
cmp dword [eax + 0x18], 8
lea edi, [eax + 4]
jb 0x455c9a
mov edi, dword [edi]
cmp dword [ebp + 0x20], 8
lea eax, [ebp - 0x4c]
push 0x3c
push 0
lea esi, [ebp + 0xc]
cmovae esi, dword [ebp + 0xc]
push eax
call fcn.0049aba0
xor ecx, ecx
mov dword [ebp - 0x4c], 0x3c
add esp, 0xc
mov dword [ebp - 0x3c], esi
test bh, bh
mov dword [ebp - 0x48], 0x40
mov eax, 5
mov dword [ebp - 0x34], edi
cmovne eax, ecx
mov dword [ebp - 0x40], 0x4eb5c8
mov dword [ebp - 0x30], eax
test bh, bh
mov eax, 0x4e86dc
cmove eax, ecx
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x455d08
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x455d08
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x50], 8
mov dword [ebp - 0x68], vtable.UString.0
jb 0x455d20
push dword [ebp - 0x64]
call fcn.00494c0b
add esp, 4
mov bl, 1
cmp dword [ebp + 0x20], 8
mov dword [ebp + 8], vtable.UString.0
jb 0x455d3a
push dword [ebp + 0xc]
call fcn.00494c0b
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00494c10
mov esp, ebp
pop ebp
ret
Function at 0x456580
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x510620]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push 0x4e4d44
push eax
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
mov esi, ecx
call fcn.004953e8
add esp, 0xc
test eax, eax
jne 0x456648
push ebx
mov ebx, dword [esi + 0x14]
add esi, 4
push edi
cmp dword [esi + 0x14], 8
jb 0x4565c9
mov eax, dword [esi]
jmp 0x4565cb
mov eax, esi
push 0
push 0
push 0
push 0
push ebx
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0xc], eax
lea ecx, [eax + 1]
push ecx
call fcn.0047d9ae
add esp, 4
mov edi, eax
cmp dword [esi + 0x14], 8
jb 0x4565fb
mov esi, dword [esi]
push 0
push 0
push dword [ebp - 0xc]
push edi
push ebx
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov byte [edi + eax], 0
push dword [ebp - 8]
push eax
push 1
push edi
call fcn.00495650
push edi
call fcn.00495300
push dword [ebp - 8]
call fcn.00495371
add esp, 0x18
mov al, 1
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00494c10
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.00494c10
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45bc00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d6e78
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x510620]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
push edi
mov eax, dword [0x510620]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x54], 0
mov edi, dword [ebp + 8]
mov dword [esp + 0x10], 0
jne 0x45bc6d
push 0
sub esp, 8
push 0x80800000
call fcn.004592b0
test al, al
jne 0x45bc6d
push 0x4e4f80
mov ecx, edi
call fcn.00455d60
jmp 0x45bd20
mov ecx, esi
call fcn.00459fb0
push 5
push dword [esi + 0x54]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 0
mov ecx, esi
call fcn.00459e10
lea eax, [esi + 0xac]
test eax, eax
je 0x45bc99
add eax, 4
jmp 0x45bc9b
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x2c], 7
push 0xffffffffffffffff
push ecx
mov word [esp + 0x20], cx
lea ecx, [esp + 0x20]
push eax
mov dword [esp + 0x34], 0
call fcn.00402990
mov dword [esp + 0x14], vtable.UString.0
mov dword [esp + 0x40], 0
cmp dword [esi + 0x54], 0
je 0x45bcdc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
lea ecx, [edi + 4]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esp + 0x20]
push eax
call fcn.00402990
cmp dword [esp + 0x2c], 8
mov dword [edi], vtable.UString.0
mov dword [esp + 0x14], vtable.UString.0
jb 0x45bd20
push dword [esp + 0x18]
call fcn.00494c0b
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00494c10
mov esp, ebp
pop ebp
ret 4
Function at 0x45c000
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x510620]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov esi, 0x80004001
cmp edi, 9
jne 0x45c04c
cmp byte [ebp + 0xc], 0
je 0x45c04a
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, ebx
mov eax, dword [ebx]
sets byte [ebp - 0x108]
push dword [ebp - 0x108]
call dword [eax + 0x48]
xor esi, esi
cmp byte [ebp + 0xc], 0
je 0x45c0b3
xor eax, eax
push 0xfe
push eax
mov word [ebp - 0x104], ax
lea eax, [ebp - 0x102]
push eax
call fcn.0049aba0
add esp, 0xc
call dword [sym.imp.USER32.dll_GetFocus]
test eax, eax
je 0x45c093
push 0x80
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
cmp edi, 0xd
je 0x45c110
cmp edi, 0x59
jne 0x45c0c8
push str.Edit
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x45c110
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00494c10
mov esp, ebp
pop ebp
ret 8
cmp edi, 0x1b
je 0x45c0e8
cmp edi, 0x4e
jne 0x45c0b3
push str.Edit
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x45c0b3
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax + 0x4c]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xa8]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00494c10
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax + 0x4c]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xa4]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00494c10
mov esp, ebp
pop ebp
ret 8
Function at 0x45c140
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d6f00
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x510620]
xor eax, esp
mov dword [esp + 0x54], eax
push esi
push edi
mov eax, dword [0x510620]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x44]
mov esi, dword [ebp + 8]
push eax
mov dword [esp + 0x2c], 0
call fcn.00455d60
lea eax, [esp + 0x48]
mov dword [esp + 0x70], 0
push eax
mov edx, 0x4ed06c
lea ecx, [esp + 0x30]
call fcn.004155d0
add esp, 4
xor ecx, ecx
mov byte [esp + 0x70], 2
push 0xffffffffffffffff
push ecx
mov word [esp + 0x18], cx
lea ecx, [esp + 0x18]
push eax
mov dword [esp + 0x18], vtable.UString.0
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
call fcn.00402990
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x18]
mov byte [esp + 0x78], 3
push eax
lea ecx, [esp + 0x54]
call fcn.00402990
cmp dword [esp + 0x24], 8
mov dword [esp + 0xc], vtable.UString.0
jb 0x45c211
push dword [esp + 0x10]
call fcn.00494c0b
add esp, 4
xor eax, eax
mov dword [esp + 0x24], 7
mov byte [esp + 0x70], al
cmp dword [esp + 0x40], 8
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
jb 0x45c23f
push dword [esp + 0x2c]
call fcn.00494c0b
add esp, 4
cmp dword [esp + 0x5c], 8
lea eax, [esp + 0x48]
push 1
cmovae eax, dword [esp + 0x4c]
push eax
push ecx
mov ecx, edi
call fcn.0045a1d0
mov ecx, eax
call fcn.0046ad20
mov ecx, eax
test ecx, ecx
je 0x45c270
mov eax, dword [ecx]
push esi
call dword [eax + 0xcc]
jmp 0x45c27c
push 0x4e4f80
mov ecx, esi
call fcn.00455d60
cmp dword [esp + 0x5c], 8
mov dword [esp + 0x44], vtable.UString.0
jb 0x45c297
push dword [esp + 0x48]
call fcn.00494c0b
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.00494c10
mov esp, ebp
pop ebp
ret 8
Function at 0x462220
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0018
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x510620]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00452030
test eax, eax
jne 0x4622ac
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4622ac
mov edx, esi
lea ecx, [ebp - 0x2c]
call fcn.00461bc0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae ecx, dword [ebp - 0x28]
call fcn.00462220
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
mov dword [ebp - 0x2c], vtable.UString.0
setne bl
cmp dword [ebp - 0x14], 8
jb 0x4622a8
push dword [ebp - 0x28]
call fcn.00494c0b
add esp, 4
mov al, bl
jmp 0x4622ae
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00494c10
mov esp, ebp
pop ebp
ret
Function at 0x4622d0
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7d5b
mov eax, dword fs:[0]
push eax
sub esp, 0x65c
mov eax, dword [0x510620]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
je 0x4624c6
cmp word [esi], 0
je 0x4624c6
mov bl, 1
lea ecx, [ebp - 0x42c]
push esi
mov byte [ebp - 0x661], bl
call fcn.00455d60
push 4
push str..
lea ecx, [ebp - 0x428]
mov dword [ebp - 4], 0
call fcn.00406030
cmp dword [ebp - 0x414], 8
lea ecx, [ebp - 0x660]
lea eax, [ebp - 0x428]
cmovae eax, dword [ebp - 0x428]
push ecx
push eax
call fcn.00498c90
mov edi, eax
add esp, 8
cmp edi, 0xffffffff
je 0x46248e
mov edi, edi
push esi
lea eax, [ebp - 0x410]
push 0x200
push eax
call fcn.00499e8b
add esp, 0xc
lea eax, [ebp - 0x410]
push 0x4e9238
push 0x200
push eax
call fcn.0049a6c8
add esp, 0xc
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x410]
push 0x200
push eax
call fcn.0049a6c8
add esp, 0xc
test byte [ebp - 0x660], 0x10
je 0x462454
mov ecx, 0x4e9838
lea eax, [ebp - 0x63c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4623f7
test dx, dx
je 0x4623f3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4623f7
add eax, 4
add ecx, 4
test dx, dx
jne 0x4623d1
xor eax, eax
jmp 0x4623fc
sbb eax, eax
or eax, 1
test eax, eax
je 0x462467
mov ecx, 0x4ea570
lea eax, [ebp - 0x63c]
jmp 0x462410
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x462436
test dx, dx
je 0x462432
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x462436
add eax, 4
add ecx, 4
test dx, dx
jne 0x462410
xor eax, eax
jmp 0x46243b
sbb eax, eax
or eax, 1
test eax, eax
je 0x462467
xor dl, dl
lea ecx, [ebp - 0x410]
call fcn.004622d0
test al, al
jne 0x462467
xor bl, bl
jmp 0x462467
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb al, al
and bl, al
lea eax, [ebp - 0x660]
push eax
push edi
call fcn.00498db7
add esp, 8
test eax, eax
je 0x462370
push edi
mov byte [ebp - 0x661], bl
call fcn.00498ece
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebx, eax
mov dword [ebp - method.UString.virtual_0], vtable.UString.0
neg ebx
sbb bl, bl
and bl, byte [ebp - 0x661]
cmp dword [ebp - 0x414], 8
jb 0x4624c2
push dword [ebp - 0x428]
call fcn.00494c0b
add esp, 4
mov al, bl
jmp 0x4624c8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00494c10
mov esp, ebp
pop ebp
ret
Function at 0x462e00
Capabilities:
Check os version
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x510620]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, edx
push 0x3c
mov dword [ebp - 0x160], eax
mov esi, ecx
lea eax, [ebp - 0x15c]
push 0
push eax
call fcn.0049aba0
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp byte [ebp + 0x14], 0
mov dword [ebp - 0x144], edi
mov dword [ebp - 0x14c], esi
pop edi
movzx eax, ax
pop esi
mov dword [ebp - 0x148], ebx
mov dword [ebp - 0x15c], 0x3c
mov dword [ebp - 0x158], 0x40
mov dword [ebp - 0x140], eax
pop ebx
je 0x462ea2
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x462ea2
cmp dword [ebp - 0x11c], 5
mov dword [ebp - 0x150], str.runas
ja 0x462eac
mov dword [ebp - 0x150], 0x4eb5c8
lea eax, [ebp - 0x15c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x462f13
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x124]
test ecx, ecx
je 0x462edc
test eax, eax
je 0x462edc
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x160]
test ecx, ecx
je 0x462ef8
mov dword [ecx], eax
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00494c10
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x462f03
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00494c10
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
call fcn.00494c10
mov esp, ebp
pop ebp
ret

Function at 0x462f30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7efb
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x510620]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
lea ecx, [ebp - 0x42c]
call fcn.00455d60
push 4
push 0x4ea1a4
lea ecx, [ebp - 0x428]
mov dword [ebp - 4], 0
call fcn.00406030
push 0x12
push 0
push str.DESKTOPDIRECTORY
lea ecx, [ebp - 0x428]
call fcn.004061d0
test eax, eax
js 0x462fc4
push 0
push 0x10
lea eax, [ebp - 0x410]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push ecx
lea eax, [ebp - 0x410]
push eax
push str.DESKTOPDIRECTORY
lea ecx, [ebp - 0x42c]
call fcn.00456160
cmp dword [ebp - 0x414], 8
lea ecx, [ebp - 0x428]
cmovae ecx, dword [ebp - 0x428]
call fcn.00452030
test eax, eax
mov dword [ebp - method.UString.virtual_0], vtable.UString.0
setne bl
cmp dword [ebp - 0x414], 8
jb 0x463003
push dword [ebp - 0x428]
call fcn.00494c0b
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00494c10
mov esp, ebp
pop ebp
ret
Function at 0x463020
Capabilities:
Create shortcut via ishelllink
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7f46
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x510620]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x45c], ecx
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x458], eax
lea eax, [ebp - 0x450]
push eax
push 0x4dc738
push 1
push 0
push 0x4dc748
mov dword [ebp - 0x450], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x463223
mov edx, dword [ebp - 0x458]
lea ecx, [ebp - 0x44c]
push 0
call fcn.00461d00
add esp, 4
push dword [ebp - 0x45c]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x450]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x450]
lea edx, [ebp - 0x448]
cmp dword [ebp - 0x434], 8
cmovae edx, dword [ebp - 0x448]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x1c]
test edi, edi
je 0x4630fa
cmp word [edi], 0
je 0x4630fa
mov eax, dword [ebp - 0x450]
push 0
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
test ebx, ebx
je 0x46310b
mov eax, dword [ebp - 0x450]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x450]
lea edx, [ebp - 0x454]
push edx
mov dword [ebp - 0x454], 0
push 0x4dc758
mov ecx, dword [eax]
push eax
call dword [ecx]
mov esi, eax
test esi, esi
js 0x4631f6
push dword [ebp - 0x458]
lea ecx, [ebp - 0x430]
call fcn.00455d60
push 4
push 0x4ea1a4
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 1
call fcn.00406030
push 0x12
push 0
push str.DESKTOPDIRECTORY
lea ecx, [ebp - 0x42c]
call fcn.004061d0
test eax, eax
js 0x4631a0
push 0
push 0x10
lea eax, [ebp - 0x414]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push ecx
lea eax, [ebp - 0x414]
push eax
push str.DESKTOPDIRECTORY
lea ecx, [ebp - 0x430]
call fcn.00456160
mov eax, dword [ebp - 0x454]
lea edx, [ebp - 0x42c]
cmp dword [ebp - 0x418], 8
push 1
cmovae edx, dword [ebp - 0x42c]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp - 0x454]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [ebp - 4], 0
cmp dword [ebp - 0x418], 8
mov dword [ebp - method.UString.virtual_0], vtable.UString.0
jb 0x4631f6
push dword [ebp - 0x42c]
call fcn.00494c0b
add esp, 4
mov eax, dword [ebp - 0x450]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0x434], 8
mov dword [ebp - method.UString.virtual_0], vtable.UString.0
jb 0x463223
push dword [ebp - 0x448]
call fcn.00494c0b
add esp, 4
xor eax, eax
test esi, esi
setns al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00494c10
mov esp, ebp
pop ebp
ret
Function at 0x463870
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x510620]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x463a45
test edx, edx
je 0x463a45
push 0
push 0
push 2
push 0
push 1
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x38], eax
cmp eax, 0xffffffff
je 0x463a45
lea eax, [ebp - 0x34]
push eax
push esi
call dword [sym.imp.USER32.dll_GetIconInfo]
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x40]
mov edx, 1
push eax
call fcn.004637c0
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x3c]
mov edx, 0x20
push eax
call fcn.004637c0
push dword [ebp - 0x40]
call fcn.004962a5
mov ebx, dword [ebp - 0x3c]
add esp, 0x14
mov dword [ebp - 0x40], eax
push ebx
call fcn.004962a5
mov esi, dword [ebp - 0x4c]
add esp, 4
mov dword [ebp - 0x44], eax
push esi
call fcn.004962a5
mov edi, dword [ebp - 0x50]
add esp, 4
mov dword [ebp - 0x48], eax
push edi
call fcn.004962a5
mov ecx, dword [ebp - 0x28]
add esp, 4
mov edx, 1
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x48]
push dword [ebp - 0x40]
call fcn.00463820
push dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x24]
mov edx, 0x20
push dword [ebp - 0x44]
call fcn.00463820
mov ecx, dword [ebp - 0x44]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x10], 0
add esp, 0x10
mov word [ebp - 0xc], 0
mov dword [ebp - 0x1e], 0x10001
movzx eax, byte [ecx + 4]
mov byte [ebp - 0x1a], al
movzx eax, byte [ecx + 8]
mov byte [ebp - 0x19], al
mov ax, word [ecx + 0xe]
imul ax, word [ecx + 0xc]
push 0
mov dword [ebp - 0xe], 0x16
mov word [ebp - 0x18], ax
lea eax, [ebx + edi]
add eax, esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x12], eax
lea eax, [ebp - 8]
push eax
push 0x16
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x38]
call esi
mov ecx, dword [ebp - 0x44]
push 0
mov eax, dword [ecx + 8]
add eax, eax
mov dword [ecx + 8], eax
lea eax, [ebp - 8]
push eax
push ebx
push ecx
push dword [ebp - 0x38]
call esi
mov ebx, dword [ebp - 0x3c]
lea eax, [ebp - 8]
push 0
push eax
push edi
push ebx
push dword [ebp - 0x38]
call esi
xor edi, edi
lea eax, [ebp - 8]
push edi
push eax
push dword [ebp - 0x4c]
push dword [ebp - 0x48]
push dword [ebp - 0x38]
call esi
push dword [ebp - 0x44]
and edi, eax
call fcn.0049626d
add esp, 4
push dword [ebp - 0x40]
call fcn.0049626d
add esp, 4
push ebx
call fcn.0049626d
add esp, 4
push dword [ebp - 0x48]
call fcn.0049626d
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
add esp, 4
push dword [ebp - 0x24]
call esi
push dword [ebp - 0x28]
call esi
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
setne al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00494c10
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00494c10
mov esp, ebp
pop ebp
ret
Function at 0x463a60
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d800c
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x510620]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x30], ebx
mov esi, ecx
push 0x2800
mov dword [ebp - 0x34], 0
call fcn.004962a5
mov edi, eax
add esp, 4
test edi, edi
jne 0x463ac5
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], eax
mov word [esi + 4], ax
mov dword [esi], vtable.UString.0
jmp 0x463c08
push 0x1400
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ebx, eax
test ebx, ebx
jne 0x463afc
push edi
call fcn.0049626d
add esp, 4
mov dword [esi + 0x18], 7
xor eax, eax
mov dword [esi + 0x14], ebx
mov word [esi + 4], ax
mov dword [esi], vtable.UString.0
jmp 0x463c08
cmp ebx, 0x1400
jbe 0x463b74
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
push edi
call fcn.0049a61d
mov edi, eax
add esp, 8
test edi, edi
jne 0x463b3d
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], eax
mov word [esi + 4], ax
mov dword [esi], vtable.UString.0
jmp 0x463c08
push ebx
push edi
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x463b74
push edi
call fcn.0049626d
add esp, 4
mov dword [esi + 0x18], 7
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 4], ax
mov dword [esi], vtable.UString.0
jmp 0x463c08
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 0x2c], vtable.UString.0
push edi
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 4
call fcn.00455d60
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x28]
call fcn.00402990
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 4
call fcn.00416900
push edi
call fcn.0049626d
add esp, 4
mov dword [esi + 0x18], 7
lea ecx, [esi + 4]
xor eax, eax
mov dword [ecx + 0x10], 0
mov word [ecx], ax
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00402990
cmp dword [ebp - 0x14], 8
mov dword [esi], vtable.UString.0
mov dword [ebp - 0x2c], vtable.UString.0
jb 0x463c08
push dword [ebp - 0x28]
call fcn.00494c0b
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00494c10
mov esp, ebp
pop ebp
ret