joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5a7f4c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x5a7f63
add esp, 0xfffffff0
call fcn.00408364
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004af868
mov eax, dword [0x7c78cc]
cmp byte [eax], 0
jne 0x5a7f90
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x19c], al
mov eax, dword [0x7c8270]
cmp word [eax + 2], 0
jne 0x5a7faa
mov eax, dword [0x7c8270]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005aa3d4
mov eax, dword [0x7c85b0]
cmp word [eax + 2], 0
jne 0x5a7fc4
mov eax, dword [0x7c85b0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005aa7ec
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x4eb81c]
call fcn.004f24cc
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x5aac9c
mov dl, 1
mov eax, dword [0x473608]
call fcn.00407df8
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x473608]
call fcn.00407df8
mov dword [ebx + 0xc8], eax
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x70], 0xff000018
mov dword [ebx + 0x8c], 0x1f4
mov byte [ebx + 0x90], 1
xor eax, eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x88], 0x9c4
mov byte [ebx + 0xbd], 1
mov byte [ebx + 0xd4], 1
mov dl, 1
mov eax, dword [0x4f0aec]
call fcn.004fc634
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x5a81b4
mov eax, dword [0x7c7e90]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.004fcabc
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x5aaf60
mov dl, 1
mov eax, dword [0x473608]
call fcn.00407df8
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x7c7e90]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00425634
test eax, eax
je 0x5a80d7
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00425438
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00425618
test eax, eax
je 0x5a80ef
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0xa4]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.0040a6f8
push ebx
push 0x5a9da8
call fcn.0059ccf0
mov dword [ebx + 0x198], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x7c78cc]
cmp byte [eax], 0
jne 0x5a8140
mov eax, ebx
call fcn.005a837c
mov byte [ebx + 0x6d], 1
mov byte [ebx + 0x6e], 1
mov byte [ebx + 0x6f], 1
mov byte [ebx + 0xbe], 1
mov byte [ebx + 0xe9], 0
mov byte [ebx + 0xf4], 0
xor eax, eax
mov dword [ebx + 0xec], eax
mov byte [ebx + 0xeb], 0
xor eax, eax
mov dword [ebx + 0xc0], eax
mov eax, ebx
call fcn.005ab308
mov eax, ebx
call fcn.005abfc0
mov byte [ebx + 0x19e], 0
mov byte [ebx + 0xf5], 1
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5a81ab
call fcn.004083bc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5a86ac
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x190]
test eax, eax
je 0x5a874e
cmp dword [ebx + 0xac], 0
jne 0x5a8748
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5a85ec
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x5a8748
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x5a870e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5a8748
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0xa8]
mov edx, esi
call fcn.0049d1ec
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5a871d
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x5a8a90
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x7cfc54]
cmp dword [eax + 0x190], 0
je 0x5a8bf9
test bl, bl
jne 0x5a8b4c
cmp dword [esi + 0xb4], 0
jne 0x5a8b41
mov eax, esi
call fcn.005abe10
push eax
push 0x5a8990
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x5a8b12
mov eax, dword [0x7cfc54]
cmp byte [eax + 0xeb], 0
je 0x5a8b12
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5a8af3
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5a8b12
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5a8afb
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5a8b41
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.0049d1ec
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5a8b21
inc dword [esi + 0xb4]
jmp 0x5a8bf9
cmp dword [esi + 0xb4], 0
jle 0x5a8bf9
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x5a8bf9
cmp dword [esi + 0x58], 0
je 0x5a8bae
mov eax, dword [0x7cfc54]
cmp byte [eax + 0xeb], 0
je 0x5a8bae
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5a8b8f
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5a8bae
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5a8b97
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5a8bdd
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.0049d1ec
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5a8bbd
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x599190]
call fcn.0040ccdc
pop edi
pop esi
pop ebx
ret
Function at 0x5a99b4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x5a9a11
cmp byte [ebx + 0xeb], 0
jne 0x5a9a11
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x190]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00409c98
mov eax, dword [esi]
test eax, eax
je 0x5a99fe
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5a9a1e
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.00409ef0
jmp 0x5a9a1e
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.00409ef0
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5ab51c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5ab58d
mov eax, esi
call fcn.0052a2b0
test al, al
je 0x5ab58d
mov eax, dword [ebx + 0x98]
call fcn.00529e48
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5ab58d
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x160]
test al, al
je 0x5ab57e
push 0
mov eax, dword [ebx + 0x98]
call fcn.00529e48
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.005205b8
jmp 0x5ab58d
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.005ab328
pop esi
pop ebx
ret
Function at 0x5b8d1c
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00409bf4
xor eax, eax
push ebp
push 0x5b8e35
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov edx, dword [ebp - 4]
mov eax, edx
test eax, eax
je 0x5b8d56
sub eax, 4
mov eax, dword [eax]
test eax, eax
je 0x5b8e18
mov eax, edx
test eax, eax
je 0x5b8d69
sub eax, 4
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
cmp word [ecx + eax*2 - 2], 0x5c
jne 0x5b8d93
mov ebx, edx
test ebx, ebx
je 0x5b8d7f
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 4]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040aa18
mov edx, dword [ebp - 4]
mov eax, 0x5b8e54
call fcn.00424f48
mov ebx, eax
test ebx, ebx
jle 0x5b8e18
lea eax, [ebp - 8]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040aa18
lea eax, [ebp - 0x10]
push eax
push 0xf013f
push 0
mov eax, dword [ebp - 8]
call fcn.0040a644
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x5b8e18
mov esi, dword [ebp - 4]
test esi, esi
je 0x5b8de4
sub esi, 4
mov esi, dword [esi]
lea eax, [ebp - 8]
push eax
mov ecx, esi
sub ecx, ebx
lea edx, [ebx + 1]
mov eax, dword [ebp - 4]
call fcn.0040aa18
mov eax, dword [ebp - 8]
call fcn.0040a644
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegDeleteKeyW
test eax, eax
sete byte [ebp - 9]
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b8e3c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409b60
pop eax
jmp eax
Function at 0x60a540
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x60a6a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, dword [ebp - 8]
test esi, esi
je 0x60a582
or ebx, 0xffff
mov eax, esi
call fcn.0040a644
mov esi, eax
jmp 0x60a584
xor esi, esi
xor eax, eax
mov dword [ebp - 0xc], eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
push eax
call sub.winhttp.dll_WinHttpQueryHeaders
call sub.kernel32.dll_GetLastError
cmp eax, 0x2f76
jne 0x60a5b4
mov eax, edi
call fcn.00409b00
jmp 0x60a689
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
je 0x60a604
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
call sub.kernel32.dll_GetLastError
lea ecx, [ebp - 0x20]
mov edx, dword [0x7cfcf8]
call fcn.00429634
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0x11
lea eax, [ebp - 0x1c]
push eax
push 1
mov ecx, dword [0x7c7f1c]
mov dl, 1
mov eax, dword [0x60db84]
call fcn.0042adc4
call fcn.004091f8
mov edx, dword [ebp - 0xc]
shr edx, 1
dec edx
mov eax, edi
call fcn.0040a7d0
mov eax, dword [edi]
test eax, eax
je 0x60a61c
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x60a689
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [edi]
call fcn.0040a644
push eax
push esi
push ebx
mov eax, dword [ebp - 4]
push eax
call sub.winhttp.dll_WinHttpQueryHeaders
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x60a689
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
call sub.kernel32.dll_GetLastError
lea ecx, [ebp - 0x24]
mov edx, dword [0x7cfcf8]
call fcn.00429634
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0x11
lea eax, [ebp - 0x1c]
push eax
push 1
mov ecx, dword [0x7c7f1c]
mov dl, 1
mov eax, dword [0x60db84]
call fcn.0042adc4
call fcn.004091f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60a6ad
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00409b60
pop eax
jmp eax

Function at 0x60a8ba
Capabilities:
Initialize winhttp library

Disassembly:
push ebx
push esi
push edi
test dl, dl
je 0x60a87b
add esp, 0xfffffff0
call fcn.00408364
mov ebx, edx
mov edi, eax
mov eax, edi
call fcn.0061453c
mov dl, 1
mov eax, dword [0x608c50]
call fcn.0060d9d4
mov dword [edi + 0xb8], eax
mov dl, 1
mov eax, dword [0x5f9d00]
call fcn.006050d8
mov dword [edi + 0xb4], eax
mov eax, dword [0x607d20]
call fcn.0060d590
push 0
push 0
push 0
push 1
push 0x60a91c
call sub.winhttp.dll_WinHttpOpen
mov esi, eax
mov dword [edi + 0xb0], esi
test esi, esi
jne 0x60a8e9
mov ecx, dword [0x7c826c]
mov dl, 1
mov eax, dword [0x60dc3c]
call fcn.0042ad88
call fcn.004091f8
push 0
push 0x10010
push 0x60a6c8
mov eax, dword [edi + 0xb0]
push eax
call sub.winhttp.dll_WinHttpSetStatusCallback
mov eax, edi
test bl, bl
je 0x60a916
call fcn.004083bc
pop dword fs:[0]
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x60bdf4
Capabilities:
Prepare http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x60bfd0
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebx + 0xb9], 0
mov byte [ebx + 0xb8], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
jle 0x60be3e
mov esi, dword [ebp - 4]
movzx esi, word [esi + 0x10]
jmp 0x60be40
xor esi, esi
push 0
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0040a644
push eax
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0xb0]
push eax
call sub.winhttp.dll_WinHttpConnect
mov edi, eax
mov dword [ebx + 0xa0], edi
test edi, edi
jne 0x60be94
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x7c78a4]
mov dl, 1
mov eax, dword [0x60dd04]
call fcn.0042adc4
call fcn.004091f8
xor esi, esi
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, 0x60bfec
call fcn.0040a9e0
jne 0x60bead
or esi, 0x800000
push esi
push 0
push 0
push 0
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0060a500
mov eax, dword [ebp - 0x10]
call fcn.0040a644
push eax
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.00601388
mov eax, dword [ebp - 0x14]
call fcn.0040a644
push eax
mov eax, dword [ebx + 0xa0]
push eax
call sub.winhttp.dll_WinHttpOpenRequest
mov edi, eax
mov dword [ebx + 0xa4], edi
test edi, edi
jne 0x60bf39
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
call sub.kernel32.dll_GetLastError
lea ecx, [ebp - 0x28]
mov edx, dword [0x7cfcf8]
call fcn.00429634
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0x11
lea eax, [ebp - 0x24]
push eax
push 1
mov ecx, dword [0x7c8194]
mov dl, 1
mov eax, dword [0x60dd04]
call fcn.0042adc4
call fcn.004091f8
mov eax, dword [ebx + 0x14]
push eax
mov eax, ebx
call fcn.006014dc
push eax
mov esi, dword [ebx + 0xc]
push esi
push esi
mov eax, dword [ebx + 0xa4]
push eax
call sub.winhttp.dll_WinHttpSetTimeouts
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x60bfa6
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
call sub.kernel32.dll_GetLastError
lea ecx, [ebp - 0x2c]
mov edx, dword [0x7cfcf8]
call fcn.00429634
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0x11
lea eax, [ebp - 0x24]
push eax
push 1
mov ecx, dword [0x7c8430]
mov dl, 1
mov eax, dword [0x60dd04]
call fcn.0042adc4
call fcn.004091f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60bfd7
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00409b60
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00409b60
pop eax
jmp eax
Function at 0x64c658
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffffdc
mov ebx, eax
mov eax, ebx
call fcn.00409b00
mov dword [esp], 0xf
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x64c689
lea edx, [esp + 4]
mov eax, ebx
mov ecx, dword [esp]
call fcn.00409c98
add esp, 0x24
pop ebx
ret

Function at 0x6507f8
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.0040776c
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret
Function at 0x6756e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x6756e8
push ecx
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x67589f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x18]
mov ecx, dword [eax + 0xc]
lea eax, [ebp - 4]
mov edx, 0x6758b8
call fcn.0040a8a8
push esi
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0x11
mov eax, dword [ebx + 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
movzx ecx, word [ebx + 0x30]
mov eax, dword [ebx + 0x1c]
xor edx, edx
call fcn.006738e0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0x11
lea edx, [ebp - 0x14]
mov ecx, 1
mov eax, 0x6758cc
call fcn.006206f0
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x675763
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x6757a4
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebx + 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
movzx ecx, word [ebx + 0x30]
mov eax, dword [ebx + 0xc]
xor edx, edx
call fcn.006738e0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x675934
call fcn.006206f0
mov edx, dword [ebp - 0x1c]
mov eax, esi
call fcn.0040a850
mov eax, esi
mov edx, 0x675960
call fcn.0040a850
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x6757bc
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x67582a
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x675974
call fcn.006206f0
mov edx, dword [ebp - 0x2c]
mov eax, esi
call fcn.0040a850
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x6757f3
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x67581e
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x6759a4
call fcn.006206f0
mov edx, dword [ebp - 0x30]
mov eax, esi
call fcn.0040a850
mov eax, esi
mov edx, 0x675960
call fcn.0040a850
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x675836
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x675861
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x6759d0
call fcn.006206f0
mov edx, dword [ebp - 0x34]
mov eax, esi
call fcn.0040a850
mov eax, esi
mov edx, 0x675960
call fcn.0040a850
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6758a6
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.00409b60
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00409b60
lea eax, [ebp - 4]
call fcn.00409b00
pop eax
jmp eax
Function at 0x6a1a28
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x6a1a30
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x6a1d77
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x477334]
call fcn.004a1dec
mov dword [ebp - 0xc], eax
mov ecx, 1
mov edx, ebx
mov eax, 0x6a1d94
call fcn.0040ab74
test eax, eax
jne 0x6a1a80
lea eax, [ebp - 4]
mov ecx, ebx
mov edx, dword [0x7b2f60]
call fcn.0040a8a8
jmp 0x6a1a8a
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00409f38
cmp byte [0x7b2f68], 0
je 0x6a1c2c
xor ecx, ecx
mov dl, 1
mov eax, dword [0x47ae6c]
call fcn.004a3048
mov dword [ebp - 0x10], eax
mov eax, dword [0x60f8f0]
call fcn.006145c0
mov dword [ebp - 0x18], eax
mov edx, 0x6a1da8
mov eax, dword [ebp - 0x18]
call fcn.00601064
xor edx, edx
push ebp
push 0x6a1c25
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x6a1b44
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
call fcn.0061545c
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x3c]
cmp eax, 0xc8
jne 0x6a1b24
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x10]
call fcn.004a3178
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.0042385c
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
jmp 0x6a1b37
xor ecx, ecx
mov dl, 1
mov eax, dword [0x41c148]
call fcn.0042acc8
call fcn.004091f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6a1c05
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6a1d4a
mov eax, dword [ebp - 0x18]
call fcn.00407e28
mov eax, dword [ebp - 0x10]
call fcn.00407e28
pop eax
jmp eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x47ae6c]
call fcn.004a3048
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x69c160]
call fcn.00622a70
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x148], 1
xor edx, edx
push ebp
push 0x6a1d43
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x6a1c8c
push dword fs:[edx]
mov dword fs:[edx], esp
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.0069cb94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6a1d02
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x10]
call fcn.004a3178
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
call fcn.0042385c
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6a1d4a
mov eax, dword [ebp - 0x14]
call fcn.00407e28
mov eax, dword [ebp - 0x10]
call fcn.00407e28
pop eax
jmp eax
Function at 0x6a2a3c
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff14
push ebx
xor edx, edx
mov dword [ebp - 0xd4], edx
mov dword [ebp - 0xe8], edx
mov dword [ebp - 0xec], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6a2b23
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0x64
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xce]
push eax
call sub.advapi32.dll_GetUserNameW
test eax, eax
je 0x6a2a99
mov eax, ebx
lea edx, [ebp - 0xce]
mov ecx, 0x65
call fcn.0040a6f8
jmp 0x6a2aa0
mov eax, ebx
call fcn.00409b00
lea eax, [ebp - 0xec]
mov edx, dword [ebx]
mov ecx, 0
call fcn.0040a40c
mov edx, dword [ebp - 0xec]
lea eax, [ebp - 0xe8]
call fcn.0040a714
mov eax, dword [ebp - 0xe8]
lea edx, [ebp - 0xe4]
call fcn.006509a0
lea eax, [ebp - 0xe4]
lea edx, [ebp - 0xd4]
call fcn.00650914
mov edx, dword [ebp - 0xd4]
mov eax, ebx
call fcn.00409ef0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6a2b2a
lea eax, [ebp - 0xec]
call fcn.00409b24
lea eax, [ebp - 0xe8]
call fcn.00409b00
lea eax, [ebp - 0xd4]
call fcn.00409b00
pop eax
jmp eax
Function at 0x6a8400
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ecx
mov dword [esp], 7
push 0
lea eax, [esp + 4]
push eax
call sub.wininet.dll_InternetGetConnectedState
cmp eax, 1
sbb eax, eax
inc eax
pop edx
ret

Function at 0x6a841c
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
xor edx, edx
mov dword [ebp - 0x60], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00409bf4
xor eax, eax
push ebp
push 0x6a851b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov ecx, 0x6a8534
mov edx, dword [0x7d000c]
mov eax, 0x80000001
call fcn.005b8330
cmp dword [ebp - 8], 0
jne 0x6a847c
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040a644
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteW
jmp 0x6a84f6
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x44
call fcn.0040776c
mov dword [ebp - 0x4c], 0x44
mov dword [ebp - 0x20], 1
mov word [ebp - 0x1c], 5
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push 0x28
push 0
push 0
push 0
push 0x6a855c
push dword [ebp - 8]
push 0x6a856c
push dword [ebp - 4]
lea eax, [ebp - 0x60]
mov edx, 4
call fcn.0040a930
mov eax, dword [ebp - 0x60]
call fcn.0040a644
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x6a84f6
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6a8522
lea eax, [ebp - 0x60]
call fcn.00409b00
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409b60
pop eax
jmp eax