joyce8/EMBER2024-capa huggingface dataset:
Function at 0x573792
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 0x5737bd
push 6
mov dword [ebx], eax
pop eax
jmp 0x5738af
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 0x573848
xor edx, edx
lea eax, [ecx - 1]
div ebp
mov edx, dword [esp + 0x18]
mov ebp, dword [0x7852d8]
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 0x5737ec
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
jmp 0x57384c
mov edx, dword [esp + 0x18]
cmp eax, edi
jae 0x5738a3
movzx ebp, byte [edx]
inc eax
mov dword [esp + 0x24], eax
cmp eax, edi
jae 0x573862
movzx ecx, byte [edx + 1]
jmp 0x573864
xor ecx, ecx
mov edx, dword [0x7852d8]
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 0x573896
and ecx, 0xf
movsx eax, byte [edx + ecx*4]
jmp 0x573899
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 0x57ad02
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 0x57add5
call fcn.005a42bf
test al, al
jne 0x57add5
call fcn.005d56b8
cmp eax, 1
je 0x57add5
cmp byte [0x7d3069], 0
je 0x57ad5d
cmp byte [0x7d3079], 0
je 0x57ad5d
cmp byte [esi + 0x58], 0
je 0x57ad5d
mov ecx, dword [0x7d3ef4]
call fcn.005b2f6b
test al, al
je 0x57add5
cmp byte [0x7d300c], 0
push edi
je 0x57ad99
call fcn.00460941
mov edi, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
add edi, 0x1e
adc ecx, 0
cmp ecx, edx
ja 0x57ad99
jb 0x57ad82
cmp edi, eax
ja 0x57ad99
cmp byte [esi + 0x54], 0
je 0x57ad99
inc dword [0x7d3088]
call fcn.00460941
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], edx
cmp byte [0x7d300d], 0
je 0x57add4
call fcn.00460941
mov edi, dword [esi + 0x48]
mov ecx, dword [esi + 0x4c]
add edi, 0x1e
adc ecx, 0
cmp ecx, edx
ja 0x57add4
jb 0x57adbd
cmp edi, eax
ja 0x57add4
cmp byte [esi + 0x54], 0
je 0x57add4
inc dword [0x7d3084]
call fcn.00460941
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], edx
pop edi
pop esi
pop ecx
ret
Function at 0x57d0dc
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x57bf90
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 0x57d100
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.006694fa
pop ecx
pop ecx
test eax, eax
je 0x57d122
xor al, al
jmp 0x57d1e1
cmp dword [ebp + 0xc], edi
je 0x57d1c5
push esi
push 0x230
lea eax, [ebp - 0x230]
push edi
push eax
call fcn.00651ed0
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 0x57d163
push dword [ebp + 0xc]
lea eax, [ebp - 0x668]
push dword [ebp + 8]
push str.ms_its:_s::_s
push 0x438
push eax
call fcn.00462d1a
lea eax, [ebp - 0x668]
push eax
lea eax, [ebp - 0x230]
push eax
push str.Opening_help_file:__S__S
call fcn.0040c884
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 0x57d1d4
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 0x57df54
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 [0x79f450], 0
push 0x1bc
push dword [esi + 4]
je 0x57df91
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 0x57dfa5
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 + 0x94]
and dword [esi + 0x98], 0
mov dword [edx], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x9c], eax
mov eax, dword [ebp - 4]
sub eax, ecx
mov dword [esi + 0xa0], eax
mov eax, dword [esi + 0x6c]
pop esi
test eax, eax
je 0x57dfdc
push edx
push dword [eax + 4]
call fcn.0058ac16
mov esp, ebp
pop ebp
ret
Function at 0x5893df
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x6976e3
call fcn.006375a8
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 0x589415
mov eax, dword [esi]
jmp 0x589417
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.0043e107
cmp dword [esi + 0x14], 8
jb 0x589439
mov eax, dword [esi]
jmp 0x58943b
mov eax, esi
push edi
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [esi + 0x14], 8
jb 0x589450
mov ecx, dword [esi]
jmp 0x589452
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x589455
sub ecx, edx
sar ecx, 1
push ebx
push ecx
mov ecx, esi
call fcn.0043e107
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 0x589503
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 0x589587
push esi
push edi
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov esi, eax
test esi, esi
je 0x589586
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 0x589566
push esi
call dword [sym.imp.KERNEL32.DLL_FreeResource]
xor eax, eax
jmp 0x589584
push ebx
push ebp
push edi
call fcn.0064fe80
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x589582
mov dword [eax], ebx
mov eax, edi
pop ebp
pop ebx
pop esi
pop edi
ret 0x10
Function at 0x58af80
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 0x58b0a8
push esi
cmp eax, 0xffffffff
je 0x58b091
mov edx, dword [esp + 0x14]
cmp edx, 0x8012
je 0x58b0a7
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x58b045
lea eax, [edx - 0x100]
cmp eax, 9
ja 0x58b045
cmp byte [edi + 8], 0
jne 0x58b091
cmp edx, 0x100
jne 0x58aff9
push dword [esp + 0x10]
mov eax, dword [ecx]
push dword [esp + 0x1c]
push 0xfffffffffffffffd
pop edx
call dword [eax + 0x30]
test eax, eax
jne 0x58b091
lea eax, [esp + 0xc]
mov dword [esp + 0xc], ebp
push eax
push 0x58a93e
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [esp + 0xc], ebp
jne 0x58b041
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 4]
cmp eax, dword [edi + 0x10]
jne 0x58b031
mov edx, dword [esp + 0x14]
cmp edx, 0x100
jne 0x58b045
cmp dword [esp + 0x18], 9
jne 0x58b07b
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x58b091
mov edx, dword [esp + 0x14]
cmp edx, 0x20a
jne 0x58b07b
push dword [esp + 0x28]
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov esi, eax
test esi, esi
je 0x58b07b
cmp esi, dword [esp + 0x10]
je 0x58b07b
push ebp
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x7d269c]
jne 0x58b07b
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 0x58afa0
pop esi
mov eax, dword [esp + 0x14]
pop edi
pop ebp
add esp, 0x20
ret
Function at 0x58b8bb
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x6a59e5
call fcn.006375a8
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 0x58b8e6
mov eax, dword [esi]
jmp 0x58b8e8
mov eax, esi
xor ecx, ecx
mov word [eax], cx
push 0x6e0470
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ebx
push eax
mov word [esi + 0x18], bx
call fcn.00470ce5
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 1
jae 0x58b912
lea eax, [ebp - 0x28]
push 0x705b70
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0046c1b2
push eax
mov ecx, esi
call fcn.0042623d
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.004267c2
push esi
lea eax, [ebp - 0x40]
push eax
call fcn.0043edf3
cmp dword [eax + 0x14], 0x10
jb 0x58b946
mov eax, dword [eax]
push 0x705b78
push eax
call fcn.0065ec21
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x40]
mov edi, eax
call fcn.0040daff
test edi, edi
je 0x58b989
push edi
push dword [ebp + 0xc]
mov byte [esi + 0x18], 1
push 1
push dword [ebp + 8]
call fcn.0065f19b
add esp, 0x10
cmp dword [ebp + 0xc], eax
jne 0x58b982
mov byte [esi + 0x19], 1
push edi
call fcn.0065e673
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.004267c2
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 0x58c204
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x6a59ff
call fcn.006375a8
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 0x58c226
mov eax, dword [edi]
jmp 0x58c228
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, 0x79fa34
mov dword [ebp - 4], ebx
mov byte [ebp + 0xf], bl
mov byte [eax], bl
cmp dword [0x79fa48], 0x10
mov eax, dword [0x79fa34]
jae 0x58c257
mov eax, esi
push str.http
push eax
call fcn.0047ab03
test al, al
je 0x58c26a
mov byte [ebp + 0xf], 1
push esi
lea eax, [ebp - 0x3c]
push eax
call fcn.0043ee34
cmp dword [eax + 0x14], 8
jb 0x58c27c
mov eax, dword [eax]
push dword [0x705a90]
push eax
call fcn.005d1c3a
push ebx
push 1
lea ecx, [ebp - 0x3c]
mov esi, eax
call fcn.004267c2
test esi, esi
je 0x58c2ab
push 0xffffffffffffffff
push ebx
push 0x79fa34
lea ecx, [ebp - 0x24]
call fcn.0040d9ee
jmp 0x58c312
mov ecx, dword [ebp + 8]
lea eax, [ecx + 0x4c]
cmp dword [eax + 0x10], ebx
jne 0x58c2b9
lea eax, [ecx + 0x34]
cmp dword [eax + 0x14], 8
jb 0x58c2c1
mov eax, dword [eax]
push eax
call fcn.0045e8bc
mov esi, eax
test esi, esi
je 0x58c375
push ebx
lea eax, [ebp + 8]
push eax
push ebx
lea ecx, [esi - 2]
push ecx
call fcn.0042ba83
test al, al
je 0x58c36e
push dword [ebp + 8]
lea eax, [ebp - 0x3c]
push eax
call fcn.0047ae8a
push eax
lea ecx, [ebp - 0x24]
call fcn.0040d122
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.0040daff
push 1
push dword [ebp + 8]
call fcn.0045e47c
cmp dword [ebp - 0x10], 0x10
mov eax, dword [ebp - 0x24]
jae 0x58c31e
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.0043e0dd
cmp dword [edi + 0x14], 0x10
jb 0x58c33e
mov edi, dword [edi]
cmp dword [ebp - 0x10], 0x10
mov eax, dword [ebp - 0x24]
jae 0x58c34a
lea eax, [ebp - 0x24]
push ebx
push edi
push eax
call esi
cmp dword [0x79fa44], 0
je 0x58c362
cmp byte [ebp + 0xf], 0
je 0x58c362
xor eax, eax
jmp 0x58c365
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x10]
mov bl, 1
mov byte [ecx], al
jmp 0x58c3d1
mov eax, 0x6b69e0
jmp 0x58c37a
mov eax, 0x6b6e68
test esi, esi
jne 0x58c383
mov esi, 0x6b6e68
push eax
push esi
push 0x38b
call fcn.00588778
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004638e7
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 0x58c3ba
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00589668
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.004267c2
push 0
push 1
lea ecx, [ebp - 0x24]
call fcn.0040daff
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 0x58c40a
Capabilities:
Get common file path

Disassembly:
mov eax, 0x6a5a32
call fcn.006375a8
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 0x58c4d9
push str.macromed_flash
lea ecx, [ebp - 0x58]
call fcn.00427f43
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.004270b3
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
call fcn.0045f475
mov bl, al
test bl, bl
je 0x58c4c3
push str._flash.ocx
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004260b6
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x58c497
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 0x58c4b6
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
push 0
push esi
lea ecx, [ebp - 0x28]
and bl, bh
call fcn.004267c2
push 0
push esi
lea ecx, [ebp - 0x40]
call fcn.004267c2
push 0
push esi
lea ecx, [ebp - 0x58]
call fcn.004267c2
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 0x58c4f5
mov eax, dword [esi]
jmp 0x58c4f7
mov eax, esi
xor ecx, ecx
mov word [eax], cx
and dword [ebp - 4], ecx
mov dword [ebp - 0x10], 1
test bl, bl
je 0x58c51f
push esi
push str.CurrentVersion
push str.SOFTWAREMacromediaFlashPlayer
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00483456
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 0x58ceea
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 0x58cefe
sub esi, ecx
mov eax, 0x7d0
sar esi, 1
cmp esi, eax
jl 0x58cf18
mov esi, eax
lea eax, [esi + 1]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x2000]
push eax
call fcn.00427959
lea edx, [ebp - 0x2000]
mov ecx, 0x705c30
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 0x58cf3b
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 0x58d087
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0x10
jb 0x58d096
mov eax, dword [esi]
jmp 0x58d098
mov eax, esi
push 0x6c19e4
push eax
call fcn.0047ab03
test al, al
jne 0x58d0c2
cmp dword [esi + 0x14], 0x10
jb 0x58d0b1
mov eax, dword [esi]
jmp 0x58d0b3
mov eax, esi
push 0x6c3b0c
push eax
call fcn.0047ab03
test al, al
je 0x58d0dc
cmp dword [esi + 0x14], 0x10
jb 0x58d0ca
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 0x58e3b4
Capabilities:
Create process on windows

Disassembly:
push ebp
sub esp, 0x64
mov eax, 0x6a5b2c
call fcn.006375a8
sub esp, 0x30
inc dword [0x79fbc8]
lea eax, [ebp + 0x50]
push ebx
push esi
push eax
call fcn.0058ecf9
xor ebx, ebx
xor esi, esi
inc ebx
mov dword [ebp - 4], esi
cmp dword [ebp + 0x60], esi
je 0x58e54c
cmp dword [ebp + 0x64], 8
mov eax, dword [ebp + 0x50]
jae 0x58e3f3
lea eax, [ebp + 0x50]
push str.http:__
push eax
call fcn.0047b06c
test al, al
jne 0x58e421
cmp dword [ebp + 0x64], 8
mov eax, dword [ebp + 0x50]
jae 0x58e40e
lea eax, [ebp + 0x50]
push str.https:__
push eax
call fcn.0047b06c
test al, al
je 0x58e54c
lea eax, [ebp - 0x24]
push eax
call fcn.0047a07a
push eax
push dword [ebp + 0x70]
lea eax, [ebp]
mov byte [ebp - 4], bl
push eax
call fcn.004271d0
push esi
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.004267c2
mov eax, dword [ebp + 0x10]
dec eax
cmp eax, 0x3ff
jae 0x58e542
push 0x6b6d5c
call fcn.00426a30
pop ecx
push eax
push esi
push 0x6b6d5c
lea ecx, [ebp + 0x50]
call fcn.00437de3
cmp eax, 0xffffffff
jne 0x58e48f
push 0x6b6d5c
call fcn.00426a30
pop ecx
push eax
push 0x6b6d5c
lea ecx, [ebp + 0x50]
call fcn.0042689e
lea eax, [ebp]
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.00470723
cmp dword [ebp + 0x2c], 0x10
mov eax, dword [ebp + 0x18]
mov byte [ebp - 4], 4
jae 0x58e4ac
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp + 0x30]
push 0x705c48
push eax
call fcn.004638e7
add esp, 0xc
cmp dword [ebp + 0x44], 8
push 0x73
pop eax
mov word [ebp + 0x48], ax
mov eax, dword [ebp + 0x30]
mov byte [ebp - 4], 5
jae 0x58e4d5
lea eax, [ebp + 0x30]
cmp dword [ebp + 0x64], 8
mov dword [ebp + 0x4c], eax
mov eax, dword [ebp + 0x50]
jae 0x58e4e4
lea eax, [ebp + 0x50]
push ebx
lea ecx, [ebp + 0x48]
push ecx
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0048099c
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0043edf3
cmp dword [eax + 0x14], 0x10
jb 0x58e50c
mov eax, dword [eax]
push ebx
push esi
push esi
push eax
push esi
push dword [ebp + 0x74]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push esi
push ebx
lea ecx, [ebp - 0x24]
call fcn.0040daff
push esi
push ebx
lea ecx, [ebp - 0x3c]
call fcn.004267c2
push esi
push ebx
lea ecx, [ebp + 0x30]
call fcn.004267c2
push esi
push ebx
lea ecx, [ebp + 0x18]
call fcn.0040daff
push esi
push ebx
lea ecx, [ebp]
call fcn.004267c2
push esi
push ebx
lea ecx, [ebp + 0x50]
call fcn.004267c2
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
lea esp, [ebp + 0x68]
pop ebp
ret 0xc
Function at 0x58e569
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x6aa344
call fcn.006375a8
sub esp, 0x24
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov ebx, eax
lea ecx, [ebp - 0x30]
push 0x7d2f60
mov dword [ebp - 0x18], ebx
call fcn.0042615e
mov esi, dword [ebp - 0x30]
xor eax, eax
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 4], eax
jae 0x58e5a2
lea esi, [ebp - 0x30]
mov byte [ebp - 0xd], 1
mov edi, eax
push esi
mov dword [ebp - 0x14], esi
call fcn.0047aad4
push 0x7c
push dword [ebp - 0x14]
mov esi, eax
call fcn.00479632
mov edx, eax
xor ecx, ecx
mov eax, dword [ebp - 0x14]
cmp word [eax], cx
je 0x58e5ec
inc edi
test edx, edx
je 0x58e5d9
push edx
call fcn.0058c5cf
mov ecx, eax
mov eax, dword [ebp - 0x14]
push ecx
push eax
push edi
push 0
push ebx
call fcn.0058ba49
mov byte [ebp - 0xd], 1
xor ecx, ecx
jmp 0x58e605
cmp byte [ebp - 0xd], cl
je 0x58e602
push ecx
push ecx
push edi
push 0x800
push ebx
call fcn.0058ba49
inc edi
xor ecx, ecx
mov byte [ebp - 0xd], cl
test esi, esi
jne 0x58e5a8
push ecx
push 0x35b
inc edi
call fcn.00588778
push eax
push edi
push esi
push ebx
call fcn.0058ba49
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 [0x7d26a4]
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push 0x357
add edi, 2
call fcn.00588778
push eax
push edi
push 0
push ebx
call fcn.0058ba49
mov eax, dword [0x7d2fac]
push 0x80
inc eax
push eax
push ebx
push dword [0x7d26b4]
call dword [sym.imp.USER32.dll_HiliteMenuItem]
mov eax, dword [ebp + 8]
push 0
push dword [0x7d26b4]
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 0x58e6cb
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x58e6e5
push 0x11
call fcn.005ce446
jmp 0x58e6e5
test ebx, ebx
je 0x58e6e5
cmp ebx, edi
push 0x10
sete byte [0x7d2fb0]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x58e6e7
xor ebx, ebx
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.004267c2
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 0x590439
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 0x59045f
push 0x590a2b
push 0x10
push 0x10
push 3
call fcn.00590baa
mov dword [edi + 0x68], eax
push 0x591095
push 9
push 9
push 2
mov ecx, edi
call fcn.00590baa
mov dword [edi + 0x6c], eax
lea eax, [ebp - 0x208]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
jne 0x590491
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