joyce8/EMBER2024-capa huggingface dataset:
Function at 0x576e3c
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x575c37
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 0x576e60
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.0063ae67
pop ecx
pop ecx
test eax, eax
je 0x576e82
xor al, al
jmp 0x576f43
cmp dword [ebp + 0xc], edi
je 0x576f25
push esi
push 0x230
lea eax, [ebp - 0x230]
push edi
push eax
call fcn.00635a30
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 0x576ec3
push dword [ebp + 0xc]
lea eax, [ebp - 0x668]
push dword [ebp + 8]
push str.ms_its:_s::_s
push 0x438
push eax
call fcn.00471625
lea eax, [ebp - 0x668]
push eax
lea eax, [ebp - 0x230]
push eax
push str.Opening_help_file:__S__S
call fcn.00409edb
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 0x576f34
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 eax, eax
test ecx, ecx
sete al
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x577c54
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 [0x75f29c], 0
push 0x1bc
push dword [esi + 4]
je 0x577c91
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 0x577ca5
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 0x577cdc
push edx
push dword [eax + 4]
call fcn.00584916
mov esp, ebp
pop ebp
ret
Function at 0x57c884
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x67a1cf
call fcn.006313fc
sub esp, 0x94
xor edx, edx
xor ecx, ecx
mov dword [esp], edx
inc ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xb8]
xor eax, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], 0xc6
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], edx
mov dword [esp + 0x20], 2
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], 0xc8
mov dword [esp + 0x2c], 4
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], 0xc1
mov dword [esp + 0x38], 8
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], 0xcc
mov dword [esp + 0x44], 0x10
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], 0xc5
mov dword [esp + 0x50], 0x20
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], 0xc3
mov dword [esp + 0x5c], 0x40
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], 0xcb
mov dword [esp + 0x68], 0x80
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], 0xc2
mov dword [esp + 0x74], 0x100
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], 0xc9
mov dword [esp + 0x80], 0x400
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], 0xca
mov dword [esp + 0x8c], 0x800
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], 0xc7
mov dword [esp + 0x98], 0x8000
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], 0xc4
mov word [edi], ax
push 0xc
mov dword [esp + 0xb0], edx
lea ebx, [esp + 0x20]
mov dword [esp + 0x14], ecx
pop ebp
mov ecx, dword [ebx - 8]
mov eax, dword [ebx - 4]
and ecx, dword [esp + 0xbc]
and eax, dword [esp + 0xc0]
or ecx, eax
je 0x57ca1e
test dl, dl
je 0x57ca03
push 0x6d6b84
call fcn.004236bc
pop ecx
push eax
push 0x6d6b84
mov ecx, edi
call fcn.004234f9
push dword [ebx]
call fcn.00582370
mov esi, eax
push esi
call fcn.004236bc
pop ecx
push eax
push esi
mov ecx, edi
call fcn.004234f9
mov dl, 1
add ebx, 0xc
dec ebp
jne 0x57c9cf
mov ecx, dword [esp + 0xa4]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x5830b5
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x66d348
call fcn.006313fc
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]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], ax
push ebx
push edi
mov ecx, esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], 1
call fcn.0043c638
cmp dword [esi + 0x14], 8
jb 0x583103
mov eax, dword [esi]
jmp 0x583105
mov eax, esi
push edi
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [esi + 0x14], 8
jb 0x58311a
mov ecx, dword [esi]
jmp 0x58311c
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x58311f
sub ecx, edx
sar ecx, 1
push ebx
push ecx
mov ecx, esi
call fcn.0043c638
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 0x5831cd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
push edi
push 5
movzx eax, ax
push eax
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov edi, eax
test edi, edi
je 0x583253
push esi
push edi
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov esi, eax
test esi, esi
je 0x583252
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 0x583232
push esi
call dword [sym.imp.KERNEL32.DLL_FreeResource]
xor eax, eax
jmp 0x583250
push ebx
push ebp
push edi
call fcn.00631810
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x58324e
mov dword [eax], ebx
mov eax, edi
pop ebp
pop ebx
pop esi
pop edi
ret 0x10

Function at 0x584c83
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 0x584dab
push esi
cmp eax, 0xffffffff
je 0x584d94
mov edx, dword [esp + 0x14]
cmp edx, 0x8012
je 0x584daa
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x584d48
lea eax, [edx - 0x100]
cmp eax, 9
ja 0x584d48
cmp byte [edi + 8], 0
jne 0x584d94
cmp edx, 0x100
jne 0x584cfc
push dword [esp + 0x10]
mov eax, dword [ecx]
push dword [esp + 0x1c]
push 0xfffffffffffffffd
pop edx
call dword [eax + 0x30]
test eax, eax
jne 0x584d94
lea eax, [esp + 0xc]
mov dword [esp + 0xc], ebp
push eax
push 0x58463c
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [esp + 0xc], ebp
jne 0x584d44
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 4]
cmp eax, dword [edi + 0x10]
jne 0x584d34
mov edx, dword [esp + 0x14]
cmp edx, 0x100
jne 0x584d48
cmp dword [esp + 0x18], 9
jne 0x584d7e
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x584d94
mov edx, dword [esp + 0x14]
cmp edx, 0x20a
jne 0x584d7e
push dword [esp + 0x28]
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov esi, eax
test esi, esi
je 0x584d7e
cmp esi, dword [esp + 0x10]
je 0x584d7e
push ebp
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x791124]
jne 0x584d7e
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 0x584ca3
pop esi
mov eax, dword [esp + 0x14]
pop edi
pop ebp
add esp, 0x20
ret
Function at 0x58556d
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x67a69c
call fcn.006313fc
sub esp, 0x34
push esi
mov esi, ecx
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x10], esi
push edi
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ecx
mov word [esi], ax
push 0x6b2c04
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ecx
push eax
mov word [esi + 0x18], cx
call fcn.0046e883
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 1
jae 0x5855b7
lea eax, [ebp - 0x28]
push 0x6d7d90
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0046963e
push eax
mov ecx, esi
call fcn.0044dbe6
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.0042341c
push esi
lea eax, [ebp - 0x40]
push eax
call fcn.0043d091
cmp dword [eax + 0x14], 0x10
jb 0x5855ec
mov eax, dword [eax]
push 0x6d7d98
push eax
call fcn.00633836
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x40]
mov edi, eax
call fcn.0040a0e9
test edi, edi
je 0x585630
push edi
push dword [ebp + 0xc]
mov byte [esi + 0x18], 1
push 1
push dword [ebp + 8]
call fcn.00633c26
add esp, 0x10
cmp dword [ebp + 0xc], eax
jne 0x585629
mov byte [esi + 0x19], 1
push edi
call fcn.006333bd
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0042341c
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x585dc7
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x67a6b6
call fcn.006313fc
sub esp, 0x50
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x74]
push edi
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], ecx
jb 0x585deb
mov eax, dword [esi]
jmp 0x585ded
mov eax, esi
mov byte [eax], cl
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], ecx
mov byte [esp + 0x10], cl
mov ebp, dword [esp + 0x7c]
mov edi, 0x75f880
mov dword [esp + 0x68], ecx
mov byte [esp + 0x78], cl
mov byte [esp + 0x7c], cl
mov byte [ebp], cl
cmp dword [0x75f894], 0x10
mov eax, dword [0x75f880]
jae 0x585e27
mov eax, edi
push str.http
push eax
call fcn.00479d5f
test al, al
je 0x585e40
mov byte [esp + 0x7c], 1
mov byte [esp + 0x78], 1
push edi
lea eax, [esp + 0x2c]
push eax
call fcn.0043d0d2
cmp dword [eax + 0x14], 8
jb 0x585e53
mov eax, dword [eax]
push dword [0x6d7ca8]
push eax
call fcn.0045f39d
mov ebx, eax
lea ecx, [esp + 0x28]
push 0
neg ebx
push 1
sbb bl, bl
call fcn.0042341c
inc bl
jne 0x585e93
cmp byte [esp + 0x7c], bl
je 0x585e82
cmp byte [esp + 0x78], bl
je 0x585e93
push 0xffffffffffffffff
xor ebx, ebx
lea ecx, [esp + 0x14]
push ebx
push edi
call fcn.0040a034
jmp 0x585f05
mov eax, dword [esp + 0x74]
xor ebx, ebx
cmp dword [eax + 0x5c], ebx
jne 0x585ea3
add eax, 0x34
jmp 0x585ea6
add eax, 0x4c
cmp dword [eax + 0x14], 8
jb 0x585eae
mov eax, dword [eax]
push eax
call fcn.0045dccf
mov edi, eax
test edi, edi
je 0x585f74
push ebx
lea eax, [esp + 0x78]
push eax
push ebx
lea ecx, [edi - 2]
push ecx
call fcn.00428558
test al, al
je 0x585f6d
push dword [esp + 0x74]
lea eax, [esp + 0x2c]
push eax
call fcn.0047a0e4
push eax
lea ecx, [esp + 0x14]
call fcn.00409822
push ebx
push 1
lea ecx, [esp + 0x30]
call fcn.0040a0e9
push 1
push dword [esp + 0x78]
call fcn.0045d916
cmp dword [esp + 0x24], 0x10
mov eax, dword [esp + 0x10]
jae 0x585f14
lea eax, [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsA]
push ebx
push ebx
push eax
call edi
push 0
mov ecx, esi
lea ebx, [eax + 1]
push ebx
call fcn.0043c60e
cmp dword [esi + 0x14], 0x10
jb 0x585f34
mov esi, dword [esi]
cmp dword [esp + 0x24], 0x10
mov eax, dword [esp + 0x10]
jae 0x585f43
lea eax, [esp + 0x10]
push ebx
push esi
push eax
call edi
cmp dword [0x75f890], 0
je 0x585f63
cmp byte [esp + 0x78], 0
je 0x585f63
cmp byte [esp + 0x7c], 0
je 0x585f63
xor eax, eax
jmp 0x585f66
xor eax, eax
inc eax
mov byte [ebp], al
mov bl, 1
jmp 0x585fd9
mov eax, 0x689678
jmp 0x585f79
mov eax, 0x689954
test edi, edi
jne 0x585f82
mov edi, 0x689954
push eax
push edi
push 0x371
call fcn.00582370
push eax
lea eax, [esp + 0x34]
push eax
call fcn.0047224d
add esp, 0x10
cmp dword [esp + 0x3c], 8
mov eax, dword [esp + 0x28]
mov byte [esp + 0x68], 1
mov dword [esp + 0x40], 1
mov dword [esp + 0x44], 0x30
jae 0x585fc0
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00583334
pop ecx
pop ecx
push ebx
push 1
lea ecx, [esp + 0x30]
call fcn.0042341c
push 0
push 1
lea ecx, [esp + 0x18]
call fcn.0040a0e9
mov ecx, dword [esp + 0x60]
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x586013
Capabilities:
Get common file path

Disassembly:
mov eax, 0x67a6e9
call fcn.006313fc
sub esp, 0x4a4
push ebx
push esi
xor ecx, ecx
lea eax, [ebp - 0x260]
push edi
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 edi, edi
inc edi
test eax, eax
je 0x5860e3
push str.macromed_flash
lea ecx, [ebp - 0x58]
call fcn.004249e7
lea eax, [ebp - 0x58]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00423c3b
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
call fcn.0045e8f3
mov bl, al
test bl, bl
je 0x5860cd
push str._flash.ocx
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00422e5f
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x5860a1
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 0x5860c0
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
push 0
push edi
lea ecx, [ebp - 0x28]
and bl, bh
call fcn.0042341c
push 0
push edi
lea ecx, [ebp - 0x40]
call fcn.0042341c
push 0
push edi
lea ecx, [ebp - 0x58]
call fcn.0042341c
mov esi, dword [ebp + 8]
xor eax, eax
and dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
and dword [ebp - 4], eax
mov dword [ebp - 0x10], edi
test bl, bl
je 0x586115
push esi
push str.CurrentVersion
push str.SOFTWAREMacromediaFlashPlayer
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00481d3f
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 4
Function at 0x586b97
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 0x586bab
sub esi, ecx
mov eax, 0x7d0
sar esi, 1
cmp esi, eax
jl 0x586bc5
mov esi, eax
lea eax, [esi + 1]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x2000]
push eax
call fcn.004243e1
lea edx, [ebp - 0x2000]
mov ecx, 0x6d7e50
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 0x586be8
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 0x586d45
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0x10
jb 0x586d54
mov eax, dword [esi]
jmp 0x586d56
mov eax, esi
push 0x69338c
push eax
call fcn.00479d5f
test al, al
jne 0x586d80
cmp dword [esi + 0x14], 0x10
jb 0x586d6f
mov eax, dword [esi]
jmp 0x586d71
mov eax, esi
push 0x6954c8
push eax
call fcn.00479d5f
test al, al
je 0x586d9a
cmp dword [esi + 0x14], 0x10
jb 0x586d88
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 0x588237
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x67a81f
call fcn.006313fc
sub esp, 0xb0
inc dword [0x75f9f0]
lea eax, [esp]
push ebx
push esi
push eax
call fcn.00588c80
xor ebx, ebx
xor esi, esi
inc ebx
mov dword [esp + 0xc0], esi
cmp dword [esp + 0x18], esi
je 0x588474
mov eax, dword [esp + 8]
push edi
push 8
pop edi
cmp dword [esp + 0x20], edi
jae 0x588280
lea eax, [esp + 0xc]
push str.http:__
push eax
call fcn.0047a2c6
test al, al
jne 0x5882b0
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x20], edi
jae 0x58829d
lea eax, [esp + 0xc]
push str.https:__
push eax
call fcn.0047a2c6
test al, al
je 0x588473
lea eax, [esp + 0xa4]
push eax
call fcn.004793d0
push eax
push dword [esp + 0xd4]
lea eax, [esp + 0x64]
mov byte [esp + 0xcc], bl
push eax
call fcn.00423d4c
push esi
push ebx
lea ecx, [esp + 0xac]
mov byte [esp + 0xcc], 3
call fcn.0042341c
mov eax, dword [esp + 0x6c]
dec eax
cmp eax, 0x3ff
jae 0x588468
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x20], edi
jae 0x58830a
lea eax, [esp + 0xc]
push str.http:__www.bittorrent.com
push eax
call fcn.0047a370
test al, al
je 0x588357
mov ecx, dword [0x764ae4]
mov eax, 0x2710
test ecx, ecx
je 0x58832d
call fcn.00476996
push eax
lea eax, [esp + 0x78]
push str.http:__127.0.0.1:_d_search_q__s
push eax
call fcn.0047224d
add esp, 0xc
lea ecx, [esp + 0xc]
push eax
call fcn.0044dbe6
push esi
push ebx
lea ecx, [esp + 0x7c]
call fcn.0042341c
jmp 0x588388
push ebp
mov ebp, 0x689854
push ebp
call fcn.004236bc
pop ecx
push eax
push esi
push ebp
lea ecx, [esp + 0x1c]
call fcn.00435701
cmp eax, 0xffffffff
jne 0x588387
push ebp
call fcn.004236bc
pop ecx
push eax
push ebp
lea ecx, [esp + 0x18]
call fcn.004234f9
pop ebp
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.0046e249
cmp dword [esp + 0x40], 0x10
mov eax, dword [esp + 0x2c]
mov byte [esp + 0xc4], 4
jae 0x5883ae
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x48]
push 0x6d7ee4
push eax
call fcn.0047224d
add esp, 0xc
push 0x73
pop eax
mov word [esp + 0x24], ax
mov eax, dword [esp + 0x44]
mov byte [esp + 0xc4], 5
cmp dword [esp + 0x58], edi
jae 0x5883df
lea eax, [esp + 0x44]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x20], edi
jae 0x5883f1
lea eax, [esp + 0xc]
push ebx
lea ecx, [esp + 0x28]
push ecx
push eax
lea eax, [esp + 0x98]
push eax
call fcn.0047f951
lea eax, [esp + 0x8c]
mov byte [esp + 0xc4], 6
push eax
lea eax, [esp + 0x78]
push eax
call fcn.0043d091
cmp dword [eax + 0x14], 0x10
jb 0x588427
mov eax, dword [eax]
push ebx
push esi
push esi
push eax
push esi
push dword [esp + 0xe8]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push esi
push ebx
lea ecx, [esp + 0x7c]
call fcn.0040a0e9
push esi
push ebx
lea ecx, [esp + 0x94]
call fcn.0042341c
push esi
push ebx
lea ecx, [esp + 0x4c]
call fcn.0042341c
push esi
push ebx
lea ecx, [esp + 0x34]
call fcn.0040a0e9
push esi
push ebx
lea ecx, [esp + 0x64]
call fcn.0042341c
pop edi
push esi
push ebx
lea ecx, [esp + 0x10]
call fcn.0042341c
mov ecx, dword [esp + 0xb8]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x588493
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x66d28b
call fcn.006313fc
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push 0x791ac0
lea ecx, [esp + 0x18]
mov ebx, eax
call fcn.00422efb
mov edi, dword [esp + 0x14]
xor eax, eax
cmp dword [esp + 0x28], 8
mov dword [esp + 0x34], eax
jae 0x5884cf
lea edi, [esp + 0x14]
mov byte [esp + 0x13], 1
mov esi, eax
push edi
mov ebp, edi
call fcn.00479d30
push 0x7c
push ebp
mov edi, eax
call fcn.00478a87
mov ecx, eax
xor eax, eax
cmp word [ebp], ax
je 0x588512
inc esi
test ecx, ecx
je 0x5884fd
push ecx
call fcn.005861c8
push eax
push ebp
push esi
xor eax, eax
push eax
push ebx
call fcn.005856dd
mov byte [esp + 0x13], 1
xor eax, eax
jmp 0x58852d
cmp byte [esp + 0x13], al
je 0x588529
push eax
push eax
push esi
push 0x800
push ebx
call fcn.005856dd
inc esi
xor eax, eax
mov byte [esp + 0x13], al
test edi, edi
jne 0x5884d6
push eax
push 0x341
inc esi
call fcn.00582370
push eax
push esi
push edi
push ebx
call fcn.005856dd
push edi
push edi
push 0x800
push ebx
mov ebp, esi
call dword [sym.imp.USER32.dll_AppendMenuW]
push 0x8000
push 0x10
push 0x10
push 1
push 0x15a
push dword [0x791130]
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push 0x33d
add esi, 2
call fcn.00582370
push eax
push esi
push edi
push ebx
call fcn.005856dd
mov eax, dword [0x791b0c]
push 0x80
inc eax
push eax
push ebx
push dword [0x791140]
call dword [sym.imp.USER32.dll_HiliteMenuItem]
cmp byte [esp + 0x44], 0
mov ecx, 0x182
jne 0x5885b1
add ecx, 8
mov eax, dword [esp + 0x40]
push edi
push dword [0x791140]
push edi
push dword [eax + 4]
push dword [eax]
push ecx
push ebx
call dword [sym.imp.USER32.dll_TrackPopupMenu]
push ebx
mov edi, eax
call dword [sym.imp.USER32.dll_DestroyMenu]
cmp edi, ebp
jne 0x588610
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x5885eb
push 0x10
call fcn.005c61d0
xor eax, eax
mov edi, eax
push eax
push 1
lea ecx, [esp + 0x1c]
call fcn.0042341c
mov ecx, dword [esp + 0x2c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
leave
ret 8
test edi, edi
je 0x5885eb
cmp edi, esi
push 0x10
sete byte [0x791b10]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x5885eb
xor eax, eax
jmp 0x5885ef
Function at 0x58a3ef
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 0x58a415
push 0x58a9dd
push 0x10
push 0x10
push 3
call fcn.0058ab6c
mov dword [edi + 0x68], eax
push 0x58b054
push 9
push 9
push 2
mov ecx, edi
call fcn.0058ab6c
mov dword [edi + 0x6c], eax
lea eax, [ebp - 0x208]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
jne 0x58a447
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 0x58cf44
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x6744c1
call fcn.006313fc
push ebx
mov ebx, dword [esp + 0x18]
push esi
mov esi, ecx
cmp dword [esi + 0x4c], ebx
je 0x58d02b
push ebp
mov ebp, dword [esi + 4]
test ebp, ebp
je 0x58cf70
push 0
push ebp
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 0x58cfe8
push edi
push 0x14
call fcn.00630af1
mov edi, eax
pop ecx
mov dword [esp + 0x24], edi
and dword [esp + 0x18], 0
test edi, edi
je 0x58cfb0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
mov dword [edi + 8], esi
mov dword [edi], 0x6d7c30
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], eax
jmp 0x58cfb2
xor edi, edi
mov eax, dword [esi + 0x40]
mov ecx, ebx
or dword [esp + 0x18], 0xffffffff
add ecx, ecx
push edi
push fcn.00584271
push dword [eax + 4]
mov eax, dword [esi + 0x44]
push dword [eax + ecx*8]
push dword [0x791130]
call fcn.005833e1
cmp byte [esi + 0x50], 0
mov dword [esi + 4], eax
pop edi
je 0x58cfe8
push eax
call fcn.005844a8
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 [esp + 0x24], 0
je 0x58d02a
push ebp
push dword [esp + 0x28]
call fcn.0058a9ae
pop ebp
mov ecx, dword [esp + 8]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8