joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f950
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x43f97b
cmp dword [esi + 0x80], 0
je 0x43f97b
push 2
push 3
push esi
call fcn.00439950
push dword [ebp + 0xc]
call fcn.0043f2e0
add esp, 0x10
jmp 0x43f98a
push dword [ebp + 0xc]
call fcn.0043f2e0
add esp, 4
test esi, esi
je 0x43f99e
cmp dword [esi + 0x80], 0
je 0x43f99e
push 3
push esi
call fcn.004399a0
add esp, 8
pop esi
pop ebp
ret
Function at 0x44ab20
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.0043ef00
mov esi, dword [ebp + 0xc]
add esp, 4
mov edi, dword [ebp + 8]
movups xmm0, xmmword [eax]
push 1
push esi
push edi
movups xmmword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x44ab9b
nop
lea eax, [ebp - 0x20]
push eax
call fcn.0043ef00
movups xmm0, xmmword [ebp - 0x10]
sub esp, 0xc
mov ecx, esp
sub esp, 0x10
movups xmmword [ecx], xmm0
mov ecx, esp
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
call fcn.0043efb0
add esp, 0x20
test edx, edx
ja 0x44aba3
jb 0x44ab85
cmp eax, 0x3e8
ja 0x44aba3
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
je 0x44ab50
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44ac10
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
push esi
push edi
xor edi, edi
mov dword [eax], edi
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x10]
mov dword [ebp - 8], edi
push dword [ebp + 0xc]
mov dword [ebp - 0x10], edi
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
jne 0x44ad82
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x44adf1
push ebx
mov eax, dword [esi + 4]
cmp eax, 2
jne 0x44ac60
mov eax, 0x10
jmp 0x44ac6e
cmp eax, 0x17
jne 0x44ad46
mov eax, 0x1c
cmp dword [esi + 0x18], 0
mov dword [ebp - 0xc], eax
je 0x44ad46
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x44ad46
cmp ecx, eax
jb 0x44ad46
mov edi, dword [fcn.00476200]
mov ecx, edi
push 0x20
call dword [0x49a38c]
call edi
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x44addd
mov ecx, dword [esi]
mov dword [ebx], ecx
mov ecx, dword [esi + 4]
mov dword [ebx + 4], ecx
mov ecx, dword [esi + 8]
mov dword [ebx + 8], ecx
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x1c], 0
mov edi, dword [fcn.00476200]
mov ecx, edi
push eax
call dword [0x49a38c]
call edi
add esp, 4
mov dword [ebx + 0x18], eax
test eax, eax
je 0x44adbc
push dword [ebp - 0xc]
push dword [esi + 0x18]
push eax
call fcn.0046e7f0
mov eax, dword [esi + 0x14]
add esp, 0xc
test eax, eax
je 0x44ad2e
mov edi, dword [0x4bb058]
mov ecx, edi
push eax
call dword [0x49a38c]
call edi
add esp, 4
mov dword [ebx + 0x14], eax
test eax, eax
je 0x44ad88
mov edi, dword [ebp - 8]
test edi, edi
mov eax, dword [ebp - 0x10]
cmove edi, ebx
mov dword [ebp - 8], edi
test eax, eax
je 0x44ad43
mov dword [eax + 0x1c], ebx
mov dword [ebp - 0x10], ebx
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x44ac51
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
pop ebx
test eax, eax
je 0x44ad63
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
test edi, edi
je 0x44adea
push dword [ebp - 8]
call fcn.0044abb0
add esp, 4
xor edi, edi
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp - 4]
mov dword [eax], edi
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [ebx + 0x18]
mov esi, dword [fcn.00475b60]
mov edi, 8
mov ecx, esi
mov dword [ebp - 4], edi
call dword [0x49a38c]
call esi
mov esi, dword [fcn.00475b60]
add esp, 4
mov ecx, esi
push ebx
call dword [0x49a38c]
call esi
add esp, 4
jmp 0x44ad54
mov esi, dword [fcn.00475b60]
mov edi, 8
push ebx
mov ecx, esi
mov dword [ebp - 4], edi
call dword [0x49a38c]
call esi
add esp, 4
jmp 0x44ad54
mov edi, 8
mov dword [ebp - 4], edi
jmp 0x44ad54
mov edi, dword [ebp - 8]
test edi, edi
jne 0x44ad78
mov esi, 0x2af9
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [ebp + 0x14]
mov dword [eax], edi
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44b2f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call fcn.0047e1fc
add esp, 0x18
test eax, eax
je 0x44b312
cmp eax, 0xffffffff
jne 0x44b314
xor eax, eax
pop ebp
ret
Function at 0x48882a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004884db

Function at 0x488835
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00488665

Function at 0x48e928
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0048e5a5
Function at 0x405889
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ebx
and eax, 4
push edi
mov dword [ebp - 4], eax
call fcn.00405b47
test bl, 8
mov dword [ebp - 0xc], eax
je 0x4058c8
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
inc eax
add dword [0x4247c8], eax
jmp 0x405a52
mov dword [ebp + 8], ebx
and dword [ebp + 8], 1
je 0x4058e2
test eax, eax
je 0x405a00
test bl, 2
je 0x405a00
mov esi, 0x421d30
push edi
push esi
call fcn.004060c1
cmp dword [ebp + 8], 0
je 0x405901
push 0x40a3cc
push esi
call sub.KERNEL32.dll_lstrcatA
jmp 0x405907
push edi
call fcn.00405aa0
cmp byte [edi], 0
jne 0x405915
cmp byte [0x421d30], 0x5c
jne 0x405920
push 0x40a014
push edi
call sub.KERNEL32.dll_lstrcatA
push edi
call sub.KERNEL32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x14c]
push eax
push esi
add ebx, edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x4059f6
lea eax, [ebp - 0x120]
push 0x3f
push eax
lea esi, [ebp - 0x120]
call fcn.00405a84
cmp byte [eax], 0
je 0x405966
cmp byte [ebp - 0x1c], 0
je 0x405966
lea esi, [ebp - 0x1c]
cmp byte [esi], 0x2e
jne 0x40597c
mov al, byte [esi + 1]
test al, al
je 0x4059d5
cmp al, 0x2e
jne 0x40597c
cmp byte [esi + 2], 0
je 0x4059d5
push esi
push ebx
call fcn.004060c1
test byte [ebp - 0x14c], 0x10
je 0x4059a1
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x4059d5
push dword [ebp + 0xc]
push edi
call fcn.00405889
jmp 0x4059d5
push dword [ebp - 4]
push edi
call fcn.00405841
test eax, eax
jne 0x4059cd
cmp dword [ebp - 4], eax
je 0x4059c5
push edi
push 0xfffffffffffffff1
call fcn.004051e8
push 0
push edi
call fcn.00405ea0
jmp 0x4059d5
inc dword [0x4247c8]
jmp 0x4059d5
push edi
push 0xfffffffffffffff2
call fcn.004051e8
lea eax, [ebp - 0x14c]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x405944
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x405a00
and byte [ebx - 1], 0
xor esi, esi
cmp dword [ebp + 8], esi
je 0x405a52
cmp dword [ebp - 0xc], esi
jne 0x405a14
inc dword [0x4247c8]
jmp 0x405a52
push edi
call fcn.00406435
test eax, eax
je 0x405a52
push edi
call fcn.00405a59
mov eax, dword [ebp - 4]
or al, 1
push eax
push edi
call fcn.00405841
test eax, eax
jne 0x405a4a
cmp dword [ebp - 4], esi
je 0x405a0c
push edi
push 0xfffffffffffffff1
call fcn.004051e8
push esi
push edi
call fcn.00405ea0
jmp 0x405a52
push edi
push 0xffffffffffffffe5
call fcn.004051e8
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4011f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, word [esp + 4]
mov dword [esp + 4], edx
jmp fcn.00410d50
Function at 0x402c80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402c99
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402cd4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x402cd0
lea ebx, [ebx]
cmp esi, eax
jae 0x402cd4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x402cc0
cmp esi, eax
jb 0x402cda
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x4069f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x433cfd
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x445580]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov dword [esi], vtable.CNode.0
call fcn.004182db
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x406a3d
push 0x80004005
call fcn.00402c00
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x24], eax
mov dword [esp + 0x20], ebx
call fcn.004182db
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x406a6a
push 0x80004005
call fcn.00402c00
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x28], eax
mov byte [esp + 0x20], 1
lea ebp, [esi + 0x2c]
call fcn.004182db
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x406a9b
push 0x80004005
call fcn.00402c00
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp], eax
push fcn.00403070
push fcn.00403210
push 1
push 4
lea ecx, [esi + 0x70]
push ecx
mov byte [esp + 0x34], 2
call fcn.0041e203
push fcn.00403070
push fcn.00403210
push 1
push 4
lea edi, [esi + 0x74]
push edi
mov byte [esp + 0x34], 3
call fcn.0041e203
push ebx
push 0x436895
mov ecx, ebp
mov byte [esp + 0x28], 4
call fcn.004033f0
push ebx
push 0x436895
lea ecx, [esi + 0x28]
call fcn.004033f0
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], ecx
xor edx, edx
push ebx
mov dword [esi + 0x80], edx
push 0x436895
lea ecx, [esi + 0x24]
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x14], 2
mov dword [esi + 0x18], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x10], 0xffffffff
call fcn.004033f0
push 8
call dword [sym.imp.USER32.dll_GetSysColor]
push ebx
mov dword [esi + 0x30], eax
call fcn.00404af0
mov ecx, eax
call fcn.00404b20
lea edx, [eax + eax*4]
add edx, edx
mov dword [esi + 0x34], edx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], 0x190
mov byte [esi + 0x48], 1
mov byte [esi + 0x49], bl
mov byte [esi + 0x4a], bl
mov byte [esi + 0x4b], bl
mov byte [esi + 0x4c], 2
mov byte [esi + 0x4d], 1
mov byte [esi + 0x4e], 4
mov byte [esi + 0x4f], 0x50
mov eax, dword [str.Times_New_Roman]
mov dword [esi + 0x50], eax
mov ecx, dword [0x436c10]
mov dword [esi + 0x54], ecx
mov edx, dword [0x436c14]
mov dword [esi + 0x58], edx
mov eax, dword [0x436c18]
push 8
push str._s__s__s
mov ecx, edi
mov dword [esi + 0x5c], eax
call fcn.004033f0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x409b70
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x433f68
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x445580]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x4c]
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
push esi
lea ecx, [esp + 0x30]
push ecx
mov ecx, edi
call edx
mov ecx, dword [eax]
mov edx, dword [eax + 8]
mov ebp, dword [eax + 4]
mov ebx, dword [eax + 0xc]
xor eax, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], vtable.CFont.0
mov dword [esp + 0x44], eax
push esi
lea eax, [edi + 0x34]
push eax
lea ecx, [esp + 0x1c]
call fcn.00418bd6
mov edx, dword [esi]
mov edx, dword [edx + 0x28]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call edx
mov edx, dword [esi]
mov edx, dword [edx + 0x68]
push 0x921
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0x28]
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
sub ebx, ebp
lea ecx, [ebx + eax + 2]
push ecx
push edx
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00417bcb
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
lea edx, [ebx + ecx + 2]
push edx
push eax
mov ecx, esi
call fcn.0041784d
mov ecx, dword [esp + 0x54]
mov edi, dword [edi + 0x28]
lea edx, [ecx + ebx + 5]
push 0x924
mov dword [esp + 0x58], edx
mov eax, dword [edi - 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0x68]
lea ecx, [esp + 0x54]
push ecx
push eax
push edi
mov ecx, esi
call edx
mov ecx, dword [esp + 0x4c]
mov eax, dword [esi]
mov edx, dword [eax + 0x28]
push ecx
mov ecx, esi
call edx
lea ecx, [esp + 0x14]
call fcn.00417efe
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x14], vtable.CFont.0
call fcn.004037e0
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0x18

Function at 0x41611c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x416163
call fcn.004198c4
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x416163
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41617f
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00415c96
mov esi, eax
test edi, edi
je 0x41617d
test ebx, ebx
je 0x41617d
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41d41b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x445580]
jne 0x41d425
repz ret
jmp fcn.00422a1c
Function at 0x429217
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0042240c
and dword [ebp - 4], 0
cmp dword [0x44954c], 0
mov ebx, eax
jne 0x4292c8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x429379
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x43b278
push edi
call esi
test eax, eax
je 0x429379
push eax
call fcn.0042239a
mov dword [esp], 0x43b268
push edi
mov dword [0x44954c], eax
call esi
push eax
call fcn.0042239a
mov dword [esp], 0x43b254
push edi
mov dword [0x449550], eax
call esi
push eax
call fcn.0042239a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x449554], eax
call esi
push eax
call fcn.0042239a
pop ecx
mov dword [0x44955c], eax
test eax, eax
je 0x4292c8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042239a
pop ecx
mov dword [0x449558], eax
mov eax, dword [0x449558]
cmp eax, ebx
je 0x429320
cmp dword [0x44955c], ebx
je 0x429320
push eax
call fcn.00422415
push dword [0x44955c]
mov esi, eax
call fcn.00422415
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x429320
test edi, edi
je 0x429320
call esi
test eax, eax
je 0x429317
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x429317
test byte [ebp - 0xc], 1
jne 0x429320
or dword [ebp + 0x10], 0x200000
jmp 0x429359
mov eax, dword [0x449550]
cmp eax, ebx
je 0x429359
push eax
call fcn.00422415
pop ecx
test eax, eax
je 0x429359
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x429359
mov eax, dword [0x449554]
cmp eax, ebx
je 0x429359
push eax
call fcn.00422415
pop ecx
test eax, eax
je 0x429359
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44954c]
call fcn.00422415
pop ecx
test eax, eax
je 0x429379
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42937b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4011cc
Capabilities:
Get uefi variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.0040b610
mov eax, dword [0x42598c]
mov ecx, dword [0x422784]
push esi
shr eax, 3
xor esi, esi
cmp eax, esi
jbe 0x40125d
push ebx
push edi
mov ebx, ecx
mov edi, eax
cmp dword [0x42598c], 0xae9
jne 0x401250
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_HeapValidate]
push esi
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x404]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
push esi
lea eax, [ebp - 0x1004]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
push str.peraleyuwawusogeyodotu
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
push esi
lea eax, [ebp - 0x804]
push eax
push str.tilibevigonisesayetecacimofizojokepabovobaciki
push str.saxaxo
call dword [sym.imp.KERNEL32.dll_GetFirmwareEnvironmentVariableW]
call fcn.00401050
add ebx, 8
dec edi
jne 0x4011f4
pop edi
pop ebx
pop esi
leave
ret
Function at 0x40273f
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0x40
push 0x1000
push dword [0x42598c]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x422784], eax
ret

Function at 0x406c7a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41f408]
jne 0x406c84
repz ret
jmp fcn.0040a7d2

Function at 0x40729c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41f408]
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.004063d6
and dword [ebp - 0x14], 0
cmp dword [0x420f80], 0
mov dword [ebp - 0x18], eax
jne 0x40734f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4073f7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4073f7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x420f80], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x420f84], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x420f88], eax
call edi
push eax
call esi
mov dword [0x420f90], eax
test eax, eax
je 0x40734f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x420f8c], eax
mov eax, dword [0x420f8c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4073a8
cmp dword [0x420f90], ecx
je 0x4073a8
push eax
call esi
push dword [0x420f90]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4073a8
test ebx, ebx
je 0x4073a8
call edi
test eax, eax
je 0x40739f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40739f
test byte [ebp - 8], 1
jne 0x4073a8
or dword [ebp + 0x10], 0x200000
jmp 0x4073db
mov eax, dword [0x420f84]
cmp eax, dword [ebp - 0x18]
je 0x4073db
push eax
call esi
test eax, eax
je 0x4073db
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4073db
mov eax, dword [0x420f88]
cmp eax, dword [ebp - 0x18]
je 0x4073db
push eax
call esi
test eax, eax
je 0x4073db
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x420f80]
call esi
test eax, eax
je 0x4073f7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4073f9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406c7a
leave
ret
Function at 0x401e40
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
call fcn.00402060
ret
push ebp
mov ebp, esp
xor dword [ebx + 0x78], 0x56
mov esi, dword [ebp + 0xc]
push esi
lea eax, [ebp - 0x78]
js 0x401ec8
push eax
push cs
call 0x40d3e0
inc esi
dec ebp
or byte [ebx + 0x40c3c815], cl
add byte [eax + 0x51], dl
add edx, 0x40
push 0x7834ac
push edx
call dword [0x7240c180]
mov eax, dword [0x4102ac]
or esi, 0x14
cmp al, 0xc0
je 0x401e8c
sub dword [eax + 0x54], ebp
rol byte [eax + 0x29], cl
invalid
push esi
call dword [0xf140c170]
pop ss
nop
nop
jns 0x401e28
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
mov ebp, dword [esi - 0x36]
mov edx, 0x8757394
leave
in al, dx
inc esi
adc al, 0x18
inc ebp
or al, ch
dec ecx
dec ebx
rol byte [eax], cl
mov dword [0x4194df], eax
mov dword [0xfd49a4], edx
jns 0x401e9c
mov eax, dword [esi + 0x14]
test eax, eax
mov edi, edx
jne 0x401f0d
ror byte [ebx - 0x74bf8a06], 0x4e
test byte [edx + 0x60], ch
mov ecx, dword [esi - 0x7c]
push 0x60
push 0xffffffffffffff82
push ecx
call fcn.00408c2d
mov dword [ebp + 0x38], edi
insb byte es:[edi], dx
add byte [eax], al
mov ebp, ebp
cmp al, 8
add byte [edi + 0x3a46c7], ah
add byte [0xdc5f8b00], ah
xor al, byte [ecx]
mov dword [esi + 0x14], edx
mov eax, dword [0x4102c9]
test dword [ebx + 0x30], edx
cmp esp, dword [ecx + 0xf902ae]
mov esp, dword [eax + 3]
enter 0x4e89, 0x6a
jmp 0x401f3a
mov ecx, dword [esi + 0x87e]
xor dh, 0xc9
inc eax
add byte [ebx + 0x40d02c15], cl
jmp [edx]
mov edx, dword [esi + 0x18]
mov ebx, dword [0x40d030]
cmp byte [esi + 4], al
lea ecx, [ebp + 5]
add esi, dword [edx + 0x43]
push edx
push eax
call 0x3f4090c0
test eax, eax
cmpsd dword [esi], dword es:[edi]
xor eax, dword [ebx + 0x2e740bf8]
cmp eax, 0xf2d8fd68
je 0x401f13
mov al, 0x3d
frndint
fild word [eax]
cmp eax, 0xdffcd9
je 0x401f8a
dec ecx
push edi
lahf
add byte cs:[ecx + ebx - 0x41], dh
and al, 0x7e
or al, byte [eax]
xor esp, dword [eax + 0x57]
mov esp, edi
or al, byte [eax]
je 0x401f62
cmp eax, 0xa623b3
jne 0x402030
mov edi, ebx
or byte [ebx + 0x4102861d], cl
add byte [ebx + 0x4102c113], cl
add byte [ebx], al
fcomp dword [esi + 0x1d4700d7]
mov al, byte [0x89004102]
cmp eax, 0x5d3e02a4
arpl word [esi + 0x18], dx
cwde
dec esi
pushfd
add edx, eax
sub ecx, eax
mov dword [esi + 0x18], edx
mov dword [ecx - 0x137af0ec], edx
inc byte [ebp - 1]
mov dword [esi - 0x57], 3
call 0xb36a7e
mul dword [eax - 0x76ffbef5]
adc eax, 0x30ed52a4
mov edx, dword [esi + 4]
mov dword [esi + 0xce0840], eax
mov ecx, dword [0x77de0ba4]
mov eax, 0x3f
mov dword [ebp - 0x10], eax
mov dword es:[edx - 0xc], eax
mov dword [esi + 0x844], ecx
mov edx, edx
clc
pop ss
inc ecx
inc esp
or byte [eax], al
add byte [ebx + 0x4117f8d2], cl
add byte [ebp + 0x5589ec45], cl
clc
push eax
push ecx
mov dword [ebp - 4], esi
call fcn.0040abc0
pop edi
mov ebp, eax
mov ebp, dword [edx + 0x5d]
ret
mov ebx, dword [0x4102bc]
loope 0x401ff4
aam 0x40
add byte [eax], bh
mov dword [0x41bbbc], ebx
sub ebp, dword [edi + sym.imp.MSVCRT.dll_printf]
push esi
inc edx
sbb al, byte [eax]
jnp 0x401fd2
enter 0x5f08, 0x5e
pop ebx
mov esp, ebp
pop ebp
ret