joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100057e5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
push edi
xor edi, edi
mov dword [ebp - 0x10], edi
cmp dword [ebp + 0x14], edi
je 0x100059a9
push ebx
push 0xf0
push 0x40
call dword [0x1000d1f0]
mov ebx, eax
mov dword [ebp - 8], ebx
cmp ebx, edi
je 0x100059a8
mov eax, dword [ebp + 0xc]
mov dword [ebx], eax
call dword [0x1000d1f8]
mov dword [ebx + 4], eax
lea eax, [ebp - 0xbc]
push eax
call dword [0x1000d1f4]
cmp eax, 0xffffffff
je 0x10005841
mov eax, dword [ebp - 0xbc]
mov dword [ebx + 8], eax
push esi
push 0x21
push dword [ebp + 0x10]
lea eax, [ebx + 0xc]
push eax
call fcn.1000a5a6
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
push 0x64
push 0x10010494
mov dword [ebp - 0xc], edi
call dword [0x1000d27c]
test eax, eax
jne 0x100058fe
mov esi, dword [ebp - 0xc]
cmp dword [esi + 8], edi
je 0x10005890
mov eax, dword [esi + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1000587d
sub eax, edx
sar eax, 1
lea edi, [eax + eax + 2]
xor ebx, ebx
cmp dword [esi + 4], ebx
je 0x100058b0
mov eax, dword [esi + 4]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1000589d
sub eax, edx
sar eax, 1
lea ebx, [eax + eax + 2]
test edi, edi
je 0x100058cf
cmp edi, 0xc3
ja 0x100058cf
mov eax, dword [ebp - 8]
push edi
push dword [esi + 8]
add eax, 0x2d
push eax
call fcn.1000a5a6
add esp, 0xc
test ebx, ebx
je 0x100058f2
mov eax, 0xc3
sub eax, edi
cmp ebx, eax
ja 0x100058f2
mov eax, dword [ebp - 8]
push ebx
push dword [esi + 4]
lea eax, [edi + eax + 0x2d]
push eax
call fcn.1000a5a6
add esp, 0xc
push esi
call dword [0x1000d278]
mov ebx, dword [ebp - 8]
xor edi, edi
lea eax, [ebp + 0x10]
push eax
push ebx
push dword [ebp + 8]
lea eax, [ebp - 4]
mov dword [ebp + 0x10], edi
mov dword [ebp - 4], edi
call fcn.100056d8
test eax, eax
je 0x10005992
mov eax, dword [ebp - 4]
add eax, 9
push eax
push 0x40
mov dword [ebp + 8], eax
call dword [0x1000d1f0]
mov esi, eax
cmp esi, edi
je 0x10005992
mov eax, dword [ebp + 0xc]
mov dword [esi + 1], eax
mov byte [esi], 0x66
push dword [ebp - 4]
lea eax, [esi + 5]
push dword [ebp + 0x10]
push eax
call fcn.1000a5a6
mov ecx, dword [ebp - 4]
lea edx, [ecx + 5]
add esp, 0xc
or eax, 0xffffffff
mov edi, esi
test edx, edx
je 0x10005976
movzx ebx, byte [edi]
xor ebx, eax
and ebx, 0xff
shr eax, 8
xor eax, dword [ebx*4 + 0x10013078]
inc edi
dec edx
jne 0x1000595a
mov ebx, dword [ebp - 8]
push dword [ebp + 0x14]
not eax
push dword [ebp + 8]
mov dword [esi + ecx + 5], eax
push esi
call fcn.10005780
push esi
mov dword [ebp - 0x10], eax
call dword [0x1000d1ec]
mov ecx, 0xf0
mov eax, ebx
pop esi
mov byte [eax], 0
inc eax
dec ecx
jne 0x1000599a
push ebx
call dword [0x1000d1ec]
pop ebx
mov eax, dword [ebp - 0x10]
pop edi
leave
ret 0x10
Function at 0x10007d8d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov dword [ebp - 4], 0x87654321
xor edi, edi
xor ecx, ecx
cmp dword [ebp + 0xc], ecx
jbe 0x10007dc1
mov esi, edi
mov edx, dword [ebp + 8]
mov dl, byte [edx + ecx*2]
mov eax, esi
and eax, 3
lea eax, [ebp + eax - 4]
xor dl, byte [eax]
dec dl
inc ecx
inc esi
mov byte [eax], dl
cmp ecx, dword [ebp + 0xc]
jb 0x10007da5
inc edi
cmp edi, 3
jb 0x10007d9c
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 8

Function at 0x10008313
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
push esi
movzx eax, ax
push 6
push eax
push dword [0x10017b98]
call dword [0x1000d140]
mov esi, eax
test esi, esi
je 0x10008415
push esi
push dword [0x10017b98]
call dword [0x1000d258]
test eax, eax
je 0x10008415
push eax
call dword [0x1000d164]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x10008415
push esi
push dword [0x10017b98]
call dword [0x1000d154]
mov dword [ebp - 4], eax
test eax, eax
je 0x10008415
mov esi, dword [0x1000d250]
push ebx
push edi
push eax
push 0
call esi
mov ebx, dword [0x1000d1fc]
push eax
call ebx
mov edi, eax
test edi, edi
je 0x10008413
push dword [ebp - 4]
push dword [ebp - 0xc]
push edi
call fcn.1000a5a6
mov eax, dword [ebp - 4]
add esp, 0xc
test eax, eax
je 0x100083b5
mov cl, byte [edi]
xor cl, 0xe9
dec eax
jne 0x100083ad
mov byte [edi], cl
push dword [edi]
push 8
call esi
push eax
call ebx
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
test eax, eax
je 0x10008407
mov ecx, dword [edi]
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 4]
add ecx, 0xfffffffc
push ecx
lea ecx, [edi + 4]
push ecx
lea ecx, [ebp + 8]
push ecx
push eax
call fcn.1000a790
test eax, eax
jne 0x100083fa
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x100083f1
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov dword [ebp - 8], 1
jmp 0x10008407
push dword [ebx]
push 0
call esi
push eax
call dword [0x1000d254]
push edi
push 0
call esi
push eax
call dword [0x1000d254]
pop edi
pop ebx
mov eax, dword [ebp - 8]
pop esi
leave
ret 8
Function at 0x100085fb
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1294
call fcn.1000a760
push ebx
push esi
push edi
xor esi, esi
push 0xffc
lea eax, [esp + 0x2a8]
push esi
push eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x2ac], esi
call fcn.1000a662
add esp, 0xc
mov dword [esp + 0x10], esi
call fcn.10008147
push esi
push 2
mov dword [esp + 0x3c], eax
call dword [0x1000d16c]
mov dword [esp + 0x24], eax
cmp eax, 0xffffffff
je 0x100087da
lea ecx, [esp + 0x70]
push ecx
push eax
mov dword [esp + 0x78], 0x22c
call dword [0x1000d160]
test eax, eax
je 0x100087ca
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x2a0]
sub eax, ecx
mov dword [esp + 0x30], eax
mov ebx, 0x2000000
push dword [esp + 0x78]
or dword [esp + 0x24], 0xffffffff
push esi
push 0x450
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], esi
call dword [0x1000d150]
mov dword [esp + 0x2c], eax
cmp eax, esi
je 0x100087aa
lea ecx, [esp + 0x14]
push ecx
push ebx
push eax
call dword [0x1000d0ac]
test eax, eax
je 0x10008798
mov edi, dword [0x1000d034]
lea eax, [esp + 0x28]
push eax
push 4
lea eax, [esp + 0x28]
push eax
push 0xc
push dword [esp + 0x24]
call edi
test eax, eax
je 0x10008798
cmp dword [esp + 0x34], esi
je 0x100086f9
cmp dword [esp + 0x20], esi
je 0x10008798
lea eax, [esp + 0x1c]
push eax
push 2
push 2
push esi
push ebx
push dword [esp + 0x28]
call dword [0x1000d028]
test eax, eax
je 0x10008798
push 0x38
lea eax, [esp + 0x3c]
push esi
push eax
call fcn.1000a662
add esp, 0xc
lea eax, [esp + 0x28]
push eax
push 0x38
lea eax, [esp + 0x40]
push eax
push 0xa
push dword [esp + 0x2c]
call edi
test eax, eax
je 0x10008798
mov edi, dword [esp + 0x40]
xor eax, eax
cmp dword [esp + 0x10], esi
jbe 0x1000875a
cmp dword [esp + eax*4 + 0x2a0], edi
je 0x10008798
inc eax
cmp eax, dword [esp + 0x10]
jb 0x1000874a
push 4
lea eax, [esp + 0x24]
push eax
push 0xc
push dword [esp + 0x28]
call dword [0x1000d02c]
test eax, eax
je 0x10008798
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
shl eax, 2
add ecx, eax
inc dword [esp + 0x18]
inc dword [esp + 0x10]
mov dword [esp + ecx + 0x2a0], edx
mov dword [esp + eax + 0x2a0], edi
push dword [esp + 0x14]
mov edi, dword [0x1000d228]
call edi
push dword [esp + 0x2c]
call edi
cmp dword [esp + 0x18], 0x40
jae 0x100087d0
lea eax, [esp + 0x70]
push eax
push dword [esp + 0x28]
call dword [0x1000d168]
test eax, eax
jne 0x10008689
jmp 0x100087d0
call dword [0x1000d234]
push dword [esp + 0x24]
call dword [0x1000d228]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10008fd1
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
movzx edx, word [ecx + 0x14]
lea edx, [edx + ecx + 0x18]
movzx ecx, word [ecx + 6]
push edi
xor eax, eax
xor edi, edi
test ecx, ecx
jle 0x10009011
push ebx
push esi
mov esi, dword [edx + 0xc]
cmp esi, dword [ebp + 8]
ja 0x10008ffd
mov ebx, dword [edx + 0x10]
add ebx, esi
cmp ebx, dword [ebp + 8]
jae 0x10009007
add edx, 0x28
inc edi
cmp edi, ecx
jl 0x10008feb
jmp 0x1000900f
mov eax, dword [edx + 0x14]
sub eax, esi
add eax, dword [ebp + 8]
pop esi
pop ebx
pop edi
pop ebp
ret 4

Function at 0x10009016
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov ecx, dword [0x10017b98]
mov eax, dword [ecx + 0x3c]
and dword [ebp - 4], 0
add eax, ecx
push ebx
mov ebx, dword [eax + 0x80]
add ebx, ecx
je 0x10009148
movzx edx, word [eax + 0x14]
and dword [ebp - 8], 0
push esi
push edi
movzx edi, word [eax + 6]
lea esi, [edx + eax + 0x18]
mov dword [ebp - 0xc], esi
test edi, edi
jle 0x10009081
mov eax, dword [eax + 0xd8]
mov dword [ebp - 0x10], eax
mov edx, dword [esi + 0xc]
cmp eax, edx
jb 0x10009073
mov eax, dword [esi + 8]
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jb 0x10009081
inc dword [ebp - 8]
add esi, 0x28
mov dword [ebp - 0xc], esi
cmp dword [ebp - 8], edi
jl 0x1000905c
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esi + 0xc]
push 4
push dword [esi + 8]
add eax, ecx
push eax
call dword [0x1000d178]
test eax, eax
je 0x10009146
cmp dword [ebx], 0
mov dword [ebp - 4], 1
je 0x10009129
cmp dword [ebp - 4], 1
jne 0x10009123
mov eax, dword [ebx + 0xc]
add eax, dword [0x10017b98]
push eax
call dword [0x1000d174]
mov dword [ebp - 8], eax
test eax, eax
je 0x1000914e
mov eax, dword [0x10017b98]
mov esi, dword [ebx + 0x10]
mov edi, dword [ebx]
add esi, eax
add edi, eax
jmp 0x10009112
cmp dword [ebp - 4], 1
jne 0x10009118
mov ecx, eax
and ecx, 0x7fffffff
cmp ecx, eax
jne 0x100090f9
mov eax, dword [0x10017b98]
lea eax, [eax + ecx + 2]
push eax
jmp 0x100090fa
push ecx
push dword [ebp - 8]
call dword [0x1000d204]
mov dword [esi], eax
test eax, eax
jne 0x1000910c
and dword [ebp - 4], eax
add esi, 4
add edi, 4
mov eax, dword [edi]
test eax, eax
jne 0x100090db
mov esi, dword [ebp - 0xc]
add ebx, 0x14
cmp dword [ebx], 0
jne 0x100090aa
cmp dword [ebp - 4], 0
je 0x10009146
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
mov eax, dword [esi + 0xc]
push dword [esi + 8]
add eax, dword [0x10017b98]
push eax
call dword [0x1000d178]
mov dword [ebp - 4], eax
pop edi
pop esi
mov eax, dword [ebp - 4]
pop ebx
leave
ret
and dword [ebp - 4], 0
jmp 0x1000911b
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ed0
nop
mov ecx, 0x59816f6
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x2347238f
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x404360
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], 0
push 0
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
push 0x128
call fcn.00404780
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ecx], 0x128
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_Process32First
test eax, eax
je 0x404420
cmp dword [ebp + 0xc], 0
je 0x4043e9
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x24
push ecx
call fcn.00401870
add esp, 4
push eax
mov edx, dword [ebp - 4]
add edx, 0x24
push edx
call fcn.004047a0
add esp, 4
push eax
call fcn.004026d0
add esp, 0xc
cmp eax, dword [ebp + 0xc]
jne 0x4043e9
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [ebp - 0xc], ecx
jmp 0x404420
cmp dword [ebp + 8], 0
je 0x40440f
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
add eax, 0x24
push eax
call dword [sym.imp.kernel32.dll_lstrcmpi]
test eax, eax
jne 0x40440f
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
mov dword [ebp - 0xc], edx
jmp 0x404420
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.kernel32.dll_Process32Next
test eax, eax
jne 0x4043a9
mov edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.004026c0
add esp, 4
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x4045d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push edi
mov byte [ebp - 0x104], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x104]
push ecx
call fcn.00402560
add esp, 8
lea edx, [ebp - 0x104]
push edx
call fcn.004044e0
add esp, 4
push 0x104
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryA]
push 0x42ebec
call fcn.00401870
add esp, 4
add eax, 1
push eax
push 0x42ebec
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401870
add esp, 4
mov edx, dword [ebp + 8]
add edx, eax
push edx
call fcn.00401660
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call fcn.00401870
add esp, 4
add eax, 1
push eax
lea ecx, [ebp - 0x104]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00401870
add esp, 4
mov ecx, dword [ebp + 8]
add ecx, eax
push ecx
call fcn.00401660
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
call fcn.00401870
add esp, 4
add eax, 1
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401870
add esp, 4
mov edx, dword [ebp + 8]
add edx, eax
push edx
call fcn.00401660
add esp, 0xc
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x411104
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00410f7a
Function at 0x5012cc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esp
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [esp + 0x2c], 1
je 0x5012e5
movzx esi, word [esp + 0x30]
xor eax, eax
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x4c], 0x30
call fcn.005012c4
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x44], 0x501134
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x24], str.Jungo
mov dword [ebp - 0x20], eax
call fcn.005012b7
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
test eax, eax
je 0x5013b0
mov eax, 0x80000000
push edi
push dword [ebp - 0x38]
push edi
push edi
push eax
push eax
push eax
push eax
push 0
push str.180000
push str.Jungo
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push eax
mov dword [0x503758], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x503758]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push edi
push edi
push edi
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
je 0x5013b0
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [ebp - 0x1c]
push eax
call edi
lea ecx, [ebp - 0x1c]
push ecx
call ebx
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
jne 0x501395
mov esp, ebp
pop ebp
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x33b63029
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x16b647e8
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41b004]
jne 0x40100a
repz ret
jmp fcn.00401832

Function at 0x4053fb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41b004]
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.00404311
and dword [ebp - 0x14], 0
cmp dword [0x41d408], 0
mov dword [ebp - 0x18], eax
jne 0x4054ae
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405556
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405556
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x41d408], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x41d40c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x41d410], eax
call edi
push eax
call esi
mov dword [0x41d418], eax
test eax, eax
je 0x4054ae
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x41d414], eax
mov eax, dword [0x41d414]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x405507
cmp dword [0x41d418], ecx
je 0x405507
push eax
call esi
push dword [0x41d418]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x405507
test ebx, ebx
je 0x405507
call edi
test eax, eax
je 0x4054fe
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4054fe
test byte [ebp - 8], 1
jne 0x405507
or dword [ebp + 0x10], 0x200000
jmp 0x40553a
mov eax, dword [0x41d40c]
cmp eax, dword [ebp - 0x18]
je 0x40553a
push eax
call esi
test eax, eax
je 0x40553a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40553a
mov eax, dword [0x41d410]
cmp eax, dword [ebp - 0x18]
je 0x40553a
push eax
call esi
test eax, eax
je 0x40553a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x41d408]
call esi
test eax, eax
je 0x405556
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405558
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret
Function at 0x416eb0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [0x41b004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x824], eax
cmp esi, 0x182
jne 0x416ee9
lea ecx, [ebp - 0x820]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
jmp 0x416f07
cmp esi, 0x19f
jne 0x416f07
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov dword [ebp - 0x828], 0
test esi, esi
jle 0x416fd7
push ebx
mov ebx, dword [ebp - 0x824]
push edi
mov edi, dword [ebp - 0x824]
jmp 0x416f30
lea esi, [ebp - 0x82c]
mov dword [ebp - 0x82c], 0
call fcn.00416ea0
mov dl, byte [ebp - 0x82c]
mov eax, dword [ebp - 0x824]
mov esi, dword [ebp - 0x828]
xor byte [eax + esi], dl
cmp dword [ebp + 0xc], 0xf
jne 0x416fc2
push edi
call dword [sym.imp.KERNEL32.dll_GetNumaHighestNodeNumber]
lea eax, [ebp - 0x830]
push eax
lea ecx, [ebp - 0x804]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push str.pakatexurelinihucarizomowodive
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push str.defifujanotejetozititisiha
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenJobObjectA]
push 0
lea edx, [ebp - 0x404]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push ebx
push str.murezuhubihozumifekunicil
push 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
mov dword [ebp - 0x828], esi
cmp esi, dword [ebp + 0xc]
jl 0x416f30
mov esi, dword [ebp + 0xc]
pop edi
pop ebx
cmp esi, 0x2d
pop esi
jne 0x416ff1
mov dword [0x2768130], 0xa62e7790
mov dword [0x2768134], 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret

Function at 0x417000
Capabilities:
Get disk information

Disassembly:
mov eax, dword [0x2768124]
push esi
push edi
mov edi, dword [0x2767e44]
mov esi, eax
cmp eax, 0x5dd
jne 0x417022
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
mov eax, dword [0x41beb8]
call fcn.00416e70
cmp dword [0x2768124], 0x2f
jne 0x41703d
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push esi
push edi
call fcn.00416eb0
add esp, 8
cmp dword [0x2768124], 0x568
pop edi
pop esi
jne 0x417067
push 0
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaNodeProcessorMask]
ret