joyce8/EMBER2024-capa huggingface dataset:
Function at 0x57ff51
Capabilities:
Encode data using base64

Disassembly:
push ecx
push ebx
push ebp
push edi
mov edi, dword [esp + 0x18]
xor edx, edx
push 3
pop ebp
mov ebx, dword [esp + 0x20]
lea eax, [edi + 2]
div ebp
lea eax, [eax*4 + 1]
cmp dword [ebx], eax
jae 0x57ff7c
push 6
mov dword [ebx], eax
pop eax
jmp 0x58006e
xor edx, edx
mov eax, edi
div ebp
push esi
mov esi, dword [esp + 0x20]
imul ecx, eax, 3
xor eax, eax
test ecx, ecx
je 0x580007
xor edx, edx
lea eax, [ecx - 1]
div ebp
mov edx, dword [esp + 0x18]
mov ebp, dword [0x7a6bf0]
inc eax
imul ecx, eax, 3
mov ebx, eax
mov dword [esp + 0x10], ecx
movzx ecx, byte [edx]
shr ecx, 2
mov al, byte [ecx + ebp]
mov byte [esi], al
movzx ecx, byte [edx + 1]
movzx eax, byte [edx]
shl eax, 4
shr ecx, 4
add ecx, eax
and ecx, 0x3f
mov al, byte [ecx + ebp]
mov byte [esi + 1], al
movzx ecx, byte [edx + 2]
movzx eax, byte [edx + 1]
shr ecx, 6
lea eax, [ecx + eax*4]
and eax, 0x3f
mov al, byte [eax + ebp]
mov byte [esi + 2], al
movzx eax, byte [edx + 2]
add edx, 3
and eax, 0x3f
mov al, byte [eax + ebp]
mov byte [esi + 3], al
add esi, 4
sub ebx, 1
jne 0x57ffab
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
jmp 0x58000b
mov edx, dword [esp + 0x18]
cmp eax, edi
jae 0x580062
movzx ebp, byte [edx]
inc eax
mov dword [esp + 0x24], eax
cmp eax, edi
jae 0x580021
movzx ecx, byte [edx + 1]
jmp 0x580023
xor ecx, ecx
mov edx, dword [0x7a6bf0]
mov eax, ebp
shr eax, 2
shl ebp, 4
mov al, byte [eax + edx]
mov byte [esi], al
mov eax, ecx
shr eax, 4
add eax, ebp
and eax, 0x3f
mov al, byte [eax + edx]
mov byte [esi + 1], al
cmp dword [esp + 0x24], edi
jae 0x580055
and ecx, 0xf
movsx eax, byte [edx + ecx*4]
jmp 0x580058
push 0x3d
pop eax
mov byte [esi + 2], al
mov byte [esi + 3], 0x3d
add esi, 4
mov byte [esi], 0
sub esi, dword [esp + 0x20]
xor eax, eax
mov dword [ebx], esi
pop esi
pop edi
pop ebp
pop ebx
pop ecx
ret 0x10
Function at 0x587557
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ecx
push esi
push 0
lea eax, [esp + 8]
mov esi, ecx
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x58762a
call fcn.005b6108
test al, al
jne 0x58762a
call fcn.005ec1cd
cmp eax, 1
je 0x58762a
cmp byte [0x7f8849], 0
je 0x5875b2
cmp byte [0x7f8859], 0
je 0x5875b2
cmp byte [esi + 0x5c], 0
je 0x5875b2
mov ecx, dword [0x7f9ccc]
call fcn.005c7a30
test al, al
je 0x58762a
cmp byte [0x7f87e4], 0
push edi
je 0x5875ee
call fcn.0045edef
mov edi, dword [esi + 0x44]
mov ecx, dword [esi + 0x48]
add edi, 0x1e
adc ecx, 0
cmp ecx, edx
ja 0x5875ee
jb 0x5875d7
cmp edi, eax
ja 0x5875ee
cmp byte [esi + 0x58], 0
je 0x5875ee
inc dword [0x7f8868]
call fcn.0045edef
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], edx
cmp byte [0x7f87e5], 0
je 0x587629
call fcn.0045edef
mov edi, dword [esi + 0x4c]
mov ecx, dword [esi + 0x50]
add edi, 0x1e
adc ecx, 0
cmp ecx, edx
ja 0x587629
jb 0x587612
cmp edi, eax
ja 0x587629
cmp byte [esi + 0x58], 0
je 0x587629
inc dword [0x7f8864]
call fcn.0045edef
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], edx
pop edi
pop esi
pop ecx
ret
Function at 0x58995e
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x588812
call dword [sym.imp.USER32.dll_EnumWindows]
xor eax, eax
cmp dword [ebp - 4], 2
setle al
mov esp, ebp
pop ebp
ret

Function at 0x589982
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
push edi
xor edi, edi
push edi
push dword [ebp + 8]
call fcn.0068417a
pop ecx
pop ecx
test eax, eax
je 0x5899a4
xor al, al
jmp 0x589a63
cmp dword [ebp + 0xc], edi
je 0x589a47
push esi
push 0x230
lea eax, [ebp - 0x230]
push edi
push eax
call fcn.0066c620
add esp, 0xc
lea eax, [ebp - 0x230]
mov esi, str.hh.exe
push 0x118
push eax
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryW]
lea ecx, [ebp - 0x230]
lea ecx, [ecx + eax*2]
sub ecx, esi
movzx eax, word [esi]
mov word [ecx + esi], ax
lea esi, [esi + 2]
test ax, ax
jne 0x5899e5
push dword [ebp + 0xc]
lea eax, [ebp - 0x668]
push dword [ebp + 8]
push str.ms_its:_s::_s
push 0x438
push eax
call fcn.00461447
lea eax, [ebp - 0x668]
push eax
lea eax, [ebp - 0x230]
push eax
push str.Opening_help_file:__S__S
call fcn.0040e854
add esp, 0x20
lea eax, [ebp - 0x668]
push 1
push edi
push eax
lea eax, [ebp - 0x230]
push eax
push edi
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
jmp 0x589a56
push 1
push edi
push edi
push dword [ebp + 8]
push edi
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
cmp eax, 0x20
setle cl
xor ecx, 1
mov al, cl
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x58a826
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
lea eax, [ebp - 0x10]
push esi
mov esi, ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
cmp byte [0x7c1d60], 0
push 0x1bc
push dword [esi + 4]
je 0x58a863
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0x14]
jmp 0x58a877
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x10]
lea edx, [esi + 0x98]
and dword [esi + 0x9c], 0
mov dword [edx], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0xa0], eax
mov eax, dword [ebp - 4]
sub eax, ecx
mov dword [esi + 0xa4], eax
mov eax, dword [esi + 0x70]
pop esi
test eax, eax
je 0x58a8ae
push edx
push dword [eax + 4]
call fcn.00597cdb
mov esp, ebp
pop ebp
ret
Function at 0x5964d8
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x6af091
call fcn.00651da4
push ecx
push ebx
push esi
push edi
push dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 8]
lea edi, [eax + 1]
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], ebx
jb 0x59650e
mov eax, dword [esi]
jmp 0x596510
mov eax, esi
xor ecx, ecx
mov word [eax], cx
push ebx
push edi
mov ecx, esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], 1
call fcn.0043ab3d
cmp dword [esi + 0x14], 8
jb 0x596532
mov eax, dword [esi]
jmp 0x596534
mov eax, esi
push edi
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [esi + 0x14], 8
jb 0x596549
mov ecx, dword [esi]
jmp 0x59654b
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x59654e
sub ecx, edx
sar ecx, 1
push ebx
push ecx
mov ecx, esi
call fcn.0043ab3d
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x5965fc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx eax, word [esp + 8]
push edi
push 5
push eax
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov edi, eax
test edi, edi
je 0x596680
push esi
push edi
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov esi, eax
test esi, esi
je 0x59667f
push ebx
push ebp
push esi
call dword [sym.imp.KERNEL32.DLL_LockResource]
push edi
push dword [esp + 0x18]
mov ebp, eax
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov ecx, dword [esp + 0x1c]
mov ebx, eax
add ecx, ebx
push ecx
push 0x40
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov edi, eax
test edi, edi
jne 0x59665f
push esi
call dword [sym.imp.KERNEL32.DLL_FreeResource]
xor eax, eax
jmp 0x59667d
push ebx
push ebp
push edi
call fcn.0066a680
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x59667b
mov dword [eax], ebx
mov eax, edi
pop ebp
pop ebx
pop esi
pop edi
ret 0x10
Function at 0x598045
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 0x20
lea eax, [esp + 4]
push ebp
push edi
xor ebp, ebp
mov edi, ecx
push ebp
push ebp
push ebp
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x59816d
push esi
cmp eax, 0xffffffff
je 0x598156
mov edx, dword [esp + 0x14]
cmp edx, 0x8012
je 0x59816c
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x59810a
lea eax, [edx - 0x100]
cmp eax, 9
ja 0x59810a
cmp byte [edi + 8], 0
jne 0x598156
cmp edx, 0x100
jne 0x5980be
push dword [esp + 0x10]
mov eax, dword [ecx]
push dword [esp + 0x1c]
push 0xfffffffffffffffd
pop edx
call dword [eax + 0x30]
test eax, eax
jne 0x598156
lea eax, [esp + 0xc]
mov dword [esp + 0xc], ebp
push eax
push 0x597a03
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [esp + 0xc], ebp
jne 0x598106
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 4]
cmp eax, dword [edi + 0x10]
jne 0x5980f6
mov edx, dword [esp + 0x14]
cmp edx, 0x100
jne 0x59810a
cmp dword [esp + 0x18], 9
jne 0x598140
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x598156
mov edx, dword [esp + 0x14]
cmp edx, 0x20a
jne 0x598140
push dword [esp + 0x28]
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov esi, eax
test esi, esi
je 0x598140
cmp esi, dword [esp + 0x10]
je 0x598140
push ebp
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x7f7c48]
jne 0x598140
mov dword [esp + 0x10], esi
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push ebp
push ebp
push ebp
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x598065
pop esi
mov eax, dword [esp + 0x14]
pop edi
pop ebp
add esp, 0x20
ret
Function at 0x598b15
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x6be990
call fcn.00651da4
sub esp, 0x34
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
push edi
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], ebx
jb 0x598b40
mov eax, dword [esi]
jmp 0x598b42
mov eax, esi
xor ecx, ecx
mov word [eax], cx
push 0x6faf64
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ebx
push eax
mov word [esi + 0x18], bx
call fcn.0047014f
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 1
jae 0x598b6c
lea eax, [ebp - 0x28]
push 0x721924
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0046b0cf
push eax
mov ecx, esi
call fcn.004281d1
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.004284eb
push esi
lea eax, [ebp - 0x40]
push eax
call fcn.0043b829
cmp dword [eax + 0x14], 0x10
jb 0x598ba0
mov eax, dword [eax]
push 0x72192c
push eax
call fcn.00679406
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x40]
mov edi, eax
call fcn.0040facf
test edi, edi
je 0x598be3
push edi
push dword [ebp + 0xc]
mov byte [esi + 0x18], 1
push 1
push dword [ebp + 8]
call fcn.00679980
add esp, 0x10
cmp dword [ebp + 0xc], eax
jne 0x598bdc
mov byte [esi + 0x19], 1
push edi
call fcn.00678e58
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.004284eb
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x59a2b7
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x6c2c93
call fcn.00651da4
sub esp, 0x50
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], ebx
jb 0x59a2d9
mov eax, dword [edi]
jmp 0x59a2db
mov eax, edi
mov byte [eax], bl
mov dword [ebp - 0x10], 0xf
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0x24], bl
mov eax, dword [ebp + 0x10]
mov esi, 0x7c2348
mov dword [ebp - 4], ebx
mov byte [ebp + 0xf], bl
mov byte [eax], bl
cmp dword [0x7c235c], 0x10
mov eax, dword [0x7c2348]
jae 0x59a30a
mov eax, esi
push str.http
push eax
call fcn.0047a824
test al, al
je 0x59a31d
mov byte [ebp + 0xf], 1
push esi
lea eax, [ebp - 0x3c]
push eax
call fcn.0043b86a
cmp dword [eax + 0x14], 8
jb 0x59a32f
mov eax, dword [eax]
push dword [0x721840]
push eax
call fcn.005f3608
push ebx
push 1
lea ecx, [ebp - 0x3c]
mov esi, eax
call fcn.004284eb
test esi, esi
je 0x59a35e
push 0xffffffffffffffff
push ebx
push 0x7c2348
lea ecx, [ebp - 0x24]
call fcn.0040f9be
jmp 0x59a3c5
mov ecx, dword [ebp + 8]
lea eax, [ecx + 0x4c]
cmp dword [eax + 0x10], ebx
jne 0x59a36c
lea eax, [ecx + 0x34]
cmp dword [eax + 0x14], 8
jb 0x59a374
mov eax, dword [eax]
push eax
call fcn.0045c7fa
mov esi, eax
test esi, esi
je 0x59a428
push ebx
lea eax, [ebp + 8]
push eax
push ebx
lea ecx, [esi - 2]
push ecx
call fcn.0042cd3f
test al, al
je 0x59a421
push dword [ebp + 8]
lea eax, [ebp - 0x3c]
push eax
call fcn.0047abab
push eax
lea ecx, [ebp - 0x24]
call fcn.0040f0f2
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.0040facf
push 1
push dword [ebp + 8]
call fcn.0045c46f
cmp dword [ebp - 0x10], 0x10
mov eax, dword [ebp - 0x24]
jae 0x59a3d1
lea eax, [ebp - 0x24]
mov esi, dword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsA]
push ebx
push ebx
push eax
call esi
push 0
mov ecx, edi
lea ebx, [eax + 1]
push ebx
call fcn.0043ab13
cmp dword [edi + 0x14], 0x10
jb 0x59a3f1
mov edi, dword [edi]
cmp dword [ebp - 0x10], 0x10
mov eax, dword [ebp - 0x24]
jae 0x59a3fd
lea eax, [ebp - 0x24]
push ebx
push edi
push eax
call esi
cmp dword [0x7c2358], 0
je 0x59a415
cmp byte [ebp + 0xf], 0
je 0x59a415
xor eax, eax
jmp 0x59a418
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x10]
mov bl, 1
mov byte [ecx], al
jmp 0x59a484
mov eax, 0x6d1c94
jmp 0x59a42d
mov eax, 0x6d2128
test esi, esi
jne 0x59a436
mov esi, 0x6d2128
push eax
push esi
push 0x39e
call fcn.00595698
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00462014
add esp, 0x10
cmp dword [ebp - 0x28], 8
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 1
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x58], 0x30
jae 0x59a46d
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00596761
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.004284eb
push 0
push 1
lea ecx, [ebp - 0x24]
call fcn.0040facf
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x59a4bd
Capabilities:
Get common file path

Disassembly:
mov eax, 0x6bead7
call fcn.00651da4
sub esp, 0x4a4
push ebx
xor ecx, ecx
lea eax, [ebp - 0x260]
push esi
push ecx
push 0x25
push eax
push ecx
mov dword [ebp - 4], ecx
mov bl, cl
mov dword [ebp - 0x10], ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor esi, esi
inc esi
test eax, eax
je 0x59a58c
push str.macromed_flash
lea ecx, [ebp - 0x58]
call fcn.00428153
lea eax, [ebp - 0x58]
mov dword [ebp - 4], esi
push eax
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00428e49
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
call fcn.0045d42e
mov bl, al
test bl, bl
je 0x59a576
push str._flash.ocx
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00428086
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x59a54a
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x4b0]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
cmp eax, 0xffffffff
setne bh
test bh, bh
je 0x59a569
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
push 0
push esi
lea ecx, [ebp - 0x28]
and bl, bh
call fcn.004284eb
push 0
push esi
lea ecx, [ebp - 0x40]
call fcn.004284eb
push 0
push esi
lea ecx, [ebp - 0x58]
call fcn.004284eb
mov esi, dword [ebp + 8]
and dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
and dword [esi + 0x10], 0
cmp dword [esi + 0x14], 8
jb 0x59a5a8
mov eax, dword [esi]
jmp 0x59a5aa
mov eax, esi
xor ecx, ecx
mov word [eax], cx
and dword [ebp - 4], ecx
mov dword [ebp - 0x10], 1
test bl, bl
je 0x59a5d2
push esi
push str.CurrentVersion
push str.SOFTWAREMacromediaFlashPlayer
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0048316e
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x59afbf
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2000
call section..text
push esi
mov esi, dword [ebp + 0xc]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x59afd3
sub esi, ecx
mov eax, 0x7d0
sar esi, 1
cmp esi, eax
jl 0x59afed
mov esi, eax
lea eax, [esi + 1]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x2000]
push eax
call fcn.0042960d
lea edx, [ebp - 0x2000]
mov ecx, 0x7219e4
lea edx, [edx + esi*2]
sub edx, ecx
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x59b010
push 0x82d
lea eax, [ebp - 0x1ffa]
lea eax, [eax + esi*2]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x2000]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x59b15c
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0x10
jb 0x59b16b
mov eax, dword [esi]
jmp 0x59b16d
mov eax, esi
push 0x6dbd04
push eax
call fcn.0047a824
test al, al
jne 0x59b197
cmp dword [esi + 0x14], 0x10
jb 0x59b186
mov eax, dword [esi]
jmp 0x59b188
mov eax, esi
push 0x6dde8c
push eax
call fcn.0047a824
test al, al
je 0x59b1b1
cmp dword [esi + 0x14], 0x10
jb 0x59b19f
mov esi, dword [esi]
push 1
xor eax, eax
push eax
push eax
push esi
push eax
push dword [esp + 0x20]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop esi
ret 8
Function at 0x59c94a
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x6c4495
call fcn.00651da4
sub esp, 0x24
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov ebx, eax
lea ecx, [ebp - 0x30]
push 0x7f8738
mov dword [ebp - 0x18], ebx
call fcn.0042812e
mov esi, dword [ebp - 0x30]
xor eax, eax
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 4], eax
jae 0x59c983
lea esi, [ebp - 0x30]
mov byte [ebp - 0xd], 1
mov edi, eax
push esi
mov dword [ebp - 0x14], esi
call fcn.0047a7f5
push 0x7c
push dword [ebp - 0x14]
mov esi, eax
call fcn.0047931c
mov edx, eax
xor ecx, ecx
mov eax, dword [ebp - 0x14]
cmp word [eax], cx
je 0x59c9cd
inc edi
test edx, edx
je 0x59c9ba
push edx
call fcn.0059a682
mov ecx, eax
mov eax, dword [ebp - 0x14]
push ecx
push eax
push edi
push 0
push ebx
call fcn.00598cdb
mov byte [ebp - 0xd], 1
xor ecx, ecx
jmp 0x59c9e6
cmp byte [ebp - 0xd], cl
je 0x59c9e3
push ecx
push ecx
push edi
push 0x800
push ebx
call fcn.00598cdb
inc edi
xor ecx, ecx
mov byte [ebp - 0xd], cl
test esi, esi
jne 0x59c989
push ecx
push 0x36e
inc edi
call fcn.00595698
push eax
push edi
push esi
push ebx
call fcn.00598cdb
push 0
push 0
push 0x800
push ebx
mov esi, edi
call dword [sym.imp.USER32.dll_AppendMenuW]
push 0x8000
push 0x10
push 0x10
push 1
push 0x15a
push dword [0x7f7c68]
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push 0x36a
add edi, 2
call fcn.00595698
push eax
push edi
push 0
push ebx
call fcn.00598cdb
mov eax, dword [0x7f8784]
push 0x80
inc eax
push eax
push ebx
push dword [0x7f7c78]
call dword [sym.imp.USER32.dll_HiliteMenuItem]
mov eax, dword [ebp + 8]
push 0
push dword [0x7f7c78]
push 0
push dword [eax + 4]
push dword [eax]
xor eax, eax
cmp byte [ebp + 0xc], al
sete al
lea eax, [eax*8 + 0x182]
push eax
push ebx
call dword [sym.imp.USER32.dll_TrackPopupMenu]
push dword [ebp - 0x18]
mov ebx, eax
call dword [sym.imp.USER32.dll_DestroyMenu]
cmp ebx, esi
jne 0x59caac
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x59cac6
push 0x12
call fcn.005e4ce6
jmp 0x59cac6
test ebx, ebx
je 0x59cac6
cmp ebx, edi
push 0x10
sete byte [0x7f8788]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x59cac8
xor ebx, ebx
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.004284eb
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x59e8af
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4bc
push ebx
push edi
mov edi, ecx
cmp byte [edi + 0x74], 0
je 0x59e8d5
push 0x59eea1
push 0x10
push 0x10
push 3
call fcn.0059f020
mov dword [edi + 0x68], eax
push 0x59f50b
push 9
push 9
push 2
mov ecx, edi
call fcn.0059f020
mov dword [edi + 0x6c], eax
lea eax, [ebp - 0x208]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
jne 0x59e907
mov word [ebp - 0x208], ax
push 0x4011
mov ebx, 0x2b4
lea eax, [ebp - 0x4bc]
push ebx
push eax
push 0x10
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov dword [edi + 0x64], eax
mov eax, dword [ebp - 0x4b8]
push 0x4013
mov dword [edi + 0x78], eax
lea eax, [ebp - 0x4bc]
push ebx
push eax
push 0x10
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 0x4b8]
mov dword [edi + 0x7c], eax
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5a1325
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x6c6f69
call fcn.00651da4
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp dword [esi + 0x54], ebx
je 0x5a140b
push edi
mov edi, dword [esi + 4]
mov dword [ebp + 8], edi
test edi, edi
je 0x5a1354
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x50]
mov dword [esi + 0x54], ebx
mov eax, dword [eax + ebx*4]
mov dword [esi + 4], eax
test eax, eax
jne 0x5a13ca
push 0x14
call fcn.00651ae6
mov edi, eax
pop ecx
mov dword [ebp - 0x10], edi
and dword [ebp - 4], 0
test edi, edi
je 0x5a1391
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
mov dword [edi + 8], esi
mov dword [edi], 0x721754
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], eax
jmp 0x5a1393
xor edi, edi
mov eax, dword [esi + 0x48]
mov ecx, ebx
or dword [ebp - 4], 0xffffffff
add ecx, ecx
push edi
push fcn.00597636
push dword [eax + 4]
mov eax, dword [esi + 0x4c]
push dword [eax + ecx*8]
push dword [0x7f7c68]
call fcn.0059680e
cmp byte [esi + 0x58], 0
mov dword [esi + 4], eax
je 0x5a13c7
push eax
call fcn.005978a1
mov edi, dword [ebp + 8]
mov ecx, dword [esi + 0x48]
or edx, 0xffffffff
push ebx
push esi
mov eax, dword [ecx]
call dword [eax + 0x30]
mov eax, dword [esi + 0x44]
sub eax, dword [esi + 0x3c]
push 0x250
push eax
mov eax, dword [esi + 0x40]
sub eax, dword [esi + 0x38]
push eax
push dword [esi + 0x3c]
push dword [esi + 0x38]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [ebp + 0xc], 0
je 0x5a140a
push edi
push dword [ebp + 0xc]
call fcn.0059ee72
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8