joyce8/EMBER2024-capa huggingface dataset:
Function at 0x78af2713
Capabilities:
Get thread local storage value

Disassembly:
push 0
mov eax, 0x78b4fd3c
call fcn.78abb69a
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xc]
push dword [eax + 0x70]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x78af27d9
mov ecx, eax
and ecx, 3
jne 0x78af2743
mov esi, eax
mov ebx, eax
jmp 0x78af2760
cmp ecx, 1
jne 0x78af2767
and eax, 0xfffffffe
mov esi, dword [eax + 0x10]
mov eax, dword [esi + 0x20]
add esi, 4
test eax, eax
je 0x78af275e
cmp byte [eax + 0x40], 0
jne 0x78af27d9
mov ebx, esi
call fcn.78ae87e8
jmp 0x78af279e
and eax, 0xfffffffd
mov esi, eax
lea edi, [esi + 4]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
mov esi, dword [esi + 0x20]
mov eax, dword [esi + 0x28]
add esi, 0xc
test eax, eax
je 0x78af278d
cmp byte [eax + 0x40], 0
je 0x78af278d
xor esi, esi
jmp 0x78af2794
mov ebx, esi
call fcn.78ae87e8
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x14]
mov edi, dword [ebp + 8]
test esi, esi
je 0x78af27d9
cmp dword [esi + 0x14], edi
je 0x78af27d5
push 0x3c
call fcn.78aeeb1a
pop ecx
mov dword [ebp + 8], eax
and dword [ebp - 4], 0
test eax, eax
je 0x78af27c6
push edi
mov ebx, esi
mov edi, eax
call fcn.78aeeb1a
jmp 0x78af27c8
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov ebx, eax
mov esi, eax
call fcn.78ae87e8
mov eax, esi
jmp 0x78af27db
xor eax, eax
call fcn.78abbf60
ret 4

Function at 0x78af7297
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebx
push 0x78af7328
call dword [sym.imp.kernel32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x78af7324
push esi
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push 0x78af7344
push ebx
call esi
mov ecx, dword [0x78b555e8]
push 0x78af7358
xor ecx, eax
push ebx
mov dword [edi], ecx
call esi
mov ecx, dword [0x78b555e8]
push 0x78af7370
xor ecx, eax
push ebx
mov dword [edi + 4], ecx
call esi
mov ecx, dword [0x78b555e8]
push 0x78af737c
xor ecx, eax
push ebx
mov dword [edi + 8], ecx
call esi
mov ecx, dword [0x78b555e8]
push 0x78af7394
xor ecx, eax
push ebx
mov dword [edi + 0xc], ecx
call esi
mov ecx, dword [0x78b555e8]
push 0x78af73a8
xor ecx, eax
push ebx
mov dword [edi + 0x10], ecx
call esi
mov ecx, dword [0x78b555e8]
xor ecx, eax
mov dword [edi + 0x14], ecx
pop esi
mov eax, edi
pop ebx
ret
Function at 0x78afa728
Capabilities:
Get thread local storage value
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x78b54610]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x80c], edi
call fcn.78af035a
push dword [0x78b58954]
mov esi, eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x78afa778
call dword [sym.imp.kernel32.dll_DebugBreak]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.78ab0807
leave
ret
test esi, esi
je 0x78afa7d5
cmp dword [esi + 0x1c], 0
je 0x78afa7d5
mov eax, dword [esi + 0x18]
test eax, eax
je 0x78afa78e
mov edi, dword [eax + 0x6c]
jmp 0x78afa791
or edi, 0xffffffff
push dword [ebp + 0x10]
push dword [ebp - 0x80c]
push ebx
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
push eax
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 8]
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push eax
push 0x78afa840
lea eax, [ebp - 0x808]
push 0x400
push eax
call fcn.78aeeb1a
add esp, 0x2c
jmp 0x78afa7fa
push dword [ebp + 0x10]
push edi
push ebx
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
push eax
push 0x78afa8a8
lea eax, [ebp - 0x808]
push 0x400
push eax
call fcn.78aeeb1a
add esp, 0x1c
xor eax, eax
mov word [ebp - 8], ax
lea eax, [ebp - 0x808]
push eax
push dword [0x78b555ec]
call sym.MSVCR100.dll_fwprintf
push dword [0x78b555ec]
call sym.MSVCR100.dll_fflush
add esp, 0xc
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
call dword [sym.imp.kernel32.dll_DebugBreak]
push 0xfffffffffffffff8
call fcn.78aeeb1a
int3

Function at 0x78afa8fc
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x78b54610]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea ebx, [ebp - 0x808]
call fcn.78aeeb1a
xor eax, eax
pop ecx
mov word [ebp - 8], ax
pop ecx
mov eax, ebx
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
mov eax, ebx
push eax
call sym.MSVCR100.dll___iob_func
add eax, 0x40
push eax
call sym.MSVCR100.dll_fwprintf
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.78ab0807
leave
ret
Function at 0x78afa955
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x78b54610]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x78b589ec]
test dword [ebp + 8], eax
je 0x78afa9ea
push ebx
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea ebx, [ebp - 0x808]
call fcn.78aeeb1a
xor eax, eax
pop ecx
mov word [ebp - 8], ax
mov eax, dword [0x78b555ec]
pop ecx
pop ebx
test eax, eax
je 0x78afa9dd
lea ecx, [ebp - 0x808]
push ecx
push eax
call sym.MSVCR100.dll_fwprintf
pop ecx
pop ecx
push 0
push 0x32
push dword [0x78b589f4]
push dword [0x78b589f0]
call fcn.78ac8210
add dword [0x78b589f0], 1
adc dword [0x78b589f4], 0
or eax, edx
jne 0x78afa9ea
push dword [0x78b555ec]
call sym.MSVCR100.dll_fflush
pop ecx
jmp 0x78afa9ea
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.78ab0807
leave
ret

Function at 0x78afe8af
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x78afe8d6
call sym.MSVCR100.dll___doserrno
mov dword [eax], esi
call sym.MSVCR100.dll__errno
push 0x16
pop esi
mov dword [eax], esi
call sym.MSVCR100.dll__invalid_parameter_noinfo
mov eax, esi
jmp 0x78afe92b
test dword [ebp + 0xc], 0xfffffff9
jne 0x78afe8bc
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x78afe903
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.78aeeb1a
pop ecx
call sym.MSVCR100.dll__errno
mov eax, dword [eax]
jmp 0x78afe92b
test al, 0x10
jne 0x78afe929
test al, 1
je 0x78afe929
test byte [ebp + 0xc], 2
je 0x78afe929
call sym.MSVCR100.dll___doserrno
mov dword [eax], 5
call sym.MSVCR100.dll__errno
mov dword [eax], 0xd
jmp 0x78afe8fa
xor eax, eax
pop esi
pop ebp
ret

Function at 0x78afe946
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x78afe96e
call sym.MSVCR100.dll___doserrno
and dword [eax], 0
call sym.MSVCR100.dll__errno
mov dword [eax], 0x16
call sym.MSVCR100.dll__invalid_parameter_noinfo
or eax, 0xffffffff
pop ebp
ret
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x78afe98b
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.78aeeb1a
pop ecx
jmp 0x78afe969
test byte [ebp + 0xc], 0x80
je 0x78afe996
and eax, 0xfffffffe
jmp 0x78afe999
or eax, 1
push eax
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
test eax, eax
je 0x78afe97c
xor eax, eax
pop ebp
ret
Function at 0x78b00307
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x78b0032f
call sym.MSVCR100.dll___doserrno
and dword [eax], 0
call sym.MSVCR100.dll__errno
mov dword [eax], 0x16
call sym.MSVCR100.dll__invalid_parameter_noinfo
or eax, 0xffffffff
pop ebp
ret
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x78b0034c
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.78aeeb1a
pop ecx
jmp 0x78b0032a
test byte [ebp + 0xc], 0x80
je 0x78b00357
and eax, 0xfffffffe
jmp 0x78b0035a
or eax, 1
push eax
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
test eax, eax
je 0x78b0033d
xor eax, eax
pop ebp
ret

Function at 0x78b2c16f
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x78b58650], eax
mov dword [0x78b5864c], ecx
mov dword [0x78b58648], edx
mov dword [0x78b58644], ebx
mov dword [0x78b58640], esi
mov dword [0x78b5863c], edi
mov word [0x78b58668], ss
mov word [0x78b5865c], cs
mov word [0x78b58638], ds
mov word [0x78b58634], es
mov word [0x78b58630], fs
mov word [0x78b5862c], gs
pushfd
pop dword [0x78b58660]
mov eax, dword [ebp]
mov dword [0x78b58654], eax
mov eax, dword [ebp + 4]
mov dword [0x78b58658], eax
lea eax, [ebp + 8]
mov dword [0x78b58664], eax
mov eax, dword [ebp - 0x320]
mov dword [0x78b585a0], 0x10001
mov eax, dword [0x78b58658]
mov dword [0x78b58554], eax
mov dword [0x78b58548], 0xc0000409
mov dword [0x78b5854c], 1
mov eax, dword [0x78b54610]
mov dword [ebp - 0x328], eax
mov eax, dword [0x78b553f8]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x78b58598], eax
push 1
call sym.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x78b2c270
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x78b58598], 0
jne 0x78b2c25b
push 1
call sym.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x40f080
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40b015
lea edi, [esi - 0xa015]
push edi
or ebp, 0xffffffff
jmp 0x40f0a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40f0a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40f098
mov eax, 1
add ebx, ebx
jne 0x40f0bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40f0b0
jne 0x40f0cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f0b0
xor ecx, ecx
sub eax, 3
jb 0x40f0e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40f152
mov ebp, eax
add ebx, ebx
jne 0x40f0eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40f0f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40f11c
inc ecx
add ebx, ebx
jne 0x40f108
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40f0fd
jne 0x40f119
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f0fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40f13c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40f12d
jmp 0x40f09e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40f13c
add edi, ecx
jmp 0x40f09e
pop esi
mov edi, esi
mov ecx, 0x265
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40f15a
cmp byte [edi], 2
jne 0x40f15a
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 eax, ebx
loop 0x40f15f
lea edi, [esi + 0xd000]
mov eax, dword [edi]
or eax, eax
je 0x40f1ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xf000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf064]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40f18c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xf068]
or eax, eax
je 0x40f1c8
mov dword [ebx], eax
add ebx, 4
jmp 0x40f1a9
call dword [esi + 0xf06c]
popal
jmp 0x40354a

Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x3be7570
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x4e842c6e
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x401040
Capabilities:
Delete file
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x41b004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0xc]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
mov esi, ecx
push eax
push section..text
push 6
mov dword [ebp - 0xc], 0
call edi
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x401128
push 0xa
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x401128
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push section..text
push 6
call edi
push esi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x401128
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x401128
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push section..text
push 6
call edi
push esi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x401128
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x401128
push 0
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
test eax, eax
jne 0x40113b
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401a6e
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401a6e
mov esp, ebp
pop ebp
ret
Function at 0x401770
Capabilities:
Change the wallpaper
Copy file
Delete file
Get common file path
Get startup folder
Hide graphical window
Write file to startup folder

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x418
mov eax, dword [0x41b004]
xor eax, esp
mov dword [esp + 0x414], eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov edi, eax
test edi, edi
je 0x4017a8
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 6
push edi
call esi
push 0
push edi
call esi
push str.LockBit.JPG
mov ecx, 0x419e6c
call fcn.00401040
add esp, 4
test eax, eax
je 0x4017df
push str.HLJkNskOq.README.txt
mov ecx, 0x419e8c
call fcn.00401040
add esp, 4
test eax, eax
jne 0x4017f8
push str.LockBit.JPG
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.00401a6e
mov esp, ebp
pop ebp
ret
push 0x208
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00402bb0
mov esi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [esp + 0x14]
add esp, 0xc
push eax
push 0
push 0
push 0x10
push 0
call esi
test eax, eax
js 0x40182e
lea ecx, [esp + 8]
call fcn.004014c0
push 0x208
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00402bb0
add esp, 0xc
lea eax, [esp + 8]
push eax
push 0
push 0
push 5
push 0
call esi
test eax, eax
js 0x40185e
lea ecx, [esp + 8]
call fcn.004014c0
push 0x208
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00402bb0
add esp, 0xc
lea eax, [esp + 8]
push eax
push 0
push 0
push 0xd
push 0
call esi
test eax, eax
js 0x40188e
lea ecx, [esp + 8]
call fcn.004014c0
push 0x208
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00402bb0
add esp, 0xc
lea eax, [esp + 8]
push eax
push 0
push 0
push 0x27
push 0
call esi
test eax, eax
js 0x4018be
lea ecx, [esp + 8]
call fcn.004014c0
push 0x208
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00402bb0
add esp, 0xc
lea eax, [esp + 8]
push eax
push 0
push 0
push 0xe
push 0
call esi
test eax, eax
js 0x4018ee
lea ecx, [esp + 8]
call fcn.004014c0
push 0x208
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00402bb0
add esp, 0xc
lea eax, [esp + 8]
push eax
push 0
push 0
push 7
push 0
call esi
test eax, eax
js 0x40191e
lea ecx, [esp + 8]
call fcn.004014c0
mov ecx, 0x419e38
call fcn.004014c0
mov ecx, 0x419e40
call fcn.004014c0
mov ecx, 0x419e48
call fcn.004014c0
mov ecx, 0x419e50
call fcn.004014c0
mov ecx, 0x419e58
call fcn.004014c0
lea eax, [esp + 8]
push eax
push 0
push 0
push 0x10
push 0
call esi
test eax, eax
js 0x401980
push 0x419dcc
lea eax, [esp + 0xc]
push eax
push str._s_s
push 0x104
push eax
call fcn.004019f0
add esp, 0x14
push 0
lea eax, [esp + 0xc]
push eax
push 0x419dcc
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x4019aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
je 0x4019aa
cmp eax, 0x50
je 0x4019aa
test eax, eax
jne 0x4019d0
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea eax, [esp + 0x210]
push 0
push eax
push 0x207
push 0x73
call esi
push 3
lea eax, [esp + 0xc]
push eax
push 0
push 0x14
call esi
mov ecx, dword [esp + 0x41c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00401a6e
mov esp, ebp
pop ebp
ret
Function at 0x406a06
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406a2a
xor eax, eax
test eax, eax
je 0x406a3d
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406a3d
xor ecx, ecx
jmp 0x406a40
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406b63
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4275ec], 0
push esi
jne 0x406b9a
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406b74
mov dword [ecx*4 + 0x4275e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b6f
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406bcb
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4275e8]
xor eax, esi
inc ecx
dec edx
jne 0x406bad
pop edi
not eax
pop esi
ret 0xc

Function at 0x401000
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
jmp 0x403a1c
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x405076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x405220], eax
mov dword [0x4051a8], 0x403098
mov dword [0x4051a4], 2
jmp 0x403a4c
mov dword [0x4051ac], 0
mov dword [0x4051b0], 0
mov dword [0x4051a0], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4051b4], eax
mov dword [0x4051c8], 0x40426e
mov dword [0x4051c0], 0xf
mov dword [0x40506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4051b8], eax
mov dword [0x4051cc], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4051bc], eax
push 0x4051a0
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x40506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.justam
push 0x40426e
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x405218], eax
push 5
push dword [0x405218]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x405218]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x403b1f
push 0
push 0
push 0
push 0x4051d0
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x403b4c
push 0x4051d0
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x4051d0
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x403b1f
mov eax, dword [0x4051d8]
jmp 0x403b59
call 0x402be1
ret
Function at 0x406810
Capabilities:
Connect socket

Disassembly:
clc
xor ebp, dword [esi - 0x75]
xlatb
mov ecx, 0x8800000e
rep stosd dword es:[edi], eax
mov eax, dword [esi]
push 0
push ebx
push 1
mov dword [eax + 0x7a], edx
mov ecx, dword [esi]
mov edx, dword [ecx + 0x14]
mov eax, edi
mov ebx, dword [edi + eax*8 + 0x40]
xor al, 1
call 0xecb67ff
invalid
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x4dbde0
push esi
mov eax, dword [esi]
loopne 0x4067d7
dec ebp
add byte [esi - 0x75], dl
push es
push eax
call fcn.00405640
aas
invalid

Function at 0x4070d0
Capabilities:
Encode data using xor

Disassembly:
push edi
sbb dword [edx], 4
sub esi, ebx
js 0x407135
cld
mov ecx, dword [eax + 0xc]
invalid
push ebp
mov ebp, esp
sub esp, 0xd3000254
cld
dec ebp
or al, 0x53
push esi
xor edx, ebp
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
test al, 0x89
jne 0x4070db
mov dword [ebp - 0x14], esi
mov al, byte [eax]
mov ebp, edi
fadd qword [eax + eax*8 - 0x76ad971d]
jne 0x4070ec
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], edx
xor eax, dword [edx + ebp*4 - 0x74ff07f6]
pop ebp
adc al, 0x3c
and eax, 0x455a3c74
outsd dx, dword [esi]
test eax, eax
je 0x407143
cmp eax, dword [ebp - 0x24]
xor ebx, dword [ebx + ecx*4]
jge 0x407116
and ecx, dword [ecx - 0x3faa009f]
mov eax, dword [0xc08504c4]
jno 0x4070b0
xchg esp, eax
or al, byte [eax]
add byte [ebx + 0x78b6f4f], cl
retf
outsb dx, byte [esi]
fmul qword [ebx - 0x76bfefab]
inc ebp
hlt
inc dword [ebp - 0x4e]
jmp 0x8772ee

Function at 0x40a3d0
Capabilities:
Terminate process

Disassembly:
xor ecx, dword [edx - 0x68]
add al, 0
nop
nop
nop
nop
nop
nop
nop
nop
pop es
nop
nop
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov eax, dword [edi + 0x74dbaa14]
xor eax, dword [ebx + 0x5027b54d]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x40a40a
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jne 0x40a3fe
mov eax, 0x8c23a
inc dword [ecx]
add eax, 0xafc4c
pop esi
pop ebp
mov word [eax], cs
add byte [ecx - 0x40], dl
pop ebp
ret 8
push ecx
rcr byte [ebp - 0x3e], 8
add byte [edx + 0x4e3b], bh
pop ebp
ret 0x2a
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..data
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x59ac1663
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data_1
mov ebx, 0x42e3d0
nop
mov ecx, 0x152978d8
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219

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

Disassembly:
pushal
call 0x43200c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43201e
popal
nop
nop
nop
nop
nop
jmp 0x431219