joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e710
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x124], ebx
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x40e8b4
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 1
lea eax, [ebp - 0xc]
call fcn.0040426c
cmp ebx, 0x63
jg 0x40e86d
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.0040c670
mov eax, dword [ebp - 0x10]
call fcn.0040471c
push eax
lea eax, [ebp - 0x118]
mov edx, dword [ebp - 4]
call fcn.00403048
lea edx, [ebp - 0x118]
lea eax, [ebp - 0x18]
call fcn.004044c8
push dword [ebp - 0x18]
push 0x40e8cc
lea eax, [ebp - 0x11c]
mov edx, dword [ebp - 8]
call fcn.0040445c
push dword [ebp - 0x11c]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004045e4
mov eax, dword [ebp - 0x14]
call fcn.0040471c
mov edx, eax
mov eax, edi
pop ecx
call fcn.0040e97c
test al, al
je 0x40e86d
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0040c670
lea eax, [ebp - 0x118]
mov edx, dword [ebp - 4]
call fcn.00403048
lea edx, [ebp - 0x118]
lea eax, [ebp - 0x124]
call fcn.004044c8
push dword [ebp - 0x124]
push 0x40e8cc
lea eax, [ebp - 0x128]
mov edx, dword [ebp - 8]
call fcn.0040445c
push dword [ebp - 0x128]
lea eax, [ebp - 0x120]
mov edx, 3
call fcn.004045e4
mov eax, dword [ebp - 0x120]
call fcn.0040471c
mov edx, eax
mov eax, edi
call fcn.0040e660
mov esi, eax
mov eax, dword [ebp - 0xc]
call fcn.0040471c
push eax
push esi
call sub.advapi32.dll_RegDeleteKeyA
push esi
call sub.advapi32.dll_RegCloseKey_1
inc ebx
cmp ebx, 0x63
jle 0x40e76e
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.0040e660
mov esi, eax
mov eax, dword [ebp - 8]
push eax
push esi
call sub.advapi32.dll_RegDeleteKeyA
push esi
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e8bb
lea eax, [ebp - 0x128]
mov edx, 4
call fcn.00404290
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00404290
ret

Function at 0x40e8d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 8], 1
call fcn.0040e660
mov ebx, eax
mov dword [ebp - 0xc], pe_nt_image_headers32
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 8]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
push ebx
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x40e92f
mov eax, esi
lea edx, [ebp - 0x10c]
mov ecx, pe_nt_image_headers32
call fcn.004044d4
push ebx
call sub.advapi32.dll_RegCloseKey_1
jmp 0x40e93c
mov eax, esi
call fcn.0040426c
push ebx
call sub.advapi32.dll_RegCloseKey_1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40ea60
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
xor edx, edx
push ebp
push 0x40eb46
push dword fs:[edx]
mov dword fs:[edx], esp
xor esi, esi
mov dword [ebp - 8], 0x64
mov edx, dword [ebp - 4]
call fcn.0040e660
mov edi, eax
test edi, edi
je 0x40eaec
jmp 0x40eacb
mov dword [ebp - 8], 0x64
push dword [ebx]
lea eax, [ebp - 0x74]
lea edx, [ebp - 0x6d]
mov ecx, 0x65
call fcn.004044d4
push dword [ebp - 0x74]
push 0x40eb60
mov eax, ebx
mov edx, 3
call fcn.004045e4
inc esi
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x6d]
push eax
push esi
push edi
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
je 0x40ea9d
push edi
call sub.advapi32.dll_RegCloseKey_1
lea eax, [ebp - 0x78]
push eax
mov eax, dword [ebx]
call fcn.00404524
mov edx, eax
mov eax, dword [ebx]
mov ecx, 1
call fcn.0040477c
mov eax, dword [ebp - 0x78]
mov edx, 0x40eb60
call fcn.00404668
jne 0x40eb29
mov eax, dword [ebx]
call fcn.00404524
mov edx, eax
mov eax, ebx
mov ecx, 1
call fcn.004047bc
mov ebx, esi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40eb4d
lea eax, [ebp - 0x78]
mov edx, 2
call fcn.00404290
ret

Function at 0x40ec2c
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffe30
mov ebp, eax
lea eax, [esp + 0x40]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov eax, ebp
call fcn.0040426c
push 0x40
lea eax, [esp + 4]
push eax
call sub.wsock32.dll_gethostname
push esp
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x40ec86
mov esi, dword [eax + 0xc]
xor ebx, ebx
jmp 0x40ec7a
push dword [edi]
call sub.wsock32.dll_inet_ntoa
mov edx, ebp
call fcn.0040c65c
inc ebx
mov edi, dword [esi + ebx*4]
test edi, edi
jne 0x40ec6b
call sub.wsock32.dll_WSACleanup
add esp, 0x1d0
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4111bc
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
mov eax, ebx
call fcn.0040471c
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00402e48
test ebx, ebx
je 0x411207
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 4], cl
mov cl, byte [edx + 1]
mov byte [esp + 5], cl
mov cl, byte [edx + 2]
mov byte [esp + 6], cl
mov al, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret
Function at 0x411218
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe58
push ebx
push esi
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040470c
xor eax, eax
push ebp
push 0x4112c0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x198]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x411268
xor ebx, ebx
jmp 0x4112aa
mov eax, dword [ebp - 4]
call fcn.004111bc
mov dword [ebp - 0x1a4], eax
mov word [ebp - 0x1a8], 2
push esi
call sub.wsock32.dll_htons
mov word [ebp - 0x1a6], ax
push 0x10
lea eax, [ebp - 0x1a8]
push eax
push ebx
call sub.wsock32.dll_connect
test eax, eax
jne 0x4112a8
mov eax, dword [ebp - 8]
mov dword [eax], ebx
mov bl, 1
jmp 0x4112aa
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4112c7
lea eax, [ebp - 4]
call fcn.0040426c
ret

Function at 0x4112e0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff8
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040470c
xor eax, eax
push ebp
push 0x411351
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040471c
mov edx, eax
lea eax, [ebp - 0x1005]
call fcn.0040c634
push 4
lea eax, [ebp - 0x1005]
call fcn.0040c61c
push eax
lea eax, [ebp - 0x1005]
push eax
push ebx
call sub.wsock32.dll_send
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x411358
lea eax, [ebp - 4]
call fcn.0040426c
ret

Function at 0x411360
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebx
push esi
add esp, 0xfffffbfc
mov esi, edx
mov ebx, eax
push 0
push 0x400
lea eax, [esp + 8]
push eax
push ebx
call sub.wsock32.dll_recv
mov edx, esi
mov eax, esp
call fcn.0040c65c
add esp, 0x404
pop esi
pop ebx
ret
Function at 0x42399c
Capabilities:
Copy file
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040470c
mov eax, dword [ebp - 8]
call fcn.0040470c
xor eax, eax
push ebp
push 0x423aa5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.0040d0bc
push 0
mov eax, dword [ebp - 8]
call fcn.0040471c
push eax
mov eax, dword [ebp - 4]
call fcn.0040471c
push eax
call sub.kernel32.dll_CopyFileA
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.00408044
mov eax, dword [ebp - 0xc]
push eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00408010
mov eax, dword [ebp - 0x10]
pop edx
call fcn.00423378
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.0042370c
mov edx, 2
mov eax, dword [ebp - 8]
call fcn.00407df8
lea eax, [ebp - 8]
mov edx, 0x423ab8
call fcn.0040452c
mov eax, 0x42cc68
xor ecx, ecx
mov edx, 0x44
call fcn.00402e48
mov dword [0x42cc68], 0x44
mov dword [0x42cc94], 1
mov word [0x42cc98], 1
push 0x42ccac
push 0x42cc68
push 0
push 0
push 0x30
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.0040471c
push eax
push 0
call sub.kernel32.dll_CreateProcessA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x423aac
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404290
ret
Function at 0x427f04
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x14], ecx
mov ebx, eax
xor eax, eax
push ebp
push 0x4280d2
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, ebx
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
call fcn.00427ef4
test al, al
je 0x4280b4
lea eax, [ebp - 0x64]
push eax
mov ecx, 0x4280e0
mov edx, 0x4280e8
mov eax, 0x80000000
call fcn.0040e8d0
mov eax, dword [ebp - 0x64]
mov edx, 0x428100
call fcn.00404668
je 0x4280b4
xor edi, edi
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov esi, 0x13
lea eax, [ebp - 0x60]
xor edx, edx
mov dword [eax], edx
add eax, 4
dec esi
jne 0x427f7e
push 0x4280e8
push 0x428104
call sub.user32.dll_FindWindowA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x427fd4
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x428110
mov edx, 0x4280e8
mov eax, 0x80000000
call fcn.0040e8d0
cmp dword [ebp - 0x14], 0
je 0x427fd4
mov eax, dword [ebp - 0x14]
call fcn.0040471c
push eax
push 0x428104
call sub.user32.dll_FindWindowA
mov dword [ebp - 4], eax
mov esi, 0x13
lea ebx, [ebp - 0x60]
push 0
push 0x42811c
push edi
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_FindWindowExA
mov dword [ebx], eax
mov edi, dword [ebx]
test edi, edi
je 0x428017
inc dword [ebp - 0xc]
push edi
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x428011
inc dword [ebp - 8]
cmp dword [ebp - 8], 1
jne 0x428011
mov dword [0x42e13c], edi
add ebx, 4
dec esi
jne 0x427fdc
cmp dword [ebp - 8], 2
jne 0x4280b4
call sub.user32.dll_GetFocus
xor edx, edx
push edx
push eax
mov eax, dword [0x42e13c]
cdq
cmp edx, dword [esp + 4]
jne 0x428039
cmp eax, dword [esp]
pop edx
pop eax
jne 0x4280b4
mov edi, dword [ebp - 0xc]
test edi, edi
jle 0x4280b4
lea ebx, [ebp - 0x60]
mov esi, 0x42ce3c
cmp dword [ebx], 0
je 0x4280a8
mov eax, dword [ebx]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4280a8
mov eax, esi
push eax
push pe_nt_image_headers32
push 0xd
mov eax, dword [ebx]
push eax
call sub.user32.dll_SendMessageA
cmp dword [ebp - 0x10], 0
jne 0x42808e
push esi
push 1
mov ecx, 0x428124
mov edx, 0x4280e8
mov eax, 0x80000000
call fcn.0040e67c
jmp 0x4280a5
push esi
push 1
mov ecx, 0x428128
mov edx, 0x4280e8
mov eax, 0x80000000
call fcn.0040e67c
inc dword [ebp - 0x10]
add esi, 0x100
add ebx, 4
dec edi
jne 0x42804c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4280d9
lea eax, [ebp - 0x64]
call fcn.0040426c
lea eax, [ebp - 0x14]
call fcn.0040426c
ret
Function at 0x42a2e0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, 0x42cce8
mov esi, 0x42cd20
mov eax, dword [0x42c710]
mov dword [0x42cd10], eax
mov dword [ebx], 0xc0
mov dword [ebx + 4], 0x42a288
mov eax, dword [0x42cd10]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x1c], 0x10
mov eax, 0x42a3e0
mov dword [ebx + 0x24], eax
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [ebx + 0x18], eax
push ebx
call sub.user32.dll_RegisterClassA
test ax, ax
je 0x42a3da
push 0
mov eax, dword [0x42cd10]
push eax
push 0
push 0
push 0xa
push 0xa
push 0
push 0
push 0xcc0000
push 0x42a3ec
push 0x42a3e0
push pe_nt_image_headers32
call sub.user32.dll_CreateWindowExA
mov dword [0x42cd14], eax
cmp dword [0x42cd14], 0
je 0x42a3da
call fcn.0040bd50
push 0x428164
push 0x5dc
push 1
mov eax, dword [0x42cd14]
push eax
call sub.user32.dll_SetTimer
push 0x42974c
push 0xea60
push 2
mov eax, dword [0x42cd14]
push eax
call sub.user32.dll_SetTimer
push 0
mov eax, dword [0x42cd14]
push eax
call sub.user32.dll_ShowWindow
jmp 0x42a3c1
push esi
call sub.user32.dll_TranslateMessage
push esi
call sub.user32.dll_DispatchMessageA
push 0
push 0
mov eax, dword [0x42cd14]
push eax
push esi
call sub.user32.dll_GetMessageA
test eax, eax
jne 0x42a3b5
call fcn.0040bea8
pop esi
pop ebx
ret
Function at 0x401060
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
lea eax, [ebp - 0x88]
sub esp, 0x9c
mov dword [esp + 4], eax
mov dword [esp], str.browseui.dll
call fcn.00401314
sub esp, 8
test eax, eax
jne 0x4010a8
mov dword [esp], str.Native_IE_detected__not_doing_registration_n
call fcn.00401000
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], eax
mov edi, dword fs:[0x18]
mov dword [ebp - 0x8c], eax
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov esi, eax
mov dword [esp + 0xc], eax
mov edx, dword [ebp - 0x8c]
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov dword [esp], str.browseui.dll
call fcn.00401304
lea eax, [ebp - 0x80]
sub esp, 0x10
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x7c]
mov dword [esp + 8], eax
mov dword [esp + 4], str.VarFileInfoTranslation
mov dword [esp], esi
call fcn.004012f4
sub esp, 0x10
test eax, eax
jne 0x401150
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x40108b
mov eax, dword [ebp - 0x7c]
movzx edx, word [eax + 2]
mov dword [esp + 0xc], edx
movzx eax, word [eax]
lea edx, [ebp - 0x78]
mov dword [esp], edx
mov dword [esp + 8], eax
mov dword [esp + 4], str.StringFileInfo_04x_04xFileDescription
call fcn.00401338
lea eax, [ebp - 0x80]
lea edx, [ebp - 0x78]
mov dword [esp], esi
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x84]
mov dword [esp + 8], eax
mov dword [esp + 4], edx
call fcn.004012f4
sub esp, 0x10
test eax, eax
je 0x40111f
mov dword [esp + 4], 0x4040e6
mov eax, dword [ebp - 0x84]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcsstr]
mov dword [ebp - 0x8c], eax
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov edx, dword [ebp - 0x8c]
sub esp, 0xc
test edx, edx
je 0x40108b
test ebx, ebx
mov edx, str.RegisterIE
mov eax, str.UnregisterIE
mov dword [esp + 8], 0
cmovne eax, edx
mov dword [esp], 0
mov dword [esp + 4], eax
call fcn.004012d0
sub esp, 0xc
lea esp, [ebp - 0xc]
shr eax, 0x1f
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x401ef0
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sub.ucrtbase.dll__configure_wide_argv
call sub.ucrtbase.dll__initialize_wide_environment
call sub.ucrtbase.dll___p___argc
mov esi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_wide_environment
mov edx, 2
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x3c]
cmp word [eax + ecx + 0x5c], 2
je 0x401f43
mov edx, 1
mov dword [esp], edx
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call 0x401f70
mov dword [esp], eax
call sub.ucrtbase.dll_exit
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x6c
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov ebx, eax
movzx eax, word [eax]
test ax, ax
je 0x401fd7
xor ecx, ecx
xor edx, edx
jmp 0x401fb9
cmp ax, 0x5c
jne 0x402048
add edx, 1
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
je 0x401fd7
cmp ax, 9
je 0x401fc5
cmp ax, 0x20
jne 0x401fa0
test ecx, ecx
je 0x402030
movzx eax, word [ebx + 2]
add ebx, 2
xor edx, edx
test ax, ax
jne 0x401fb9
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
sub esp, 4
test byte [ebp - 0x30], 1
je 0x402068
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00401220
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret
movzx eax, word [ebx + 2]
add ebx, 2
cmp ax, 9
je 0x402030
cmp ax, 0x20
je 0x402030
jmp 0x401fd7
cmp ax, 0x22
jne 0x401fc9
and edx, 1
jne 0x401fc9
xor ecx, 1
jmp 0x401fad
mov eax, 1
mov esi, 1
mov word [ebp - 0x2c], ax
jmp 0x401ff0
Function at 0x401f70
Capabilities:
Accept command line arguments
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sub.ucrtbase.dll__configure_wide_argv
call sub.ucrtbase.dll__initialize_wide_environment
call sub.ucrtbase.dll___p___argc
mov esi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_wide_environment
mov edx, 2
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x3c]
cmp word [eax + ecx + 0x5c], 2
je 0x401f43
mov edx, 1
mov dword [esp], edx
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call 0x401f70
mov dword [esp], eax
call sub.ucrtbase.dll_exit
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x6c
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov ebx, eax
movzx eax, word [eax]
test ax, ax
je 0x401fd7
xor ecx, ecx
xor edx, edx
jmp 0x401fb9
cmp ax, 0x5c
jne 0x402048
add edx, 1
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
je 0x401fd7
cmp ax, 9
je 0x401fc5
cmp ax, 0x20
jne 0x401fa0
test ecx, ecx
je 0x402030
movzx eax, word [ebx + 2]
add ebx, 2
xor edx, edx
test ax, ax
jne 0x401fb9
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
sub esp, 4
test byte [ebp - 0x30], 1
je 0x402068
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00401220
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret
movzx eax, word [ebx + 2]
add ebx, 2
cmp ax, 9
je 0x402030
cmp ax, 0x20
je 0x402030
jmp 0x401fd7
cmp ax, 0x22
jne 0x401fc9
and edx, 1
jne 0x401fc9
xor ecx, 1
jmp 0x401fad
mov eax, 1
mov esi, 1
mov word [ebp - 0x2c], ax
jmp 0x401ff0
Function at 0x40ec56
Capabilities:
Create bits job

Disassembly:
push 4
mov eax, 0x46cc47
call fcn.00452eb4
mov edi, dword [ebp + 8]
lea ecx, [edi + 8]
call fcn.0040138d
xor ebx, ebx
lea esi, [edi + 0x28]
mov dword [ebp - 4], ebx
call fcn.0042e853
push 0x10
mov byte [ebp - 4], 1
lea eax, [edi + 0x18]
push ebx
push eax
mov dword [edi + 0x14], ebx
mov dword [edi + 0x10], ebx
mov dword [edi], ebx
mov dword [edi + 4], ebx
call fcn.00450cb0
add esp, 0xc
push dword [ebp + 0xc]
lea ecx, [edi + 8]
mov dword [edi + 0xc], ebx
mov dword [edi + 0x38], 4
mov dword [edi + 0x3c], ebx
call fcn.00401356
push 2
push ebx
call dword [0x471764]
mov esi, 0x272f4
mov dword [edi + 0xc], eax
cmp dword [0x4b7be0], esi
je 0x40ed77
cmp eax, ebx
jl 0x40ed77
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [0x471768]
cmp eax, ebx
mov dword [edi + 0xc], eax
jge 0x40ed0c
cmp eax, 0x80010119
je 0x40ed0c
push 0x47ba58
lea ecx, [ebp + 0xc]
call fcn.004012e2
mov byte [ebp - 4], 4
push 0x27358
jmp 0x40ed54
push edi
push 0x47c614
push 4
push ebx
push 0x47c604
call dword [0x47176c]
mov esi, 0x222e0
mov dword [edi + 0xc], eax
cmp dword [0x4b7be0], esi
je 0x40ed34
cmp eax, ebx
jge 0x40eda4
mov eax, dword [edi]
cmp eax, ebx
je 0x40ed42
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi], ebx
push 0x47ba24
lea ecx, [ebp + 0xc]
call fcn.004012e2
mov byte [ebp - 4], 3
push esi
mov ecx, dword [edi + 0xc]
lea edx, [ebp + 0xc]
mov ebx, 0x4b7bd8
call fcn.0040fd89
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004017df
call dword [0x47175c]
jmp 0x40eda4
push 0x47b988
lea ecx, [ebp + 0xc]
call fcn.004012e2
mov byte [ebp - 4], 2
mov ecx, dword [edi + 0xc]
push esi
lea edx, [ebp + 0xc]
mov ebx, 0x4b7bd8
call fcn.0040fd89
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004017df
mov eax, edi
call fcn.00452f8c
ret 8