joyce8/EMBER2024-capa huggingface dataset:
Function at 0x58d7cd
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x6a1c79
call fcn.00640244
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 0x58d803
mov eax, dword [esi]
jmp 0x58d805
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.0043fb65
cmp dword [esi + 0x14], 8
jb 0x58d827
mov eax, dword [esi]
jmp 0x58d829
mov eax, esi
push edi
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [esi + 0x14], 8
jb 0x58d83e
mov ecx, dword [esi]
jmp 0x58d840
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x58d843
sub ecx, edx
sar ecx, 1
push ebx
push ecx
mov ecx, esi
call fcn.0043fb65
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 0x58d8f1
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 0x58d975
push esi
push edi
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov esi, eax
test esi, esi
je 0x58d974
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 0x58d954
push esi
call dword [sym.imp.KERNEL32.DLL_FreeResource]
xor eax, eax
jmp 0x58d972
push ebx
push ebp
push edi
call fcn.00658b30
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x58d970
mov dword [eax], ebx
mov eax, edi
pop ebp
pop ebx
pop esi
pop edi
ret 0x10
Function at 0x58f398
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 0x58f4c0
push esi
cmp eax, 0xffffffff
je 0x58f4a9
mov edx, dword [esp + 0x14]
cmp edx, 0x8012
je 0x58f4bf
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x58f45d
lea eax, [edx - 0x100]
cmp eax, 9
ja 0x58f45d
cmp byte [edi + 8], 0
jne 0x58f4a9
cmp edx, 0x100
jne 0x58f411
push dword [esp + 0x10]
mov eax, dword [ecx]
push dword [esp + 0x1c]
push 0xfffffffffffffffd
pop edx
call dword [eax + 0x30]
test eax, eax
jne 0x58f4a9
lea eax, [esp + 0xc]
mov dword [esp + 0xc], ebp
push eax
push 0x58ed56
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [esp + 0xc], ebp
jne 0x58f459
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 4]
cmp eax, dword [edi + 0x10]
jne 0x58f449
mov edx, dword [esp + 0x14]
cmp edx, 0x100
jne 0x58f45d
cmp dword [esp + 0x18], 9
jne 0x58f493
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x58f4a9
mov edx, dword [esp + 0x14]
cmp edx, 0x20a
jne 0x58f493
push dword [esp + 0x28]
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov esi, eax
test esi, esi
je 0x58f493
cmp esi, dword [esp + 0x10]
je 0x58f493
push ebp
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x7e099c]
jne 0x58f493
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 0x58f3b8
pop esi
mov eax, dword [esp + 0x14]
pop edi
pop ebp
add esp, 0x20
ret
Function at 0x58fcd6
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x6aed05
call fcn.00640244
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 0x58fd01
mov eax, dword [esi]
jmp 0x58fd03
mov eax, esi
xor ecx, ecx
mov word [eax], cx
push 0x6eaf24
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ebx
push eax
mov word [esi + 0x18], bx
call fcn.0047354f
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 1
jae 0x58fd2d
lea eax, [ebp - 0x28]
push 0x710570
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0046e46e
push eax
mov ecx, esi
call fcn.00427c6d
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.004281f2
push esi
lea eax, [ebp - 0x40]
push eax
call fcn.00440856
cmp dword [eax + 0x14], 0x10
jb 0x58fd61
mov eax, dword [eax]
push 0x710578
push eax
call fcn.006678c1
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x40]
mov edi, eax
call fcn.0040f52f
test edi, edi
je 0x58fda4
push edi
push dword [ebp + 0xc]
mov byte [esi + 0x18], 1
push 1
push dword [ebp + 8]
call fcn.00667e3b
add esp, 0x10
cmp dword [ebp + 0xc], eax
jne 0x58fd9d
mov byte [esi + 0x19], 1
push edi
call fcn.00667313
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.004281f2
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 0x590674
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x6ac318
call fcn.00640244
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 0x590696
mov eax, dword [edi]
jmp 0x590698
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, 0x7acd60
mov dword [ebp - 4], ebx
mov byte [ebp + 0xf], bl
mov byte [eax], bl
cmp dword [0x7acd74], 0x10
mov eax, dword [0x7acd60]
jae 0x5906c7
mov eax, esi
push 0x6cd69c
push eax
call fcn.0047db47
test al, al
je 0x5906da
mov byte [ebp + 0xf], 1
push esi
lea eax, [ebp - 0x3c]
push eax
call fcn.00440897
cmp dword [eax + 0x14], 8
jb 0x5906ec
mov eax, dword [eax]
push dword [0x710490]
push eax
call fcn.00555907
push ebx
push 1
lea ecx, [ebp - 0x3c]
mov esi, eax
call fcn.004281f2
test esi, esi
je 0x59071b
push 0xffffffffffffffff
push ebx
push 0x7acd60
lea ecx, [ebp - 0x24]
call fcn.0040f41e
jmp 0x590782
mov ecx, dword [ebp + 8]
lea eax, [ecx + 0x4c]
cmp dword [eax + 0x10], ebx
jne 0x590729
lea eax, [ecx + 0x34]
cmp dword [eax + 0x14], 8
jb 0x590731
mov eax, dword [eax]
push eax
call fcn.00460454
mov esi, eax
test esi, esi
je 0x5907e5
push ebx
lea eax, [ebp + 8]
push eax
push ebx
lea ecx, [esi - 2]
push ecx
call fcn.0042d529
test al, al
je 0x5907de
push dword [ebp + 8]
lea eax, [ebp - 0x3c]
push eax
call fcn.0047dece
push eax
lea ecx, [ebp - 0x24]
call fcn.0040eb52
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.0040f52f
push 1
push dword [ebp + 8]
call fcn.004600c9
cmp dword [ebp - 0x10], 0x10
mov eax, dword [ebp - 0x24]
jae 0x59078e
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.0043fb3b
cmp dword [edi + 0x14], 0x10
jb 0x5907ae
mov edi, dword [edi]
cmp dword [ebp - 0x10], 0x10
mov eax, dword [ebp - 0x24]
jae 0x5907ba
lea eax, [ebp - 0x24]
push ebx
push edi
push eax
call esi
cmp dword [0x7acd70], 0
je 0x5907d2
cmp byte [ebp + 0xf], 0
je 0x5907d2
xor eax, eax
jmp 0x5907d5
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x10]
mov bl, 1
mov byte [ecx], al
jmp 0x590841
mov eax, 0x6c0ca0
jmp 0x5907ea
mov eax, 0x6c111c
test esi, esi
jne 0x5907f3
mov esi, 0x6c111c
push eax
push esi
push 0x397
call fcn.0058c7b7
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004654e1
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 0x59082a
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0058da56
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.004281f2
push 0
push 1
lea ecx, [ebp - 0x24]
call fcn.0040f52f
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 0x59087a
Capabilities:
Get common file path

Disassembly:
mov eax, 0x6aed38
call fcn.00640244
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 0x590949
push str.macromed_flash
lea ecx, [ebp - 0x58]
call fcn.00429973
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.00428ae3
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
call fcn.0046100d
mov bl, al
test bl, bl
je 0x590933
push str._flash.ocx
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00427ae6
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x590907
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 0x590926
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
push 0
push esi
lea ecx, [ebp - 0x28]
and bl, bh
call fcn.004281f2
push 0
push esi
lea ecx, [ebp - 0x40]
call fcn.004281f2
push 0
push esi
lea ecx, [ebp - 0x58]
call fcn.004281f2
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 0x590965
mov eax, dword [esi]
jmp 0x590967
mov eax, esi
xor ecx, ecx
mov word [eax], cx
and dword [ebp - 4], ecx
mov dword [ebp - 0x10], 1
test bl, bl
je 0x59098f
push esi
push str.CurrentVersion
push str.SOFTWAREMacromediaFlashPlayer
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004866ec
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 0x59135a
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 0x59136e
sub esi, ecx
mov eax, 0x7d0
sar esi, 1
cmp esi, eax
jl 0x591388
mov esi, eax
lea eax, [esi + 1]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x2000]
push eax
call fcn.00429389
lea edx, [ebp - 0x2000]
mov ecx, 0x710630
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 0x5913ab
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 0x5914f7
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0x10
jb 0x591506
mov eax, dword [esi]
jmp 0x591508
mov eax, esi
push 0x6cbe04
push eax
call fcn.0047db47
test al, al
jne 0x591532
cmp dword [esi + 0x14], 0x10
jb 0x591521
mov eax, dword [esi]
jmp 0x591523
mov eax, esi
push 0x6ce174
push eax
call fcn.0047db47
test al, al
je 0x59154c
cmp dword [esi + 0x14], 0x10
jb 0x59153a
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 0x59281e
Capabilities:
Create process on windows

Disassembly:
push ebp
sub esp, 0x64
mov eax, 0x6aee32
call fcn.00640244
sub esp, 0x30
inc dword [0x7acefc]
lea eax, [ebp + 0x50]
push ebx
push esi
push eax
call fcn.00593163
xor ebx, ebx
xor esi, esi
inc ebx
mov dword [ebp - 4], esi
cmp dword [ebp + 0x60], esi
je 0x5929b6
cmp dword [ebp + 0x64], 8
mov eax, dword [ebp + 0x50]
jae 0x59285d
lea eax, [ebp + 0x50]
push str.http:__
push eax
call fcn.0047e0b0
test al, al
jne 0x59288b
cmp dword [ebp + 0x64], 8
mov eax, dword [ebp + 0x50]
jae 0x592878
lea eax, [ebp + 0x50]
push str.https:__
push eax
call fcn.0047e0b0
test al, al
je 0x5929b6
lea eax, [ebp - 0x24]
push eax
call fcn.0047d0be
push eax
push dword [ebp + 0x70]
lea eax, [ebp]
mov byte [ebp - 4], bl
push eax
call fcn.00428c00
push esi
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.004281f2
mov eax, dword [ebp + 0x10]
dec eax
cmp eax, 0x3ff
jae 0x5929ac
push 0x6c101c
call fcn.00428460
pop ecx
push eax
push esi
push 0x6c101c
lea ecx, [ebp + 0x50]
call fcn.0043983f
cmp eax, 0xffffffff
jne 0x5928f9
push 0x6c101c
call fcn.00428460
pop ecx
push eax
push 0x6c101c
lea ecx, [ebp + 0x50]
call fcn.004282ce
lea eax, [ebp]
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.00472d96
cmp dword [ebp + 0x2c], 0x10
mov eax, dword [ebp + 0x18]
mov byte [ebp - 4], 4
jae 0x592916
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp + 0x30]
push 0x710648
push eax
call fcn.004654e1
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 0x59293f
lea eax, [ebp + 0x30]
cmp dword [ebp + 0x64], 8
mov dword [ebp + 0x4c], eax
mov eax, dword [ebp + 0x50]
jae 0x59294e
lea eax, [ebp + 0x50]
push ebx
lea ecx, [ebp + 0x48]
push ecx
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00483979
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00440856
cmp dword [eax + 0x14], 0x10
jb 0x592976
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.0040f52f
push esi
push ebx
lea ecx, [ebp - 0x3c]
call fcn.004281f2
push esi
push ebx
lea ecx, [ebp + 0x30]
call fcn.004281f2
push esi
push ebx
lea ecx, [ebp + 0x18]
call fcn.0040f52f
push esi
push ebx
lea ecx, [ebp]
call fcn.004281f2
push esi
push ebx
lea ecx, [ebp + 0x50]
call fcn.004281f2
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
lea esp, [ebp + 0x68]
pop ebp
ret 0xc
Function at 0x5929d3
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x6aee44
call fcn.00640244
sub esp, 0x24
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov ebx, eax
lea ecx, [ebp - 0x30]
push 0x7e1260
mov dword [ebp - 0x18], ebx
call fcn.00427b8e
mov esi, dword [ebp - 0x30]
xor eax, eax
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 4], eax
jae 0x592a0c
lea esi, [ebp - 0x30]
mov byte [ebp - 0xd], 1
mov edi, eax
push esi
mov dword [ebp - 0x14], esi
call fcn.0047db18
push 0x7c
push dword [ebp - 0x14]
mov esi, eax
call fcn.0047c649
mov edx, eax
xor ecx, ecx
mov eax, dword [ebp - 0x14]
cmp word [eax], cx
je 0x592a56
inc edi
test edx, edx
je 0x592a43
push edx
call fcn.00590a3f
mov ecx, eax
mov eax, dword [ebp - 0x14]
push ecx
push eax
push edi
push 0
push ebx
call fcn.0058fe64
mov byte [ebp - 0xd], 1
xor ecx, ecx
jmp 0x592a6f
cmp byte [ebp - 0xd], cl
je 0x592a6c
push ecx
push ecx
push edi
push 0x800
push ebx
call fcn.0058fe64
inc edi
xor ecx, ecx
mov byte [ebp - 0xd], cl
test esi, esi
jne 0x592a12
push ecx
push 0x367
inc edi
call fcn.0058c7b7
push eax
push edi
push esi
push ebx
call fcn.0058fe64
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 [0x7e097c]
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push 0x363
add edi, 2
call fcn.0058c7b7
push eax
push edi
push 0
push ebx
call fcn.0058fe64
mov eax, dword [0x7e12ac]
push 0x80
inc eax
push eax
push ebx
push dword [0x7e098c]
call dword [sym.imp.USER32.dll_HiliteMenuItem]
mov eax, dword [ebp + 8]
push 0
push dword [0x7e098c]
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 0x592b35
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x592b4f
push 0x12
call fcn.005d5d39
jmp 0x592b4f
test ebx, ebx
je 0x592b4f
cmp ebx, edi
push 0x10
sete byte [0x7e12b0]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x592b51
xor ebx, ebx
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.004281f2
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 0x59486a
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 0x594890
push 0x594e5c
push 0x10
push 0x10
push 3
call fcn.00594fdb
mov dword [edi + 0x68], eax
push 0x5954c6
push 9
push 9
push 2
mov ecx, edi
call fcn.00594fdb
mov dword [edi + 0x6c], eax
lea eax, [ebp - 0x208]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
jne 0x5948c2
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 0x5972e0
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x6a6ea6
call fcn.00640244
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp dword [esi + 0x4c], ebx
je 0x5973c6
push edi
mov edi, dword [esi + 4]
mov dword [ebp + 8], edi
test edi, edi
je 0x59730f
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x48]
mov dword [esi + 0x4c], ebx
mov eax, dword [eax + ebx*4]
mov dword [esi + 4], eax
test eax, eax
jne 0x597385
push 0x14
call fcn.0063ffa4
mov edi, eax
pop ecx
mov dword [ebp - 0x10], edi
and dword [ebp - 4], 0
test edi, edi
je 0x59734c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
mov dword [edi + 8], esi
mov dword [edi], 0x7103f4
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], eax
jmp 0x59734e
xor edi, edi
mov eax, dword [esi + 0x40]
mov ecx, ebx
or dword [ebp - 4], 0xffffffff
add ecx, ecx
push edi
push fcn.0058e95a
push dword [eax + 4]
mov eax, dword [esi + 0x44]
push dword [eax + ecx*8]
push dword [0x7e097c]
call fcn.0058db03
cmp byte [esi + 0x50], 0
mov dword [esi + 4], eax
je 0x597382
push eax
call fcn.0058ebc5
mov edi, dword [ebp + 8]
mov ecx, dword [esi + 0x40]
or edx, 0xffffffff
push ebx
push esi
mov eax, dword [ecx]
call dword [eax + 0x30]
mov eax, dword [esi + 0x3c]
sub eax, dword [esi + 0x34]
push 0x250
push eax
mov eax, dword [esi + 0x38]
sub eax, dword [esi + 0x30]
push eax
push dword [esi + 0x34]
push dword [esi + 0x30]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [ebp + 0xc], 0
je 0x5973c5
push edi
push dword [ebp + 0xc]
call fcn.00594e2d
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x59c245
Capabilities:
Check mutex on windows

Disassembly:
mov eax, 0x6b6020
call fcn.00640244
sub esp, 0x244
push ebx
xor ebx, ebx
inc ebx
cmp byte [ebp + 0xc], 0
push esi
mov dword [ebp - 0x10], ebx
je 0x59c298
call fcn.0049470f
push eax
lea eax, [ebp - 0x28]
push str._s_Updater
push eax
call fcn.004654bc
add esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x59c282
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateMutexA]
push 0
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040f52f
push 0x104
lea eax, [ebp - 0x250]
xor ebx, ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push ebx
push 0x791824
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x59c2fa
lea ecx, [ebp + 0xc]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [ebp + 0xc], ebx
je 0x59c2fa
push dword [ebp + 0xc]
push ebx
push 0x100000
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
test esi, esi
je 0x59c2fa
push 0x1d4c0
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x59c2fa
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
call fcn.004946cd
push eax
lea eax, [ebp - 0x28]
push str._s__BRINGTOFRONT
push eax
call fcn.004654e1
add esp, 0xc
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], ebx
jb 0x59c31c
mov eax, dword [eax]
push ebx
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.0059fe48
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
xor esi, esi
mov bl, al
push 0
inc esi
push esi
call fcn.004281f2
test bl, bl
jne 0x59c375
call fcn.005802b9
test al, al
jne 0x59c371
push 0x6e0800
push 0x806
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], 0x10
call fcn.0058c7b7
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0058da56
add esp, 0xc
mov byte [ebp - 0x10], 0
call fcn.0059d2ab
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x59d0a9
Capabilities:
Create process on windows
Get common file path
Get comspec environment variable
Get startup folder
Query environment variable

Disassembly:
push ebp
sub esp, 0x64
mov eax, 0x6af61a
call fcn.00640244
sub esp, 0x458
lea eax, [ebp - 0x464]
push ebx
push esi
push edi
push 0x104
push eax
push str.COMSPEC
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableW]
test eax, eax
je 0x59d295
xor ebx, ebx
lea eax, [ebp - 0x25c]
push ebx
push 0x25
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.ping.exe
lea ecx, [ebp]
call fcn.00429973
push 1
lea eax, [ebp]
mov dword [ebp - 4], ebx
push eax
sub esp, 0x18
lea eax, [ebp - 0x25c]
mov ecx, esp
push eax
call fcn.00429973
lea eax, [ebp - 0x3c]
push eax
call fcn.00460380
push ebx
push 1
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.004281f2
sub esp, 0x18
lea eax, [ebp - 0x24]
lea esi, [ebp - 0x3c]
push 6
pop ecx
mov edi, esp
push str._s__n_2_127.0.0.1_r_n
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.004654e1
add esp, 0x20
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp + 0x18]
call fcn.00427b8e
push dword [ebp + 0x70]
mov byte [ebp - 4], 4
call fcn.00428460
pop ecx
push eax
push dword [ebp + 0x70]
lea ecx, [ebp + 0x18]
call fcn.004282ce
push ebx
push ebx
lea eax, [ebp + 0x4c]
push eax
call fcn.0046059a
mov esi, str..bat
mov byte [ebp - 4], 5
push esi
call fcn.00428460
pop ecx
push eax
push esi
lea ecx, [ebp + 0x4c]
call fcn.004282ce
cmp dword [ebp + 0x60], 8
mov eax, dword [ebp + 0x4c]
jae 0x59d1a9
lea eax, [ebp + 0x4c]
push 0x80
push 7
push eax
call fcn.00461598
mov dword [ebp + 0x64], eax
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp]
push eax
call fcn.00440856
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 6
jb 0x59d1d2
mov eax, dword [eax]
push dword [ebp + 0x28]
push eax
push dword [ebp + 0x64]
call fcn.00461a64
xor edi, edi
mov byte [ebp - 4], 5
push ebx
inc edi
lea ecx, [ebp]
push edi
call fcn.0040f52f
lea eax, [ebp + 0x64]
push eax
call fcn.00461528
lea eax, [ebp - 0x464]
push eax
lea ecx, [ebp + 0x30]
call fcn.00429973
mov esi, str.__C
mov byte [ebp - 4], 7
push esi
call fcn.00428460
pop ecx
push eax
push esi
lea ecx, [ebp + 0x30]
call fcn.004282ce
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 0x4c]
push eax
lea ecx, [ebp + 0x30]
call fcn.0042823e
lea eax, [ebp + 0x30]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00440856
cmp dword [eax + 0x14], 0x10
jb 0x59d245
mov eax, dword [eax]
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_WinExec]
cmp eax, 0x1f
lea ecx, [ebp - 0x54]
seta bl
xor esi, esi
push esi
push edi
call fcn.0040f52f
push esi
push edi
lea ecx, [ebp + 0x30]
call fcn.004281f2
push esi
push edi
lea ecx, [ebp + 0x4c]
call fcn.004281f2
push esi
push edi
lea ecx, [ebp + 0x18]
call fcn.004281f2
push esi
push edi
lea ecx, [ebp - 0x24]
call fcn.004281f2
push esi
push edi
lea ecx, [ebp - 0x3c]
call fcn.004281f2
mov al, bl
jmp 0x59d297
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
lea esp, [ebp + 0x68]
pop ebp
ret 4