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

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x47f564]
cmp dword [eax + 0x30], 0
je 0x44e0fe
cmp dword [ebx + 0x94], 0
jne 0x44e0f8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44dfe4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44e0f8
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_GetWindowLongA
test al, 8
je 0x44e0be
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44e0f8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00418aa4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44e0cd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44ee18
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x44ee4d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404e64
jmp 0x44ee5a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404dc8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x450038
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4500a6
mov eax, esi
call fcn.0043d4b8
test al, al
je 0x4500a6
mov eax, dword [ebx + 0x84]
call fcn.0043d144
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4500a6
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45009a
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043d144
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004355f0
jmp 0x4500a6
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0044fe74
pop esi
pop ebx
ret

Function at 0x454464
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404d74
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4544b2
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404ff4
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x458534
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x458667
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x16]
push eax
call sub.user32.dll_GetKeyboardLayoutNameA
mov dl, 1
mov eax, dword [0x4214e0]
call fcn.004215b0
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x45863d
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0042168c
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.00404ff4
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x45867c
call fcn.00405094
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00421814
lea ecx, [ebp - 4]
mov edx, 0x4586b8
mov eax, dword [ebp - 0xc]
call fcn.00421a44
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0040e860
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x458620
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x4586c4
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x47a744]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458627
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret

Function at 0x458714
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x45875b
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45873e
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45874f
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x45875b
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x45a70c
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45a7b6
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x45a630
xor ecx, ecx
mov eax, ebx
call fcn.0045a30c
mov eax, ebx
call fcn.00405248
push eax
call sub.kernel32.dll_RemoveDirectoryA
test eax, eax
jne 0x45a79b
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x14], 0xb
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x1c]
call fcn.0040c3c8
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0xb
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
push 2
lea edx, [ebp - 0x20]
mov eax, 0x45a2a8
call fcn.00406dec
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x45a1b4]
call fcn.0040cc24
call fcn.00404780
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a7bd
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00404d98
ret
Function at 0x45a7c4
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
push esp
push 0x105
call sub.kernel32.dll_GetTempPathA
cmp eax, 1
jae 0x45a7e2
call fcn.0040e2a0
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00404ff4
add esp, 0x108
pop ebx
ret

Function at 0x45a7f8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, edx
lea edi, [ebp - 8]
push ecx
movzx ecx, byte [esi]
cmp cl, 3
jb 0x45a819
mov cl, 3
mov byte [edi], cl
inc esi
inc edi
rep movsb byte es:[edi], byte [esi]
pop ecx
mov esi, ecx
mov ebx, eax
xor eax, eax
push ebp
push 0x45a88d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
lea edx, [ebp - 8]
call fcn.00404fe8
lea eax, [ebp - 0x10d]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00405248
push eax
mov eax, ebx
call fcn.00405248
push eax
call sub.kernel32.dll_GetTempFileNameA
test eax, eax
jne 0x45a865
call fcn.0040e2a0
mov eax, esi
lea edx, [ebp - 0x10d]
mov ecx, 0x105
call fcn.00404ff4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a894
lea eax, [ebp - 4]
call fcn.00404d74
ret

Function at 0x45b900
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x45b99a
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea edx, [ebp - 0x18]
mov eax, esi
call fcn.004099d0
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00409898
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 4]
mov ecx, 0x45b9b4
call fcn.00405094
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00405248
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x45b977
test byte [ebp - 0xa], 4
setne bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b9a1
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404d98
lea eax, [ebp - 4]
call fcn.00404d74
ret
Function at 0x4622b4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, eax
mov byte [ebx + 4], 0xff
mov byte [ebx + 5], 0xff
mov byte [ebx + 6], 0xff
mov byte [ebx + 7], 0xff
mov byte [ebx + 8], 0xff
mov byte [ebx + 9], 0xff
mov byte [ebx + 0xa], 0xff
mov byte [ebx + 0xb], 0xff
mov byte [ebx + 0xc], 0xff
mov byte [ebx + 0xd], 0xff
mov byte [ebx + 0xe], 0xff
mov byte [ebx + 0xf], 0xff
mov byte [ebx + 0x10], 0xff
mov byte [ebx + 0x11], 0xff
mov byte [ebx + 0x12], 0xff
lea eax, [ebx + 0x13]
mov edx, 0x462460
call fcn.00404dc8
mov byte [ebx + 0x17], 0xff
mov byte [ebx + 0x18], 0xff
mov byte [ebx + 0x19], 0xff
mov byte [ebx + 0x1a], 0xff
mov byte [ebx + 0x1b], 0xff
mov byte [ebx + 0x1c], 0xff
mov byte [ebx + 0x1d], 0xff
mov byte [ebx + 0x1e], 0xff
mov byte [ebx + 0x1f], 0xff
mov byte [ebx + 0x20], 0xff
mov byte [ebx + 0x21], 0xff
lea eax, [ebx + 0x22]
mov edx, 0x462460
call fcn.00404dc8
lea eax, [ebx + 0x26]
mov edx, 0x462460
call fcn.00404dc8
mov byte [ebx + 0x2a], 0xff
mov byte [ebx + 0x2b], 0xff
mov byte [ebx + 0x2c], 0xff
mov byte [ebx + 0x2d], 0xff
mov byte [ebx + 0x2e], 0xff
mov byte [ebx + 0x2f], 0xff
mov byte [ebx + 0x30], 0xff
mov byte [ebx + 0x31], 0xff
mov byte [ebx + 0x32], 0xff
mov byte [ebx + 0x33], 0xff
mov byte [ebx + 0x34], 0xff
mov byte [ebx + 0x35], 0xff
mov byte [ebx + 0x36], 0xff
mov byte [ebx + 0x37], 0xff
mov eax, dword [ebx + 0x38]
mov edx, dword [eax]
call dword [edx + 0x44]
mov byte [ebx + 0x3c], 0xff
mov byte [ebx + 0x3d], 0xff
mov byte [ebx + 0x3e], 0xff
mov byte [ebx + 0x3f], 0xff
mov byte [ebx + 0x40], 0xff
lea eax, [ebx + 0x41]
mov edx, 0x462460
call fcn.00404dc8
mov byte [ebx + 0x45], 0xff
mov byte [ebx + 0x46], 0xff
mov byte [ebx + 0x47], 0xff
mov byte [ebx + 0x48], 0xff
mov byte [ebx + 0x49], 0xff
mov byte [ebx + 0x4a], 0xff
mov byte [ebx + 0x4b], 0xff
mov byte [ebx + 0x4c], 0xff
mov byte [ebx + 0x4d], 0xff
lea eax, [ebx + 0x4e]
mov edx, 0x462460
call fcn.00404dc8
mov byte [ebx + 0x52], 0xff
mov byte [ebx + 0x53], 0xff
mov byte [ebx + 0x54], 0xff
mov byte [ebx + 0x55], 0xff
mov byte [ebx + 0x56], 0xff
lea eax, [ebx + 0x57]
mov edx, 0x462460
call fcn.00404dc8
lea eax, [ebx + 0x5b]
mov edx, 0x462460
call fcn.00404dc8
mov byte [ebx + 0x5f], 0xff
mov byte [ebx + 0x60], 0xff
mov byte [ebx + 0x61], 0xff
lea eax, [ebx + 0x62]
mov edx, 0x462460
call fcn.00404dc8
lea eax, [ebx + 0x66]
mov edx, 0x462460
call fcn.00404dc8
mov byte [ebx + 0x6a], 0xff
lea eax, [ebx + 0x6b]
call fcn.00404d74
lea eax, [ebx + 0x6f]
call fcn.00404d74
mov byte [ebx + 0x73], 1
lea eax, [ebx + 0x74]
call fcn.00404d74
movzx eax, byte [0x462464]
mov byte [ebx + 0x78], al
pop ebx
ret
Function at 0x463604
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe70
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x190], ebx
mov dword [ebp - 0x188], ebx
mov dword [ebp - 0x184], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x178], ecx
mov dword [ebp - 0x174], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405238
mov eax, dword [ebp + 8]
call fcn.00405238
lea eax, [ebp - 0x170]
mov edx, dword [0x40800c]
call fcn.004058e4
xor eax, eax
push ebp
push 0x463846
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x174], 0
je 0x4637f7
mov eax, dword [ebp + 8]
call fcn.0045b900
test al, al
je 0x4637f7
mov eax, dword [ebp - 0x174]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4637f7
inc eax
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x17c], 0
lea ecx, [ebp - 8]
mov edx, dword [ebp - 0x17c]
mov eax, dword [ebp - 0x174]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 8]
call fcn.00405248
mov edx, eax
lea eax, [ebp - 0x184]
call fcn.00404f7c
mov edx, dword [ebp - 0x184]
mov eax, dword [ebp - 0x178]
mov ecx, dword [eax + 0x7a]
lea eax, [ebp - 0xc]
call fcn.0045bbe4
lea ecx, [ebp - 0x170]
mov edx, 0x3f
mov eax, dword [ebp - 8]
call fcn.004096b8
test eax, eax
jne 0x46370c
lea eax, [ebp - 0x170]
call fcn.0040972c
xor edx, edx
push ebp
push 0x463768
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x130]
push eax
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x13c]
push eax
mov eax, dword [ebp - 0x150]
push eax
push 0
mov eax, dword [ebp - 0x178]
cmp byte [eax + 5], 0
setg al
push eax
mov ecx, dword [ebp - 0x134]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0045b9b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x463789
lea ecx, [ebp - 0x188]
mov edx, dword [ebp - 0x17c]
mov eax, dword [ebp - 0x174]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, dword [ebp - 0x188]
mov dword [ebp - 0x18c], ebx
mov eax, dword [ebp - 0x18c]
call fcn.00405248
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4637e5
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x190]
call fcn.0040c3c8
mov edx, dword [ebp - 0x190]
mov eax, dword [ebp - 4]
call fcn.004635dc
inc dword [ebp - 0x17c]
dec dword [ebp - 0x180]
jne 0x4636aa
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46384d
lea eax, [ebp - 0x190]
call fcn.00404d74
lea eax, [ebp - 0x188]
mov edx, 2
call fcn.00404d98
lea eax, [ebp - 0x170]
mov edx, dword [0x40800c]
call fcn.004059b4
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404d98
lea eax, [ebp + 8]
call fcn.00404d74
ret
Function at 0x4663d0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x40ed74]
call fcn.004058e4
xor eax, eax
push ebp
push 0x466571
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x47a7a8], 0
jne 0x46642b
mov ecx, dword [0x47afa4]
mov dl, 1
mov eax, dword [0x40802c]
call fcn.0040cca4
call fcn.00404780
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.004036ec
mov eax, ebx
call fcn.004056fc
mov dword [ebp - 0x24], eax
mov esi, 0x466580
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.0040690c
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.0040570c
test eax, eax
jle 0x466514
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x466500
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404ff4
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x4664a6
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.0040500c
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x4664bc
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.0040500c
mov eax, dword [ebp - 0x54]
call fcn.00405248
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404ff4
mov eax, dword [ebp - 0x58]
call fcn.00405248
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x466502
xor eax, eax
test al, al
je 0x46650d
mov ebx, 0x15
jmp 0x466519
mov ebx, 0x10
jmp 0x466519
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x47a7a8]
call fcn.00466254
mov eax, dword [ebp - 4]
call fcn.00466254
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00406924
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466578
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00404d98
lea eax, [ebp - 0xc]
mov edx, dword [0x40ed74]
call fcn.004059b4
ret
Function at 0x4763fc
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x418], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x476534
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
push 0
push 0
push 0
push 0
push 0x476548
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x476514
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x4764fd
push 0
push 0x80000000
push 0
push 0
mov eax, esi
call fcn.00405248
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4764f6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0xc], 0
je 0x4764df
lea eax, [ebp - 0x411]
xor ecx, ecx
mov edx, 0x401
call fcn.004036ec
lea eax, [ebp - 0x10]
push eax
push 0x401
lea eax, [ebp - 0x411]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetReadFile
cmp dword [ebp - 0x10], 0
je 0x4764db
lea eax, [ebp - 0x418]
lea edx, [ebp - 0x411]
mov ecx, 0x401
call fcn.00404ff4
mov edx, dword [ebp - 0x418]
mov eax, ebx
call fcn.00405050
jmp 0x476485
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4764fd
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47651b
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret

Function at 0x476dd0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x476eeb
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
mov eax, esi
call fcn.00476cb0
mov eax, dword [ebp - 8]
call fcn.004095ec
test al, al
jne 0x476e3c
mov dword [ebp - 0x10], esi
mov byte [ebp - 0xc], 0xb
lea eax, [ebp - 0x10]
push eax
push 0
lea edx, [ebp - 0x14]
mov eax, 0x47635c
call fcn.00406dec
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x476178]
call fcn.0040cc24
call fcn.00404780
lea eax, [ebp - 4]
call fcn.0045a7c4
lea ecx, [ebp - 0x18]
mov edx, 0x476efc
mov eax, dword [ebp - 4]
call fcn.0045a7f8
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 4]
call fcn.00404e0c
mov eax, dword [ebp - 4]
call fcn.00405248
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 4]
call fcn.00409a80
test al, al
jne 0x476eaa
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0xb
lea eax, [ebp - 0x10]
push eax
push 0
lea edx, [ebp - 0x1c]
mov eax, 0x476364
call fcn.00406dec
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x4761d8]
call fcn.0040cc24
call fcn.00404780
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.00476c10
push 1
mov ecx, edi
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00477378
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476ef2
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404d98
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404d98
ret
Function at 0x476fb8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
xor edx, edx
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x6c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47708e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x44]
xor ecx, ecx
mov edx, 0x44
call fcn.004036ec
mov dword [ebp - 0x44], 0x44
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
push 0
push 0
push 0x4000000
push 0
push 0
push 0
mov eax, ebx
call fcn.00405248
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x477061
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x68]
call fcn.0040c3c8
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0
lea eax, [ebp - 0x64]
push eax
push 1
lea edx, [ebp - 0x6c]
mov eax, 0x476354
call fcn.00406dec
mov ecx, dword [ebp - 0x6c]
mov dl, 1
mov eax, dword [0x4760c4]
call fcn.0040cc24
call fcn.00404780
mov eax, dword [ebp - 0x50]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477095
lea eax, [ebp - 0x6c]
mov edx, 2
call fcn.00404d98
ret
Function at 0x4024e0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x417b3b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x41e2a0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0040547c
push 4
mov dword [esp + 0x20], 0
call fcn.00406471
mov edi, eax
add esp, 4
test edi, edi
je 0x40255e
call fcn.0040572e
mov dword [edi], eax
call fcn.0040555c
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.0040543d
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x402553
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.00405465
jmp 0x402560
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x404bd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [edi]
lea ecx, [esp]
push ecx
mov ecx, dword [esp + 0xc]
push esi
add eax, eax
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x18]
push 0
mov dword [edi], 0
mov edx, dword [ecx]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x404c3e
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x404c0f
cmp eax, 2
jne 0x404c2a
mov eax, dword [esp]
test esi, esi
je 0x404c38
test eax, eax
je 0x404c33
test al, 1
jne 0x404c2a
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x404c38
mov eax, 0xd
pop ecx
ret 8
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop ecx
ret 8

Function at 0x4061c1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41e2a0]
jne 0x4061cb
repz ret
jmp fcn.0040a43a