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

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x5fdf42
cmp dword [ebx + 0xac], 0
jne 0x5fdf3c
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5fdde0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x5fdf3c
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 0x5fdf02
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5fdf3c
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.004bf4b4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5fdf11
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x6527bc]
cmp dword [eax + 0x188], 0
je 0x5fe351
test bl, bl
jne 0x5fe2a4
cmp dword [esi + 0xb4], 0
jne 0x5fe299
mov eax, esi
call fcn.006012c8
push eax
push 0x5fe0e8
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x5fe26a
mov eax, dword [0x6527bc]
cmp byte [eax + 0xeb], 0
je 0x5fe26a
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5fe24b
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5fe26a
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 0x5fe253
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5fe299
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004bf4b4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5fe279
inc dword [esi + 0xb4]
jmp 0x5fe351
cmp dword [esi + 0xb4], 0
jle 0x5fe351
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x5fe351
cmp dword [esi + 0x58], 0
je 0x5fe306
mov eax, dword [0x6527bc]
cmp byte [eax + 0xeb], 0
je 0x5fe306
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5fe2e7
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5fe306
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 0x5fe2ef
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5fe335
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004bf4b4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5fe315
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x5eeb00]
call fcn.0040e0c4
pop edi
pop esi
pop ebx
ret
Function at 0x5ff110
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 0x5ff16d
cmp byte [ebx + 0xeb], 0
jne 0x5ff16d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x188]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040b324
mov eax, dword [esi]
test eax, eax
je 0x5ff15a
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5ff17a
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040b57c
jmp 0x5ff17a
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040b57c
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x6009e0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x600a51
mov eax, esi
call fcn.00558380
test al, al
je 0x600a51
mov eax, dword [ebx + 0x98]
call fcn.00557fac
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x600a51
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x150]
test al, al
je 0x600a42
push 0
mov eax, dword [ebx + 0x98]
call fcn.00557fac
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.0054e3b4
jmp 0x600a51
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.006007ec
pop esi
pop ebx
ret
Function at 0x6095e0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x90], 0
jne 0x609666
mov eax, dword [ebx + 8]
call fcn.00557fac
mov ecx, eax
mov dl, 1
mov eax, dword [0x566d40]
call fcn.00551ce8
mov dword [ebx + 0x90], eax
mov esi, dword [ebx + 0x90]
xor edx, edx
mov eax, esi
call fcn.0056da08
mov dword [esi + 0x2d4], ebx
mov dword [esi + 0x2d0], 0x608eb0
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xdc]
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x90]
call fcn.00557fac
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x90]
call fcn.00557fac
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0xa0], 0
jne 0x6096e8
mov eax, dword [ebx + 8]
call fcn.00557fac
mov ecx, eax
mov dl, 1
mov eax, dword [0x566d40]
call fcn.00551ce8
mov dword [ebx + 0xa0], eax
mov esi, dword [ebx + 0xa0]
mov dl, 1
mov eax, esi
call fcn.0056da08
mov dword [esi + 0x2d4], ebx
mov dword [esi + 0x2d0], 0x608efc
push 8
push 0
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xdc]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0xa0]
call fcn.00557fac
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0xa0]
call fcn.00557fac
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x98], 0
jne 0x609766
mov eax, dword [ebx + 8]
call fcn.00557fac
mov ecx, eax
mov dl, 1
mov eax, dword [0x567824]
call fcn.00551ce8
mov dword [ebx + 0x98], eax
mov esi, dword [ebx + 0x98]
mov byte [esi + 0x2a8], 1
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xdc]
push eax
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xdc]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x98]
call fcn.00557fac
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x98]
call fcn.00557fac
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x616168
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.0040b280
xor eax, eax
push ebp
push 0x6162a5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x616278
xor edx, edx
push ebp
push 0x616271
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x6161b5
sub eax, 4
mov eax, dword [eax]
add eax, eax
add eax, 2
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x616246
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x616235
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x6161f8
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.0040bd14
mov ecx, ebx
add ecx, ecx
add ecx, 2
mov edx, esi
call fcn.00407150
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 0xd
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61623c
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x64b100]
mov dl, 1
mov eax, dword [0x41eca8]
call fcn.0042c91c
call fcn.0040a818
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6162ac
lea eax, [ebp - 4]
call fcn.0040b19c
ret
Function at 0x6356fc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc98
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x6358ab
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x368], 0x114
lea eax, [ebp - 0x368]
push eax
call sub.kernel32.dll_GetVersionExW
xor ebx, ebx
cmp dword [ebp - 0x358], 2
jne 0x635895
lea ecx, [ebp - 4]
mov eax, dword [edi + 0x44]
mov edx, 0x6358c8
call fcn.0042730c
push 0xa
push 0x6358d4
mov eax, dword [0x64f634]
push eax
call sub.kernel32.dll_FindResourceW
mov esi, eax
push esi
mov eax, dword [0x64f634]
push eax
call sub.kernel32.dll_LoadResource
push eax
call sub.kernel32.dll_LockResource
mov ebx, eax
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x254]
call fcn.00407d54
call fcn.00407078
mov edx, 1
lea eax, [ebp - 0x254]
call fcn.00408cd4
call fcn.00407078
push 0
push esi
mov eax, dword [0x64f634]
push eax
call sub.kernel32.dll_SizeofResource
mov ecx, eax
mov edx, ebx
lea eax, [ebp - 0x254]
call fcn.00407f64
call fcn.00407078
lea eax, [ebp - 0x254]
call fcn.00407f84
call fcn.00407078
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
call fcn.0040bd14
push eax
call sub.kernel32.dll_BeginUpdateResourceW
mov esi, eax
mov edx, dword [edi + 0x44]
lea eax, [ebp - 0x254]
call fcn.00407d54
call fcn.00407078
mov edx, 1
lea eax, [ebp - 0x254]
call fcn.00408cb8
call fcn.00407078
lea eax, [ebp - 0x254]
call fcn.00408008
call fcn.00407078
call fcn.00406f04
mov ebx, eax
push 0
lea eax, [ebp - 0x254]
call fcn.00408008
call fcn.00407078
mov ecx, eax
mov edx, ebx
lea eax, [ebp - 0x254]
call fcn.00407f44
call fcn.00407078
lea eax, [ebp - 0x254]
call fcn.00408008
call fcn.00407078
push eax
push ebx
push 0
push 0x6358d4
push 0xa
push esi
call sub.kernel32.dll_UpdateResourceW
push 0
push esi
call sub.kernel32.dll_EndUpdateResourceW
mov eax, ebx
call fcn.00406f20
lea eax, [ebp - 0x254]
call fcn.00407f84
call fcn.00407078
mov eax, dword [edi + 0x44]
call fcn.00427220
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6358b2
lea eax, [ebp - 4]
call fcn.0040b19c
ret
Function at 0x638d1c
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x69
push 0
push 0
dec ecx
jne 0x638d24
push ebx
push esi
push edi
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x639528
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x300]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x41c]
call fcn.004273e0
mov edx, dword [ebp - 0x300]
mov eax, dword [ebp - 0x10]
add eax, 0x498
call fcn.0040b57c
lea eax, [ebp - 0x304]
call fcn.00427694
mov edx, dword [ebp - 0x304]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x498]
call fcn.0040c0b4
je 0x638d9b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x498]
call fcn.0040bd14
push eax
call sub.kernel32.dll_SetCurrentDirectoryW
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3e0]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x454]
lea eax, [ebp - 4]
mov ecx, 0x639544
call fcn.0040bf7c
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x448]
lea eax, [ebp - 8]
mov ecx, 0x63956c
call fcn.0040bf7c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x414]
xor edx, edx
call fcn.0054e3b4
mov byte [ebp - 0x19], 0
push 0
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.0063bb58
test al, al
jne 0x638e6a
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x458], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3e8]
mov edx, 0x639594
call fcn.0054e504
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3ec]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x408]
xor edx, edx
call fcn.0054e3b4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3e4]
xor edx, edx
call fcn.0054e3b4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3f0]
mov dl, 1
call fcn.0054e3b4
jmp 0x6394dd
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.00426e84
test al, al
je 0x6394dd
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x458], 1
xor ecx, ecx
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x2fc]
call fcn.00407dd0
call fcn.00407078
xor eax, eax
push ebp
push 0x638f03
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x2fc]
call fcn.00407a14
call fcn.00407078
mov eax, dword [ebp - 0x10]
lea edx, [eax + 0x45c]
lea eax, [ebp - 0x2fc]
call fcn.00408a10
lea eax, [ebp - 0x2fc]
call fcn.00408b2c
call fcn.00407078
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x638f0a
lea eax, [ebp - 0x2fc]
call fcn.00407f84
call fcn.00407078
mov eax, dword [ebp - 8]
call fcn.00427220
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x63952f
lea eax, [ebp - 0x348]
mov edx, 5
call fcn.0040b1fc
lea eax, [ebp - 0x334]
mov edx, 2
call fcn.0040b1fc
lea eax, [ebp - 0x32c]
mov edx, 0xc
call fcn.0040b1fc
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040b1fc
ret
Function at 0x63b798
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 6
push 0
push 0
dec ecx
jne 0x63b7a1
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040b280
mov eax, dword [ebp - 8]
call fcn.0040b280
xor eax, eax
push ebp
push 0x63b940
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00429760
add esp, 0xfffffff8
fstp qword [esp]
wait
lea ecx, [ebp - 0x12]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x16]
call fcn.004296d8
lea edx, [ebp - 0x1c]
mov eax, dword [ebx + 0x42c]
call fcn.0042ded0
push dword [ebp - 0x1c]
push dword [ebp - 8]
push 0x63b95c
lea edx, [ebp - 0x20]
movzx eax, word [ebp - 0x16]
call fcn.00426504
push dword [ebp - 0x20]
push 0x63b974
lea eax, [ebp - 0x24]
push eax
movzx eax, word [ebp - 0x14]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x2c]
xor ecx, ecx
mov eax, 0x63b984
call fcn.00427b78
push dword [ebp - 0x24]
push 0x63b974
lea eax, [ebp - 0x30]
push eax
movzx eax, word [ebp - 0x12]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x2c]
xor ecx, ecx
mov eax, 0x63b984
call fcn.00427b78
push dword [ebp - 0x30]
lea eax, [ebp - 0xc]
mov edx, 8
call fcn.0040c004
push dword [ebp - 0xc]
push 0x63b99c
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.0042742c
push dword [ebp - 0x34]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.0040c004
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.00426f1c
test al, al
jne 0x63b8a8
mov eax, dword [ebp - 0xc]
call fcn.00426ffc
xor eax, eax
push ebp
push 0x63b8ff
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [ebp - 0x10]
call fcn.00426e84
test al, al
jne 0x63b8f3
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00426e84
test al, al
je 0x63b8f3
push 0
mov eax, dword [ebp - 0x10]
call fcn.0040bd14
push eax
mov eax, dword [ebp - 4]
call fcn.0040bd14
push eax
call sub.kernel32.dll_CopyFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x63b8f5
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x63b90b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x63b947
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.0040b1fc
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.0040b1fc
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.0040b1fc
ret
Function at 0x63bb58
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff998
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.0040b280
mov eax, dword [ebp - 8]
call fcn.0040b280
mov eax, dword [ebp + 0xc]
call fcn.0040b280
mov eax, dword [ebp + 8]
call fcn.0040b280
lea ebx, [ebp - 0x18]
xor eax, eax
push ebp
push 0x63bd0c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
push 0x63bd20
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 0x10], eax
push 0
push 0
push 3
mov eax, dword [ebp + 0xc]
call fcn.0040bd14
push eax
mov eax, dword [ebp - 8]
call fcn.0040bd14
push eax
push 0x1bb
mov eax, dword [ebp - 4]
call fcn.0040bd14
mov esi, eax
push esi
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetConnectW
xor eax, eax
push ebp
push 0x63bcdd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x80000000
push 0
push 0
push esi
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetOpenUrlW
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x63bcbf
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x668]
call fcn.00407d54
call fcn.00407078
mov edx, 1
lea eax, [ebp - 0x668]
call fcn.00408cd4
call fcn.00407078
xor eax, eax
push ebp
push 0x63bca1
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
push 0x400
lea eax, [ebp - 0x418]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetReadFile
push 0
lea edx, [ebp - 0x418]
mov ecx, dword [ebx]
lea eax, [ebp - 0x668]
call fcn.00407f64
call fcn.00407078
cmp dword [ebx], 0
jne 0x63bc4a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x63bca8
lea eax, [ebp - 0x668]
call fcn.00407f84
call fcn.00407078
mov byte [ebp - 9], 1
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x429008]
jne 0x40100a
repz ret
jmp fcn.00401dd8

Function at 0x405eea
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00403abe
and dword [ebp - 4], 0
cmp dword [0x42b25c], 0
mov ebx, eax
jne 0x405f9b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40604c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40604c
push eax
call fcn.00403a4c
mov dword [esp], 0x4269ac
push edi
mov dword [0x42b25c], eax
call esi
push eax
call fcn.00403a4c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42b260], eax
call esi
push eax
call fcn.00403a4c
mov dword [esp], 0x42697c
push edi
mov dword [0x42b264], eax
call esi
push eax
call fcn.00403a4c
pop ecx
mov dword [0x42b26c], eax
test eax, eax
je 0x405f9b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403a4c
pop ecx
mov dword [0x42b268], eax
mov eax, dword [0x42b268]
cmp eax, ebx
je 0x405ff3
cmp dword [0x42b26c], ebx
je 0x405ff3
push eax
call fcn.00403ac7
push dword [0x42b26c]
mov esi, eax
call fcn.00403ac7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x405ff3
test edi, edi
je 0x405ff3
call esi
test eax, eax
je 0x405fea
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x405fea
test byte [ebp - 0xc], 1
jne 0x405ff3
or dword [ebp + 0x10], 0x200000
jmp 0x40602c
mov eax, dword [0x42b260]
cmp eax, ebx
je 0x40602c
push eax
call fcn.00403ac7
pop ecx
test eax, eax
je 0x40602c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40602c
mov eax, dword [0x42b264]
cmp eax, ebx
je 0x40602c
push eax
call fcn.00403ac7
pop ecx
test eax, eax
je 0x40602c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42b25c]
call fcn.00403ac7
pop ecx
test eax, eax
je 0x40604c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40604e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4254a0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x102c
call fcn.00408f60
mov eax, dword [0x429008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x100c], eax
cmp ebx, 0x182
jne 0x4254d9
lea ecx, [ebp - 0x102c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
jmp 0x4254e9
cmp ebx, 0x19f
jne 0x4254e9
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push edi
xor edi, edi
test ebx, ebx
jle 0x42556f
push esi
jmp 0x425500
lea esi, [ebp - 0x1008]
mov dword [ebp - 0x1008], 0
call fcn.00425490
mov dl, byte [ebp - 0x1008]
mov eax, dword [ebp - 0x100c]
xor byte [eax + edi], dl
cmp ebx, 0xf
jne 0x425569
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x1004]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push str.jenosumasotubo
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push 0
lea edx, [ebp - 0x804]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SleepEx]
inc edi
cmp edi, ebx
jl 0x425500
pop esi
pop edi
cmp ebx, 0x2d
jne 0x425589
mov dword [0x520f40], 0xa62e7790
mov dword [0x520f44], 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret

Function at 0x4255a0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x520e0c]
push ebx
push esi
mov esi, dword [0x520c54]
mov ebx, eax
cmp eax, 0x5dd
jne 0x4255c6
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov eax, dword [0x42a000]
call fcn.00425460
cmp dword [0x520e0c], 0x2f
jne 0x4255e1
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push esi
call fcn.004254a0
add esp, 4
cmp dword [0x520e0c], 0x568
pop esi
pop ebx
jne 0x425610
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov eax, dword [ebp - 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetNumaNodeProcessorMask]
mov esp, ebp
pop ebp
ret
Function at 0x409180
Capabilities:
Extract resource via kernel32 functions
Get common file path

Disassembly:
push 0x2c
mov eax, 0x43ac57
call fcn.004224e0
lea esi, [ecx + 0x130]
mov edi, 0x104
push edi
mov ecx, esi
call fcn.004017e6
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x40929f
push 0xffffffffffffffff
mov ecx, esi
call fcn.00401872
mov eax, dword [esi]
sub eax, 0x10
push eax
call fcn.004013b4
add eax, 0x10
pop ecx
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov ecx, esi
push edi
mov dword [ebp - 4], ebx
call fcn.004017e6
push eax
push ebx
push 0x44160c
lea ecx, [ebp - 0x10]
call fcn.004098f9
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.00401856
push 0xffffffffffffffff
mov ecx, esi
call fcn.00401872
lea ecx, [ebp - 0x38]
call fcn.00415039
push ebx
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 1
call fcn.00407d6f
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 2
push eax
push 0x1001
push dword [esi]
lea ecx, [ebp - 0x38]
call fcn.004154c1
test eax, eax
jne 0x409244
mov ecx, esi
call fcn.00401451
jmp 0x409281
push 0x441614
push 0x87
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
lea ecx, [ebp - 0x38]
call fcn.00415828
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x24], vtable.CFileException.0
lea ecx, [ecx - 0x10]
call fcn.00401856
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00415060
call fcn.004224ae
ret

Function at 0x4092bc
Capabilities:
Query environment variable

Disassembly:
push 0x20
mov eax, 0x43ac8a
call fcn.004224e0
mov edi, dword [ebp + 8]
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.004013b4
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
and dword [ebp - 4], 0
mov ebx, 0x104
push ebx
mov ecx, edi
call fcn.004017e6
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.00401856
push 0xffffffffffffffff
mov ecx, edi
call fcn.00401872
lea ecx, [ebp - 0x2c]
call fcn.0041623c
mov eax, dword [edi]
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
cmp dword [eax - 0xc], 0
je 0x409369
push 0
push eax
lea ecx, [ebp - 0x2c]
call fcn.004164d9
test eax, eax
je 0x409369
lea ecx, [ebp - 0x2c]
call fcn.00416681
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041679a
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.0040132a
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.00401856
lea ecx, [ebp - 0x2c]
call fcn.0041648d
jmp 0x40936b
xor ebx, ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004163ed
mov eax, ebx
call fcn.004224ae
ret 4