joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430052
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.00428103
and dword [ebp - 4], 0
cmp dword [0x451fe0], 0
mov ebx, eax
jne 0x430103
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4301b4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4301b4
push eax
call fcn.00428091
mov dword [esp], 0x44035c
push edi
mov dword [0x451fe0], eax
call esi
push eax
call fcn.00428091
mov dword [esp], 0x440348
push edi
mov dword [0x451fe4], eax
call esi
push eax
call fcn.00428091
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x451fe8], eax
call esi
push eax
call fcn.00428091
pop ecx
mov dword [0x451ff0], eax
test eax, eax
je 0x430103
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00428091
pop ecx
mov dword [0x451fec], eax
mov eax, dword [0x451fec]
cmp eax, ebx
je 0x43015b
cmp dword [0x451ff0], ebx
je 0x43015b
push eax
call fcn.0042810c
push dword [0x451ff0]
mov esi, eax
call fcn.0042810c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43015b
test edi, edi
je 0x43015b
call esi
test eax, eax
je 0x430152
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x430152
test byte [ebp - 0xc], 1
jne 0x43015b
or dword [ebp + 0x10], 0x200000
jmp 0x430194
mov eax, dword [0x451fe4]
cmp eax, ebx
je 0x430194
push eax
call fcn.0042810c
pop ecx
test eax, eax
je 0x430194
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x430194
mov eax, dword [0x451fe8]
cmp eax, ebx
je 0x430194
push eax
call fcn.0042810c
pop ecx
test eax, eax
je 0x430194
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x451fe0]
call fcn.0042810c
pop ecx
test eax, eax
je 0x4301b4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4301b6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4013d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, edx
push ebx
mov ebx, eax
sub esp, 0x10
mov dword [esp + 4], 0xc
mov dword [esp], 1
call dword [sym.imp.ucrtbase.dll_calloc]
test eax, eax
je 0x40140c
mov edx, dword [ebx + 4]
mov dword [eax + 8], esi
mov dword [eax], ebx
mov dword [eax + 4], edx
mov dword [edx], eax
mov dword [ebx + 4], eax
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
test byte [section..data], 2
jne 0x401422
mov dword [esp], 1
call dword [sym.imp.ucrtbase.dll_exit]
mov dword [esp + 0xc], str.Out_of_memory_for_list._n
mov dword [esp + 8], str.list_append
mov dword [esp + 4], 0x404000
mov dword [esp], 1
call fcn.00401300
jmp 0x401415
Function at 0x403b40
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sub.ucrtbase.dll__configure_wide_argv
call sub.ucrtbase.dll__initialize_wide_environment
call 0x403bb0
mov ebx, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov esi, dword [eax]
call sub.ucrtbase.dll__get_initial_wide_environment
mov edi, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov edx, dword [eax + 8]
mov eax, dword [edx + 0x3c]
cmp word [edx + eax + 0x5c], 2
sete dl
movzx edx, dl
add edx, 1
mov dword [esp], edx
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.00401ff0
mov dword [esp], eax
call sub.ucrtbase.dll_exit
jmp dword [sym.imp.ucrtbase.dll___p___argc]
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x409070
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x40907f
pop dword [ebp - 0x28]
mov eax, 0xb636f2dc
add eax, 0x4a099da3
sub dword [ebp - 0x28], eax
push 0x40
push 0x1000
push 0x36706
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x28]
call dword [eax]
mov ecx, 0x1b2f1434
add ecx, 0xe4d128bd
mov ebx, eax
mov edi, 0xbe55dffd
add edi, 0x41eb5bc7
add edi, dword [ebp - 0x28]
mov edx, 0x5eae0ed4
add dword [ebp - 0x24], ebx
mov esi, dword [edi]
sub dword [ebp - 0x18], 0xf16f93af
xor esi, edx
xor dword [ebp - 0x10], ecx
mov dword [ebx], esi
xor dword [ebp - 0x10], ebx
add ebx, 4
add edi, 4
loop 0x4090d3
add eax, 0x176bd3a2
add eax, 0xe89512f5
xor ebx, ebx
add ebx, eax
add eax, 0xc5df1a47
add eax, 0x3a20e5be
mov ecx, 0x400000
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x401016
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x4010a6
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x4010a3
push 0x5c
push esi
call dword [sym.imp.MSVCR80.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x4010a3
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40107c
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x401075
test ebp, ebp
je 0x401075
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x40107c
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x40109d
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x40109d
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x40102e
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x401bc8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x401bd7
pop dword [ebp - 0x28]
mov eax, 0x731296f
sub eax, 0x6f10d98
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xef551fe6
add dword [ebp - 0x38], 0x5efd2565
mov dword [ebp - 0x34], 0x7b796d7b
sub dword [ebp - 0x34], 0x49462136
mov dword [ebp - 0x30], 0x515532da
add dword [ebp - 0x30], 0xfaf71154
mov dword [ebp - 0x2c], 0x2c6d357b
add dword [ebp - 0x2c], 0xd392ca85
lea eax, [ebp - 0x38]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x8e125a1f
add dword [ebp - 0x38], 0xe6600f37
mov dword [ebp - 0x34], 0x29996b28
add dword [ebp - 0x34], 0x17d2f64d
mov dword [ebp - 0x30], 0x7f626d48
add dword [ebp - 0x30], 0xe40cff24
mov dword [ebp - 0x2c], 0xedf65f87
sub dword [ebp - 0x2c], 0xedf65f87
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x34443
push 0
call eax
mov ecx, 0x3ec4
xor edi, edi
add edi, eax
mov ebx, 0x410000
add ebx, dword [ebp - 0x28]
mov esi, 0xc502ad3f
sub dword [ebp - 0x14], edx
mov edx, dword [ebx]
sub dword [ebp - 4], 0x6698f476
sub edx, esi
xor dword [ebp - 8], 0xfd41407a
mov dword [edi], edx
sub dword [ebp - 0x20], 0x9667f2b9
add edi, 0xabf3750
add edi, 0xf540c8b4
add ebx, 4
loop 0x401cdf
add eax, 0xede3
mov ebx, eax
add eax, 0x60d7262b
sub eax, 0x60d72626
mov ecx, 0x86ecd019
add ecx, 0x79532fe7
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x419b00
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0xa56218a8
sbb eax, 0xa054bd
xlatb
and al, 0x53
xor ah, dh
fcomp qword [edi + 0xb8270fd]
cmc
sub eax, 0x3d0774e4
sbb byte [edi + 0x17], bl
aaa
xor ecx, edx
jecxz 0x419b1c
jl 0x419b5b
mov dword [0x7e9c2ec7], eax
inc edi
out 0xd0, eax
mov edi, dword [esi]
sbb esi, dword [edx]
int 0xcf
rcl byte [eax]
fiadd dword [ebp + 0x12]
jecxz 0x419b69
sbb al, byte [eax + eax + 0x74000000]
stc
test byte [eax], al
add byte [eax], al
add byte [ecx + edi*8 - 0x43], dh
je 0x419afb
mov ebp, 0x7731d031
add dword [eax], eax
invalid
jp 0x419b0c
je 0x419afb
mov ebp, 0x7731d031
add dword [eax], eax
call 0xab419b88
jae 0x419b16
add byte [ebx + 0x26000673], ch
add byte [esi], ah
add eax, 0x31a8d00
add byte [ecx], ch
cdq
sub byte [0x45157ab7], 0x2e
loopne 0x419abf
add eax, dword [eax]
sub dword [ecx + 0x7ab72d82], ebx
mov bh, 0x7a
adc eax, 0x9ce02e45
int 0x9e
fimul dword [ebp - 0x7d]
shr byte [edx - 0x675b92], 0xf3
ja 0x419b81
leave
inc edi
hlt
jge 0x419bb6
outsd dx, dword [esi]
dec eax
mov bl, dh
xor esi, ebp
aas
wait
sbb ebx, ebx
std
clc
into
ret 0xab06
salc
adc eax, 0xe3fec155
mov dword [0x7160e872], eax
and dword gs:[eax], ebx
lea ebp, [edx]
lea eax, [eax]
cmpsd dword [esi], dword es:[edi]
std
mov ebp, 0x4b70e31b
dec edi
sbb ch, cl
mov eax, 0xdabfde48
hlt
int 0xf8
scasb al, byte es:[edi]
xor ebx, dword [ebx + 0x54]
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x4b1d90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x90000]
push edi
or ebp, 0xffffffff
jmp 0x4b1db2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b1db9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b1da8
mov eax, 1
add ebx, ebx
jne 0x4b1dcb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b1ddc
jne 0x4b1dfb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b1dfb
dec eax
add ebx, ebx
jne 0x4b1de8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b1dc0
add ebx, ebx
jne 0x4b1df7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b1e4d
xor ecx, ecx
sub eax, 3
jb 0x4b1e13
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b1e82
sar eax, 1
mov ebp, eax
jmp 0x4b1e1e
add ebx, ebx
jne 0x4b1e1e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b1dec
inc ecx
add ebx, ebx
jne 0x4b1e2c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b1dec
add ebx, ebx
jne 0x4b1e39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b1e2e
jne 0x4b1e4a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b1e2e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b1e6c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b1e5e
jmp 0x4b1dae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b1e6c
add edi, ecx
jmp 0x4b1dae
pop esi
mov edi, esi
mov ecx, 0x650
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b1e8a
cmp byte [edi], 9
jne 0x4b1e8a
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 0x4b1e8f
lea edi, [esi + 0xaf000]
mov eax, dword [edi]
or eax, eax
je 0x4b1efe
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1156f4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1157cc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b1ebc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1157d4]
or eax, eax
je 0x4b1ef8
mov dword [ebx], eax
add ebx, 4
jmp 0x4b1ed9
call dword [esi + 0x1157d0]
mov ebp, dword [esi + 0x1157d8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x4b1f32
sub esp, 0xffffff80
jmp 0x401a9f

Function at 0x4ca243
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x4c9fca
push 0xee5a7a03
pop esi
mov ecx, esi
call fcn.004ca27b
push esi
pop ecx
xor dword [edx], edi
add ecx, esi
inc edx
dec ecx
cmp edx, eax
jne fcn.004ca243
add ecx, 0x8b08aab3
push 0xf49248d4
mov ecx, dword [esp]
add esp, 4
ret
Function at 0x40a050
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x437d68]
jne 0x40a05a
repz ret
jmp fcn.0040c2cc

Function at 0x40b662
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x437d68]
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.0040583e
and dword [ebp - 0x14], 0
cmp dword [0x43b2e0], 0
mov dword [ebp - 0x18], eax
jne 0x40b715
push 0x402adc
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40b7bd
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402ad0
push ebx
call edi
test eax, eax
je 0x40b7bd
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x402ac0
push ebx
mov dword [0x43b2e0], eax
call edi
push eax
call esi
push 0x402aac
push ebx
mov dword [0x43b2e4], eax
call edi
push eax
call esi
push 0x402a90
push ebx
mov dword [0x43b2e8], eax
call edi
push eax
call esi
mov dword [0x43b2f0], eax
test eax, eax
je 0x40b715
push 0x402a78
push ebx
call edi
push eax
call esi
mov dword [0x43b2ec], eax
mov eax, dword [0x43b2ec]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40b76e
cmp dword [0x43b2f0], ecx
je 0x40b76e
push eax
call esi
push dword [0x43b2f0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40b76e
test ebx, ebx
je 0x40b76e
call edi
test eax, eax
je 0x40b765
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40b765
test byte [ebp - 8], 1
jne 0x40b76e
or dword [ebp + 0x10], 0x200000
jmp 0x40b7a1
mov eax, dword [0x43b2e4]
cmp eax, dword [ebp - 0x18]
je 0x40b7a1
push eax
call esi
test eax, eax
je 0x40b7a1
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40b7a1
mov eax, dword [0x43b2e8]
cmp eax, dword [ebp - 0x18]
je 0x40b7a1
push eax
call esi
test eax, eax
je 0x40b7a1
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43b2e0]
call esi
test eax, eax
je 0x40b7bd
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40b7bf
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a050
leave
ret
Function at 0x41ebe0
Capabilities:
Accept command line arguments
Delete directory
Get common file path
Write file on windows

Disassembly:
mov eax, 0x1820
call fcn.0040c510
cmp dword [0x227d25c], 0x37
jne 0x41ec9f
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0x403298
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
lea eax, [esp + 0x824]
push eax
push 0x4032d0
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push 0
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edx, [esp + 4]
push edx
push 0
lea eax, [esp + 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
lea ecx, [esp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
lea edx, [esp + 0x1020]
push edx
push 0
push 0x403364
push 0x403394
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0
push 0x4033b4
push 0x4033bc
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
mov eax, dword [0x227d260]
mov dword [esp], eax
mov eax, 0x5d1
add dword [esp], eax
mov ecx, dword [esp]
mov dl, byte [ecx + esi]
mov eax, dword [0x4403ec]
mov byte [eax + esi], dl
add esp, 0x1820
ret

Function at 0x41ecd0
Capabilities:
Manipulate console buffer

Disassembly:
sub esp, 0x60
mov ecx, dword [esp + 0x64]
mov eax, dword [ecx]
mov edx, dword [0x437f44]
push ebx
push ebp
push esi
mov esi, dword [ecx + 4]
mov ecx, dword [0x437f40]
mov dword [esp + 0x1c], ecx
mov ecx, dword [0x437f48]
mov dword [esp + 0x20], edx
mov edx, dword [0x437f4c]
push edi
mov dword [esp + 0x14], eax
mov edi, 0xc6ef3720
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
mov ebp, 0x20
jmp 0x41ed24
mov eax, dword [esp + 0x14]
mov ecx, eax
shr ecx, 5
add ecx, dword [esp + 0x18]
mov edx, eax
shl edx, 4
add edx, dword [esp + 0x1c]
add eax, edi
xor ecx, edx
xor ecx, eax
sub esi, ecx
mov ecx, esi
shl ecx, 4
mov dword [0x227320c], 0
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x20]
add dword [esp + 0x10], eax
cmp dword [0x227d25c], 0x1be
lea ebx, [edi + esi]
jne 0x41ed79
lea edx, [esp + 0x28]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov eax, esi
shr eax, 5
add eax, dword [esp + 0x24]
mov dword [0x2273210], 0xff6b3619
xor eax, ebx
xor dword [esp + 0x10], eax
mov dword [0x2273214], 0xffffffff
mov eax, dword [esp + 0x10]
sub dword [esp + 0x14], eax
add edi, 0x61c88647
dec ebp
jne 0x41ed20
cmp dword [0x227d25c], 0x8d4
jne 0x41eddf
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x14]
pop edi
mov dword [eax + 4], esi
pop esi
pop ebp
mov dword [eax], edx
pop ebx
add esp, 0x60
ret 4
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x14]
pop edi
mov dword [eax + 4], esi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x60
ret 4
Function at 0x40b15a
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [pe_dos_header]
mov eax, dword ds:[eax + 0x34]
mov ebp, dword ds:[eax + 0xb8]
jmp 0x40b168
push eax
push ecx
push esi
push ebp
mov eax, dword fs:[0x30]
test eax, eax
js 0x40b14a
mov eax, dword ds:[eax + 0xc]
mov esi, dword ds:[eax + 0x1c]
lodsd eax, dword [esi]
mov ebp, dword ds:[eax + 8]
mov dword [ebx + 0x60], ebp
mov eax, ebp
cmp word [eax], 0x5a4d
jne 0x40b145
add eax, 0x3c
mov ecx, dword [eax]
add ecx, dword [ebx + 0x60]
cmp word [ecx], 0x4550
jne 0x40b145
add ecx, 0x78
mov esi, dword [ecx]
add esi, dword [ebx + 0x60]
add esi, 0x18
lodsd eax, dword [esi]
mov dword [ebx + 0x64], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x68], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x6c], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x70], eax
pop ebp
pop esi
pop ecx
pop eax
ret

Function at 0x50ce50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.QNhjSkbP
lea edi, [esi - 0x9000]
push edi
or ebp, 0xffffffff
jmp 0x50ce72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x50ce79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50ce68
mov eax, 1
add ebx, ebx
jne 0x50ce8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x50ce80
jne 0x50ce9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50ce80
xor ecx, ecx
sub eax, 3
jb 0x50ceb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x50cf22
mov ebp, eax
add ebx, ebx
jne 0x50cebb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x50cec8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x50ceec
inc ecx
add ebx, ebx
jne 0x50ced8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x50cecd
jne 0x50cee9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50cecd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x50cf0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x50cefd
jmp 0x50ce6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x50cf0c
add edi, ecx
jmp 0x50ce6e
pop esi
lea edi, [esi + 0xa000]
mov eax, dword [edi]
or eax, eax
je 0x50cf6b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xeacc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xeb24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x50cf29
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xeb2c]
or eax, eax
je 0x50cf65
mov dword [ebx], eax
add ebx, 4
jmp 0x50cf46
call dword [esi + 0xeb28]
mov ebp, dword [esi + 0xeb30]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x50cf9f
sub esp, 0xffffff80
jmp section.bUItIFMf
Function at 0x423aa0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
cmp dword [0x42bc7c], 0
jne 0x423ac4
push 0x1019
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x423ac4
xor eax, eax
jmp 0x423af9
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp eax, 0xfffffffe
je 0x423ad3
xor eax, eax
jmp 0x423af9
push 0x11
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp eax, 0x1f4
jle 0x423af1
mov eax, section..text
sub eax, 0x51615
mov dword [0x42bc80], eax
mov eax, dword [0x42bc80]
add eax, 4
mov esp, ebp
pop ebp
ret

Function at 0x423c60
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
jmp 0x423c78
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jae 0x423d1c
mov edx, dword [ebp - 4]
sub edx, 0x231d
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + eax*2 + 0x463a]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
shr eax, 0xc
cmp eax, 3
jne 0x423d17
mov ecx, dword [ebp - 8]
push ecx
call fcn.00424180
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
jne 0x423cd6
push 0x154b
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x423cd6
xor eax, eax
jmp 0x423d1c
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax - 0x4c3f8]
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + edx]
add ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
mov edx, dword [ebp + 0x10]
mov dword [edx + eax], ecx
mov eax, dword [ebp - 8]
sub eax, 0x4c3f8
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
sub edx, eax
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
jmp 0x423c6f
mov esp, ebp
pop ebp
ret

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408e84
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x723432e0
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x2226268f
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219