joyce8/EMBER2024-capa huggingface dataset:
Function at 0x58ded0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x716738]
sub esp, 0x410
push 0x80
lea eax, [ebp - 0x208]
push eax
push 0x2c8
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x58df03
xor al, al
mov esp, ebp
pop ebp
ret 4
push 1
push 5
lea edx, [ebp - 0x410]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x410]
push ecx
push str._s_s
push edx
call fcn.00405ab0
add esp, 0x10
mov al, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x58df40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x716738]
sub esp, 0x410
push 0x80
lea eax, [ebp - 0x208]
push eax
push 0x2c9
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x58df73
xor al, al
mov esp, ebp
pop ebp
ret 4
push 1
push 5
lea edx, [ebp - 0x410]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x410]
push ecx
push str._s_s
push edx
call fcn.00405ab0
add esp, 0x10
mov al, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x58dfb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x716738]
sub esp, 0x410
push 0x80
lea eax, [ebp - 0x208]
push eax
push 0x80
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x58dfe3
xor al, al
mov esp, ebp
pop ebp
ret 4
push 1
push 0x1a
lea edx, [ebp - 0x410]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x410]
push ecx
push str._s_s
push edx
call fcn.00405ab0
add esp, 0x10
mov al, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x58e250
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x663f38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x634
push esi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [ebp - 0x22e]
push ecx
mov word [ebp - 0x230], ax
call fcn.006100a0
lea edx, [ebp - 0x230]
push 0x104
push edx
call fcn.005bd730
add esp, 0x14
call fcn.005bc840
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.005bcfe0
mov dword [ebp - 4], 0
xor edx, edx
push 0x40e
push edx
lea eax, [ebp - 0x63e]
push eax
mov word [ebp - 0x640], dx
call fcn.006100a0
mov eax, dword [ebp - 0x28]
add esp, 0xc
cmp dword [ebp - 0x14], 8
jae 0x58e2e1
lea eax, [ebp - 0x28]
push 0x67d35c
push eax
lea ecx, [ebp - 0x230]
push ecx
lea edx, [ebp - 0x640]
push 0x67ddc8
push edx
call fcn.004035d0
mov ecx, dword [esi + 4]
add esp, 0x14
push 1
push 0
push 0
lea eax, [ebp - 0x640]
push eax
push 0x67d320
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 8
pop esi
jb 0x58e338
mov edx, dword [ebp - 0x28]
push edx
call fcn.0060faf6
add esp, 4
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x58e760
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x652e58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
mov eax, dword [ebp + 0x10]
shr eax, 0x10
mov dword [ebp - 0x10], ecx
test eax, eax
je 0x58e7a9
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov dword [ebp + 0x14], ebx
xor edi, edi
mov dword [ebp - 4], edi
push ebx
call dword [sym.imp.USER32.dll_GetMenuItemCount]
test eax, eax
jle 0x58e8f9
push esi
push 0x30
lea edx, [ebp - 0x40]
push 0
push edx
call fcn.006100a0
push pe_nt_image_headers32
lea eax, [ebp - 0x150]
push 0
push eax
mov dword [ebp - 0x40], 0x30
call fcn.006100a0
add esp, 0x18
lea ecx, [ebp - 0x154]
push ecx
mov dword [ebp - 0x154], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x58e824
mov eax, dword [ebp - 0x150]
cmp eax, 5
jae 0x58e82b
cmp eax, 4
jne 0x58e824
cmp dword [ebp - 0x14c], 0x5a
jae 0x58e82b
mov dword [ebp - 0x40], 0x2c
lea eax, [ebp - 0x40]
push eax
push 1
push edi
lea edx, [ebp - 0x21c]
push ebx
mov dword [ebp - 0x18], 0x64
mov dword [ebp - 0x3c], 0x3f
mov dword [ebp - 0x1c], edx
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
test dword [ebp - 0x38], 0x100
jne 0x58e8e8
push 0x10
call fcn.00611c8b
mov esi, eax
add esp, 4
test esi, esi
je 0x58e8e8
mov eax, dword [ebp - 0x38]
or eax, 0x100
mov dword [ebp - 0x38], eax
mov dword [esi + 4], eax
mov ecx, dword [ebp - 0x34]
mov dword [esi + 8], ecx
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x58e890
add ecx, 0xfffffdb4
jmp 0x58e892
xor ecx, ecx
push esi
lea edx, [ebp - 0x40]
push edx
call fcn.00500660
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005fb5ce
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x58e8d7
lea ecx, [ebp - 0x21c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [ebp - 0x40]
push edx
push 1
push edi
push ebx
mov dword [ebp - 0x20], esi
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
push ebx
inc edi
call dword [sym.imp.USER32.dll_GetMenuItemCount]
cmp edi, eax
jl 0x58e7c6
pop esi
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x10]
push eax
add ecx, 0x20
mov dword [ebp + 0x10], ebx
call fcn.00594900
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x58f160
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x640e98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x700724]
mov edx, dword [eax + 0xc]
push esi
push edi
mov edi, ecx
mov ecx, 0x700724
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 1
push 0
push 0x115
call fcn.00403bf0
add esp, 8
test eax, eax
je 0x58f1bd
push 0x115
push eax
lea ecx, [ebp - 0x10]
call fcn.00405a10
mov esi, dword [ebp - 0x10]
mov eax, dword [edi + 4]
push 0x134
push 0x67d32c
add edi, 4
push esi
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x58f1f7
push 0
push 0
push edi
push 0x58e360
push 0
push 0
call fcn.00615455
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop edi
pop esi
test edx, edx
jg 0x58f21c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x590d40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64a398
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x61c
push esi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [ebp - 0x216]
push ecx
mov word [ebp - 0x218], ax
call fcn.006100a0
lea edx, [ebp - 0x218]
push 0x104
push edx
call fcn.005bd730
xor eax, eax
push 0x40e
push eax
lea ecx, [ebp - 0x626]
push ecx
mov word [ebp - 0x628], ax
call fcn.006100a0
push 0x67d38c
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x628]
push str._s_s
push eax
call fcn.004035d0
add esp, 0x14
mov ecx, esp
xor edx, edx
mov dword [ebp - 0x10], esp
push edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x66eba8
mov word [ecx], dx
call fcn.00407940
mov dword [ebp - 4], 0
push 1
lea ecx, [esi + 0x938]
mov dword [ebp - 4], 0xffffffff
call fcn.005aae70
push 1
push 0
push 0
lea eax, [ebp - 0x628]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x594570
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a8
push edi
push 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
push str.RICHED32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0x67d340
mov edi, eax
call fcn.005be5a0
push str.STAFFCOP_088FA840_B10D_11D3_BC36_006067709674
call fcn.005b0c30
add esp, 8
test al, al
je 0x5945c8
mov eax, dword [section..shr]
push eax
call fcn.005b0ca0
add esp, 4
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 0x10
push esi
call fcn.005b99b0
mov eax, dword [0x715b08]
xor esi, esi
cmp eax, 0xd15d
je 0x5945e8
mov dword [0x71476c], esi
mov dword [0x7143f8], esi
push str.STAFFCOP_088FA840_B10D_11D3_BC36_006067709674
call fcn.005b0c10
add esp, 4
lea ecx, [ebp - 0x1a8]
push ecx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x594615
pop esi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 0x10
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea edx, [ebp - 8]
push edx
mov dword [ebp - 8], 8
mov dword [ebp - 4], 0x534
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
push ecx
push esi
mov ecx, 0x7143fc
call fcn.0057b580
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push edx
push eax
call fcn.00593c30
add esp, 8
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, 0x7143fc
call fcn.0057e030
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
pop esi
pop edi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x594690
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
test edi, edi
js 0x594722
cmp edi, dword [esi + 0x30]
jge 0x594722
cmp edi, dword [esi + 0x38]
je 0x594722
mov eax, dword [esi + 0x3c]
push ebx
push eax
call dword [sym.imp.USER32.dll_IsWindow]
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
test eax, eax
je 0x5946d5
mov ecx, dword [esi + 0x3c]
push 0
push ecx
call ebx
mov edx, dword [esi + 0x3c]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp edi, dword [esi + 0x30]
jge 0x594728
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + edi*4]
push 1
push eax
mov dword [esi + 0x3c], eax
call ebx
mov ecx, dword [esi + 0x3c]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 0x3c]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x3c]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esi + 4]
push 0
push edi
push 0x130c
push ecx
mov dword [esi + 0x38], edi
call dword [sym.imp.USER32.dll_SendMessageW]
pop ebx
pop edi
pop esi
pop ebp
ret 4
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
Function at 0x594e10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
push esi
push edi
push 0x80
lea eax, [ebp - 0x130]
push eax
mov esi, ecx
mov ecx, dword [0x716738]
push 0xefe1
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
mov edi, dword [esi + 0x27c]
push 0
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
lea edx, [ebp - 4]
push edx
lea ecx, [esi + 0x2c]
call fcn.00594900
mov edx, dword [esi + 4]
xor eax, eax
lea ecx, [ebp - 0x20]
push ecx
push 0x8000
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
push 0x133e
lea eax, [ebp - 0x130]
push edx
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x14], eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x30]
push eax
mov ecx, esi
call fcn.00594740
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
push 1
sub ecx, eax
push ecx
mov ecx, dword [ebp - 0x30]
sub edx, ecx
push edx
push eax
push ecx
push edi
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [esi + 0x30]
dec eax
push eax
mov ecx, esi
call fcn.00594690
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x594ee0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66482a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, ecx
xor ecx, ecx
lea edx, [eax + 8]
mov dword [eax + 4], ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edx
mov dword [edx + 0xc], ecx
mov dword [ebp - 4], 1
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [ebp - 4], 2
mov edx, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [eax + 0x20], edx
mov dword [ebp - 4], 4
mov dword [eax], vtable.CWTLTabViewCtrl.0
mov dword [eax + 0x24], 3
mov edx, 5
mov dword [eax + 0x28], edx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
mov byte [ebp - 4], dl
or edx, 0xffffffff
mov dword [eax + 0x38], edx
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x40], ecx
mov byte [ebp - 4], 6
mov dword [eax + 0x44], ecx
mov byte [ebp - 4], 7
mov dword [eax + 0x48], ecx
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x595220
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
push esi
push edi
push eax
mov esi, ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esi + 0x20]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_CallWindowProcW]
mov edx, dword [ebp + 0x14]
push 0
push ecx
mov edi, eax
mov eax, esp
push 0
push 0x50000000
push 0
mov dword [edx], 0
push ecx
mov dword [eax], 0
mov eax, esp
mov dword [eax], 0
mov eax, dword [esi + 4]
push eax
lea ecx, [esi + 0x278]
call fcn.005950f0
mov ecx, dword [esi + 0x27c]
push 0
push ecx
mov dword [esi + 0x2d4], esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, edi
pop edi
pop esi
pop ebp
ret 0x10
Function at 0x5957c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push esi
mov esi, ecx
mov eax, dword [esi + 0x4c]
sub eax, 3
je 0x595842
dec eax
jne 0x5958d6
mov ecx, dword [esi + 0x48]
call fcn.004dce90
cmp dword [esi + 0x40], 1
push 0x80
jne 0x595803
mov ecx, dword [0x716738]
lea eax, [ebp - 0x100]
push eax
push 0x2cec
push ecx
jmp 0x595815
mov eax, dword [0x716738]
lea edx, [ebp - 0x100]
push edx
push 0x2ced
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
mov ecx, dword [esi + 4]
push 1
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
lea edx, [ebp - 0x100]
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
add dword [esi + 0x4c], 0xfffffffe
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esi + 0x48]
test eax, eax
je 0x595866
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x595866
mov ecx, dword [esi + 0x48]
mov edx, dword [ecx + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x716738]
push ebx
push edi
push 0x80
lea eax, [ebp - 0x100]
push eax
push 0x2af8
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push edx
call edi
lea ecx, [ebp - 0x100]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [esi + 4]
push 1
push edx
call edi
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push 1
push eax
call ebx
mov eax, dword [esi + 0x24]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 0x456
push ecx
call edi
push 0
push eax
call ebx
dec dword [esi + 0x4c]
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x595ce0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x64e116
push eax
mov dword fs:[0], esp
sub esp, 0x104
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 4]
push 0x456
push eax
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
lea edi, [esi + 0x40]
test edi, edi
je 0x595d29
lea eax, [edi - 0x20]
jmp 0x595d2b
xor eax, eax
mov ecx, dword [eax + 4]
push 0x334
push ecx
call ebx
push 0
push 0
push 0xf0
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi], eax
mov edx, dword [esi + 0x24]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x48], 0
jne 0x595d94
push 0x37f0
call fcn.00611c8b
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x595d88
mov ecx, dword [esi + 0x50]
add ecx, 0x620
push ecx
mov ecx, eax
call fcn.004e4c10
jmp 0x595d8a
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x48]
mov edx, dword [eax + 4]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
push edx
call edi
mov ebx, 1
test eax, eax
je 0x595dfe
mov eax, dword [esi + 0x48]
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x595dc8
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
push 0x37f0
call fcn.00611c8b
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
test eax, eax
je 0x595df2
mov ecx, dword [esi + 0x50]
add ecx, 0x620
push ecx
mov ecx, eax
call fcn.004e4c10
jmp 0x595df4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x48]
mov edx, dword [eax + 4]
push edx
call edi
test eax, eax
jne 0x595e33
mov eax, dword [esi + 0x48]
mov dword [eax + 0x258], 0x435
mov ecx, dword [esi + 0x48]
mov dword [ecx + 0x37d8], 2
mov edx, dword [esi + 4]
mov ecx, dword [esi + 0x48]
push 0
push edx
call fcn.004eaff0
mov ecx, dword [esi + 0x48]
call fcn.004dce90
mov eax, dword [esi + 0x48]
mov ecx, dword [eax + 4]
push ebx
push 0
push 0
push 5
push 5
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [esi + 0x48]
mov eax, dword [edx + 4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
add dword [esi + 0x4c], ebx
push 0x80
cmp dword [esi + 0x40], ebx
jne 0x595e84
mov edx, dword [0x716738]
lea ecx, [ebp - 0x110]
push ecx
push 0x2cec
push edx
jmp 0x595e97
mov ecx, dword [0x716738]
lea eax, [ebp - 0x110]
push eax
push 0x2ced
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
mov edx, dword [esi + 4]
push ebx
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp - 0x110]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x595f80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 4]
push 0x456
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x34], 0
mov ecx, dword [esi + 4]
lea ebx, [esi + 0x20]
mov dword [ebp - 4], ecx
jne 0x595fc6
call fcn.0060ed18
mov dword [ebx + 0x14], eax
test eax, eax
jne 0x595fc6
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x595ff1
push ebx
add ebx, 8
push ebx
push 0x716768
call fcn.00426c90
mov edx, dword [ebp - 4]
mov eax, dword [0x716738]
push 0
push 0x427de0
push edx
push 0x434
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamW]
push 0
lea ecx, [esi + 0x24]
call fcn.00402160
mov ecx, dword [esi + 0x24]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
inc dword [esi + 0x4c]
push 0
lea ecx, [esi + 4]
call fcn.00402160
mov ecx, esi
call fcn.00595ce0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x596150
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x716738]
sub esp, 0x100
push 0x80
lea eax, [ebp - 0x100]
push eax
push 0x258
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
push 1
push 0
push 0
lea edx, [ebp - 0x100]
push edx
push 0x67e834
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x597310
Capabilities:
Terminate thread

Disassembly:
mov dword [ecx], vtable.CUPDialog.0
jmp fcn.00597210
Function at 0x598a90
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x664e6c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CUSBShadowView.1.0
mov dword [esi + 0x50], vtable.CUSBShadowView.0
mov dword [ebp - 4], 7
mov eax, dword [esi + 0x34c]
xor edi, edi
test eax, eax
je 0x598af8
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp edi, eax
jae 0x598c2f
mov eax, dword [esi + 0x348]
lea eax, [eax + edi*4]
mov eax, dword [eax]
push eax
call ebx
inc edi
cmp edi, dword [esi + 0x34c]
jb 0x598ae1
mov cl, 6
mov byte [ebp - 4], cl
lea eax, [esi + 0x358]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], cl
mov eax, dword [eax]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x598b27
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
lea ecx, [esi + 0x348]
call fcn.00507e10
mov byte [ebp - 4], 4
lea ecx, [esi + 0x2fc]
call fcn.00526d30
mov byte [ebp - 4], 3
mov eax, dword [esi + 0x2d4]
test eax, eax
je 0x598b68
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x598b68
mov dword [esi + 0x2d4], 0
mov byte [ebp - 4], 2
lea eax, [esi + 0x29c]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
add eax, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
mov eax, dword [eax]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x598ba1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
lea ecx, [esi + 0x26c]
call fcn.004ebda0
mov byte [ebp - 4], 0
lea ecx, [esi + 0x50]
call fcn.005b1090
mov ebx, 0xb
mov dword [ebp - 4], ebx
lea edi, [esi + 0x24]
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 0xd
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x598be5
push eax
call fcn.0061056f
add esp, 4
mov dword [edi + 0x1c], 0
xor eax, eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
mov byte [ebp - 4], bl
push fcn.004496b0
push 2
push 4
add edi, 8
push edi
call fcn.006124e1
or ecx, 0xffffffff
mov dword [ebp - 4], ecx
lea eax, [esi + 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ecx
mov eax, dword [eax + 0xc]
pop edi
pop esi
pop ebx
test eax, eax
je 0x598c21
push eax
call fcn.0060ec68
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004011d0
int3