joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447610
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x3c], 0
push 0x38
push 0
lea eax, [ebp - 0x38]
push eax
call fcn.004336c0
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x100
cmp dword [ebp + 0x10], 0
je 0x447653
mov ecx, dword [ebp - 0x38]
or ecx, 0x40
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x30], 0x462904
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], edx
cmp dword [ebp + 0x10], 0
je 0x447676
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x44769c
cmp dword [ebp + 0x10], 0
je 0x447697
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
mov dword [edx], eax
jmp 0x447798
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x98], ecx
cmp dword [ebp - 0x98], 0x1b
je 0x4476bc
cmp dword [ebp - 0x98], 0x1f
je 0x4476bc
jmp 0x447798
mov dword [ebp - 0x54], 0
xor edx, edx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x4c], 0x24
push 0x462910
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x44], eax
push str.SHOpenWithDialog
mov ecx, dword [ebp - 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x44778f
mov dword [ebp - 0x90], 0
push 0x38
push 0
lea edx, [ebp - 0x8c]
push edx
call fcn.004336c0
add esp, 0xc
mov dword [ebp - 0x90], 0x3c
mov dword [ebp - 0x8c], 0x100
cmp dword [ebp + 0x10], 0
je 0x447748
mov eax, dword [ebp - 0x8c]
or eax, 0x40
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x84], str.openas
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x80], ecx
cmp dword [ebp + 0x10], 0
je 0x44776e
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x44778d
cmp dword [ebp + 0x10], 0
je 0x44778d
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x58]
mov dword [ecx], edx
jmp 0x447798
lea eax, [ebp - 0x54]
push eax
push 0
call dword [ebp - 0x48]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x447a70
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x46d394]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, byte [0x46e598]
test eax, eax
je 0x447ad3
push 0x114
push 0
lea ecx, [ebp - 0x120]
push ecx
call fcn.004336c0
add esp, 0xc
mov dword [ebp - 0x120], 0x114
lea edx, [ebp - 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
sbb eax, eax
add eax, 1
mov byte [0x46fc18], al
mov byte [0x46e598], 0
mov al, byte [0x46fc18]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e367
mov esp, ebp
pop ebp
ret

Function at 0x447c20
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
jmp 0x447c3b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
call fcn.004056b0
cmp dword [ebp - 4], eax
jae 0x447ce4
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 0xc]
call fcn.00409f90
mov dx, word [eax]
mov word [ebp - 8], dx
movzx eax, word [ebp - 8]
cmp eax, 0x5c
je 0x447ccb
movzx ecx, word [ebp - 8]
cmp ecx, 0x2f
je 0x447ccb
movzx edx, word [ebp - 8]
cmp edx, 0x3a
je 0x447ccb
movzx eax, word [ebp - 8]
cmp eax, 0x2a
je 0x447ccb
movzx ecx, word [ebp - 8]
cmp ecx, 0x3f
je 0x447ccb
movzx edx, word [ebp - 8]
cmp edx, 0x22
je 0x447ccb
movzx eax, word [ebp - 8]
cmp eax, 0x27
je 0x447ccb
movzx ecx, word [ebp - 8]
cmp ecx, 0x3c
je 0x447ccb
movzx edx, word [ebp - 8]
cmp edx, 0x3e
je 0x447ccb
movzx eax, word [ebp - 8]
cmp eax, 0x7c
je 0x447ccb
movzx ecx, word [ebp - 8]
cmp ecx, 0x25
je 0x447ccb
movzx edx, word [ebp - 8]
cmp edx, 0x3d
jne 0x447cdf
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0xc]
call fcn.00409f90
mov ecx, 0x5f
mov word [eax], cx
jmp 0x447c32
mov esp, ebp
pop ebp
ret
Function at 0x448070
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x24]
call fcn.0040a2e0
test eax, eax
jne 0x44808d
jmp 0x44816a
mov ecx, dword [ebp - 0x24]
call fcn.00401300
movzx eax, al
test eax, eax
jne 0x44816a
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x44816a
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call fcn.0042e2d1
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0
je 0x448160
push 0
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44814e
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jne 0x44814e
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
call fcn.00447fc0
push 0
push 0
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0042eb09
add esp, 4
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret

Function at 0x44c910
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x1a8]
test ecx, ecx
je 0x44c98b
push 0xfffffffffffffff0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xec]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
and ecx, 0xfffffff7
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
push edx
push 0xfffffffffffffff0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xec]
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 5
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xe8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x1d20
mov ecx, dword [ebp - 8]
call fcn.00404540
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [ebp - 8]
mov byte [ecx + 0x1a8], 0
mov esp, ebp
pop ebp
ret
Function at 0x44c990
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x1a8]
test ecx, ecx
jne 0x44ca0f
push 0xfffffffffffffff0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xec]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
or ecx, 8
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
push edx
push 0xfffffffffffffff0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xec]
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xe8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x1e
push 0x1d20
mov ecx, dword [ebp - 8]
call fcn.00404540
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [ebp - 8]
mov byte [ecx + 0x1a8], 1
mov esp, ebp
pop ebp
ret
Function at 0x44d220
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x459a5e
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x46d394]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
mov dword [eax], vtable.ProgressDownloaderWindow.0
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 0x40], vtable.ProgressDownloaderWindow.1.0
mov edx, dword [ebp - 0x38]
mov dword [edx + 0x44], vtable.ProgressDownloaderWindow.2.0
mov dword [ebp - 4], 0xa
mov eax, dword [ebp - 0x38]
mov byte [eax + 0x1e4], 1
mov ecx, dword [ebp - 0x38]
cmp dword [ecx + 0xe4], 0
je 0x44d317
lea ecx, [ebp - 0x2c]
call fcn.00407980
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x38]
mov ecx, dword [edx + 0xe4]
call fcn.004409f0
cmp eax, 3
je 0x44d2bf
mov ecx, dword [ebp - 0x38]
add ecx, 0x84
call fcn.00415990
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040a100
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0xe4]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x30], edx
cmp dword [ebp - 0x30], 0
je 0x44d2e6
push 1
mov ecx, dword [ebp - 0x30]
call fcn.00413ea0
mov dword [ebp - 0x3c], eax
jmp 0x44d2ed
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x2c]
call fcn.00413ed0
movzx eax, al
test eax, eax
jne 0x44d30b
lea ecx, [ebp - 0x2c]
call fcn.00407120
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c]
call fcn.00407100
mov ecx, dword [ebp - 0x38]
cmp dword [ecx + 0x148], 0
je 0x44d33d
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0x148]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0x148]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 8]
call ecx
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x38]
add ecx, 0x1c8
call fcn.00407100
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x38]
add ecx, 0x1ac
call fcn.00407100
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x38]
add ecx, 0x18c
call fcn.004055f0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x38]
add ecx, 0x170
call fcn.00407100
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x38]
add ecx, 0x14c
call fcn.00407100
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x38]
add ecx, 0x12c
call fcn.00407100
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x38]
add ecx, 0x110
call fcn.00407100
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x38]
add ecx, 0xf4
call fcn.00407100
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x38]
add ecx, 0x84
call fcn.00443b10
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x38]
add ecx, 0x44
call fcn.004161f0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x38]
call fcn.00444310
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042e367
mov esp, ebp
pop ebp
ret
Function at 0x44d720
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2010
call fcn.0043ef50
mov eax, dword [0x46d394]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2010], ecx
mov eax, dword [ebp - 0x2010]
movzx ecx, byte [eax + 0x1e4]
test ecx, ecx
je 0x44d753
jmp 0x44d910
xor edx, edx
mov word [ebp - 0x2008], dx
push 0x1ffe
push 0
lea eax, [ebp - 0x2006]
push eax
call fcn.004336c0
add esp, 0xc
mov ecx, dword [ebp - 0x2010]
movzx edx, byte [ecx + 0x16d]
test edx, edx
je 0x44d7b0
mov ecx, dword [ebp - 0x2010]
add ecx, 0x12c
call fcn.00407120
push eax
push str.Unexpected_network_error__cannot_download__s
push 0x1000
lea eax, [ebp - 0x2008]
push eax
call fcn.0042f93d
add esp, 0x10
jmp 0x44d7c2
push str.Unexpected_network_error
lea ecx, [ebp - 0x2008]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 9
mov ecx, dword [ebp - 0x2010]
call fcn.00404540
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0x2010]
cmp dword [edx + 0x148], 0
je 0x44d813
push 8
mov ecx, dword [ebp - 0x2010]
call fcn.00404540
push eax
mov eax, dword [ebp - 0x2010]
mov ecx, dword [eax + 0x148]
mov edx, dword [ebp - 0x2010]
mov eax, dword [edx + 0x148]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 0x28]
call edx
push 0x35
mov ecx, dword [ebp - 0x2010]
add ecx, 0x170
call fcn.00407120
push eax
lea eax, [ebp - 0x2008]
push eax
mov ecx, dword [ebp - 0x2010]
call fcn.00404540
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 4
jne 0x44d8b3
push 0
push 0x3ff
push 0x410
mov ecx, dword [ebp - 0x2010]
call fcn.00404540
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [ebp - 0x2010]
mov ecx, dword [ecx + 0xe4]
call fcn.00440990
mov edx, dword [ebp - 0x2010]
cmp dword [edx + 0x148], 0
je 0x44d8b1
push 2
mov ecx, dword [ebp - 0x2010]
call fcn.00404540
push eax
mov eax, dword [ebp - 0x2010]
mov ecx, dword [eax + 0x148]
mov edx, dword [ebp - 0x2010]
mov eax, dword [edx + 0x148]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 0x28]
call edx
jmp 0x44d910
push 0
mov eax, dword [ebp - 0x2010]
add eax, 0x110
push eax
call fcn.0043fda0
mov ecx, eax
call fcn.0043fa80
lea ecx, [ebp - 0x200c]
call fcn.00414690
push 0
mov ecx, dword [ebp - 0x2010]
add ecx, 0xf4
call fcn.00407120
push eax
mov ecx, dword [ebp - 0x2010]
call fcn.00404540
push eax
lea ecx, [ebp - 0x200c]
call fcn.00447610
push 1
mov ecx, dword [ebp - 0x2010]
call fcn.00444340
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e367
mov esp, ebp
pop ebp
ret
Function at 0x44dd60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45a05a
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x46d394]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x90], 0
mov ecx, dword [ebp - 0x94]
call fcn.004160d0
movzx eax, al
test eax, eax
jne 0x44de26
lea ecx, [ebp - 0x10]
call fcn.00414690
lea ecx, [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x94]
mov ecx, dword [edx + 0xe4]
call fcn.00440cb0
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 4], 0
push 0
mov ecx, dword [ebp - 0x9c]
call fcn.00407120
push eax
mov ecx, dword [ebp - 0x94]
call fcn.00404540
push eax
lea ecx, [ebp - 0x10]
call fcn.00447610
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00407100
push 1
mov ecx, dword [ebp - 0x94]
call fcn.00444340
jmp 0x44dfb2
push 5
mov ecx, dword [ebp - 0x94]
mov edx, dword [ecx + 0xe8]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x94]
mov ecx, dword [ecx + 0xe4]
call fcn.00440cb0
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], edx
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0xa4]
call fcn.00407120
push eax
lea ecx, [ebp - 0x30]
call fcn.004070c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x68]
call fcn.00407100
mov eax, dword [ebp - 0x94]
mov ecx, dword [eax + 0xe4]
call fcn.00440b10
push 0x88
call fcn.0042e419
add esp, 4
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x70], 0
je 0x44df45
cmp dword [ebp - 0x94], 0
je 0x44ded2
mov ecx, dword [ebp - 0x94]
add ecx, 0x40
mov dword [ebp - 0xa8], ecx
jmp 0x44dedc
mov dword [ebp - 0xa8], 0
lea ecx, [ebp - 0x8c]
call fcn.00404a60
mov dword [ebp - 0xac], eax
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0xb0], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x90]
or eax, 1
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0xb0]
push ecx
push 0
push 0
push 0x835
push 0xffffffffffffffff
mov edx, dword [ebp - 0xa8]
push edx
mov eax, dword [ebp - 0x94]
add eax, 0x84
push eax
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x70]
call fcn.00440ed0
mov dword [ebp - 0xb4], eax
jmp 0x44df4f
mov dword [ebp - 0xb4], 0
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0x6c], edx
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x6c]
mov dword [eax + 0xe4], ecx
mov dword [ebp - 4], 3
mov edx, dword [ebp - 0x90]
and edx, 1
je 0x44df92
and dword [ebp - 0x90], 0xfffffffe
lea ecx, [ebp - 0x8c]
call fcn.004055f0
mov eax, dword [ebp - 0x94]
mov ecx, dword [eax + 0xe4]
call fcn.004417e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00407100
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042e367
mov esp, ebp
pop ebp
ret
Function at 0x44ea50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
add ecx, 0x240
call fcn.004089a0
movzx eax, al
test eax, eax
jne 0x44ea9a
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0x44ea00
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x44ea9a
lea edx, [ebp - 4]
push edx
mov ecx, dword [ebp - 8]
call fcn.0041fac0
mov esp, ebp
pop ebp
ret 4
Function at 0x450a80
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x459d43
mov eax, dword fs:[0]
push eax
mov eax, 0x2034
call fcn.0043ef50
mov eax, dword [0x46d394]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2040], ecx
mov ecx, dword [ebp - 0x2040]
call fcn.0044eac0
mov ecx, dword [ebp - 0x2040]
call fcn.00450700
mov ecx, dword [ebp - 0x2040]
call fcn.0044e4a0
mov eax, dword [ebp - 0x2040]
mov ecx, dword [eax + 0xcc]
mov edx, dword [ecx + 0x2f0]
push edx
mov ecx, dword [ebp - 0x2040]
call fcn.0044e800
mov eax, dword [ebp - 0x2040]
mov ecx, dword [eax + 0xcc]
add ecx, 0x2d8
push ecx
mov ecx, dword [ebp - 0x2040]
call fcn.0044e600
xor edx, edx
mov word [ebp - 0x2014], dx
push 0x1ffe
push 0
lea eax, [ebp - 0x2012]
push eax
call fcn.004336c0
add esp, 0xc
mov dword [ebp - 0x10], 0
push str.SoftwareMicrosoftInternet_Explorer
lea ecx, [ebp - 0x2030]
call fcn.004070c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
push ecx
push 0x20019
push 0
lea ecx, [ebp - 0x2030]
call fcn.00407120
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x450bcb
mov dword [ebp - 0x2038], 0
mov dword [ebp - 0x203c], 0x2000
lea edx, [ebp - 0x203c]
push edx
lea eax, [ebp - 0x2014]
push eax
lea ecx, [ebp - 0x2038]
push ecx
push 0
push str.Download_Directory
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x450bcb
lea eax, [ebp - 0x2014]
push eax
mov ecx, dword [ebp - 0x2040]
add ecx, 0xb0
call fcn.00409400
mov ecx, dword [ebp - 0x2040]
add ecx, 0xb0
call fcn.00413ed0
movzx ecx, al
test ecx, ecx
je 0x450c0e
push 0
push 0x10
lea edx, [ebp - 0x2014]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x2014]
push eax
mov ecx, dword [ebp - 0x2040]
add ecx, 0xb0
call fcn.00409400
lea ecx, [ebp - 0x2034]
call fcn.004149f0
mov ecx, dword [ebp - 0x2040]
add ecx, 0xb0
call fcn.00407120
push eax
push 0xf
mov ecx, dword [ebp - 0x2040]
call fcn.00404540
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
lea ecx, [ebp - 0x2034]
call fcn.004482c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2030]
call fcn.00407100
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042e367
mov esp, ebp
pop ebp
ret
Function at 0x4548b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x360], 0
jle 0x454921
push 8
call fcn.0042e419
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4548f0
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0xc]
call fcn.00409390
mov dword [ebp - 0x18], eax
jmp 0x4548f7
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
push 0
push 0
mov edx, dword [ebp - 4]
push edx
push 0x454840
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x40389a
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10a4
call fcn.004092d0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [eax + 0x3c]
xor edx, edx
cmp word [ecx + eax + 0x5c], 2
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x10a4]
push dword [ebp + 8]
sete dl
push eax
mov esi, edx
call dword [sym.imp.MSVCRT.dll_vsprintf]
add esp, 0xc
lea eax, [ebp - 0x10a4]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test esi, esi
pop esi
je 0x403915
lea eax, [ebp - 0x104]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x104]
push 0
push eax
lea eax, [ebp - 0x10a4]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [sym.imp.MSVCRT.dll__iob]
add eax, 0x40
push eax
lea eax, [ebp - 0x10a4]
push eax
call dword [sym.imp.MSVCRT.dll_fputs]
mov eax, dword [sym.imp.MSVCRT.dll__iob]
add eax, 0x40
push eax
push 0xa
call dword [sym.imp.MSVCRT.dll_fputc]
mov eax, dword [sym.imp.MSVCRT.dll__iob]
add eax, 0x40
push eax
call dword [sym.imp.MSVCRT.dll_fflush]
add esp, 0x14
leave
ret
Function at 0x4041f9
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
cmp dword [0x40f6b8], 2
push esi
push edi
jne 0x4042ea
push str.advapi32.dll
xor edi, edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, edi
je 0x404232
push str.GetUserNameW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, edi
mov dword [ebp - 4], 0x208
je 0x4042ea
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x21c]
push eax
call esi
test eax, eax
je 0x4042ea
cmp word [ebp - 0x21c], di
lea eax, [ebp - 0x21c]
je 0x4042df
push ebx
jmp 0x40426b
mov eax, dword [ebp - 8]
movzx ebx, word [eax]
inc eax
inc eax
cmp ebx, 0x20
mov dword [ebp - 8], eax
jne 0x40427e
push 0x5f
pop ebx
cmp ebx, 0x20
jl 0x4042a2
cmp ebx, 0x7e
jg 0x4042a2
push ebx
push str._:___
call dword [sym.imp.MSVCRT.dll_strchr]
pop ecx
test eax, eax
pop ecx
jne 0x4042a2
and byte [ebp - 0x13], al
push 1
mov byte [ebp - 0x14], bl
pop eax
jmp 0x4042b5
push ebx
lea eax, [ebp - 0x14]
push str.__x_
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea esi, [eax + edi]
lea ecx, [esi + 1]
cmp ecx, dword [ebp + 0xc]
jae 0x4042d5
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
add edi, eax
push edi
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov edi, esi
mov eax, dword [ebp - 8]
cmp word [eax], 0
jne 0x404268
pop ebx
mov eax, dword [ebp + 8]
and byte [edi + eax], 0
mov eax, edi
jmp 0x40430b
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x404304
and byte [esi], al
push esi
call sub.MSVCRT.dll_strlen
pop ecx
pop edi
pop esi
leave
ret

Function at 0x4051ed
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push ebx
mov ebx, dword [ebp + 8]
push edi
push ebx
call fcn.004032b4
mov edi, eax
pop ecx
test edi, edi
je 0x4052b0
push esi
push ebx
call sub.MSVCRT.dll_strlen
mov esi, eax
lea eax, [ebp - 0x400]
push esi
push ebx
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
mov al, byte [ebp + esi - 0x401]
add esp, 0x10
cmp al, 0x2f
je 0x40523f
cmp al, 0x5c
je 0x40523f
mov byte [ebp + esi - 0x400], 0x5c
inc esi
push edi
call fcn.004033aa
test eax, eax
pop ecx
je 0x4052a8
cmp byte [eax + 0x10], 0x2e
lea ecx, [eax + 0x10]
jne 0x405265
mov dl, byte [eax + 0x11]
test dl, dl
je 0x40523f
cmp dl, 0x2e
jne 0x405265
cmp byte [eax + 0x12], 0
je 0x40523f
lea eax, [ebp + esi - 0x400]
push ecx
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x400]
push 0x1ff
push eax
call dword [sym.imp.MSVCRT.dll__chmod]
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.MSVCRT.dll__unlink]
add esp, 0x14
test eax, eax
je 0x40523f
lea eax, [ebp - 0x400]
push eax
call fcn.004051ed
pop ecx
jmp 0x40523f
push edi
call fcn.00403469
pop ecx
pop esi
push ebx
call dword [sym.imp.MSVCRT.dll__rmdir]
pop ecx
pop edi
pop ebx
leave
ret