joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404820
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, edx
test esi, esi
not eax
je 0x404852
lea esp, [esp]
test cl, 3
je 0x404852
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x42aba8]
add ecx, 1
sub esi, 1
jne 0x404830
cmp esi, 0x20
push ebx
push edi
jb 0x404a3c
mov edi, esi
shr edi, 5
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x42afa8]
xor edx, dword [ebx*4 + 0x42b3a8]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x42aba8]
add ecx, 4
xor edx, dword [eax*4 + 0x42b7a8]
add ecx, 4
xor edx, dword [ecx - 8]
add ecx, 4
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x42afa8]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x42b3a8]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x42aba8]
add ecx, 4
xor eax, dword [edx*4 + 0x42b7a8]
add ecx, 4
xor eax, dword [ecx - 0x10]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x42afa8]
xor edx, dword [ebx*4 + 0x42b3a8]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x42aba8]
xor edx, dword [eax*4 + 0x42b7a8]
xor edx, dword [ecx - 0xc]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x42afa8]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x42b3a8]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x42aba8]
xor eax, dword [edx*4 + 0x42b7a8]
xor eax, dword [ecx - 8]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x42afa8]
xor edx, dword [ebx*4 + 0x42b3a8]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x42aba8]
xor edx, dword [eax*4 + 0x42b7a8]
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x42afa8]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x42b3a8]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x42aba8]
and edx, 0xff
xor eax, dword [edx*4 + 0x42b7a8]
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x42afa8]
xor edx, dword [ebx*4 + 0x42b3a8]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x42aba8]
add ecx, 4
xor edx, dword [eax*4 + 0x42b7a8]
sub esi, 0x20
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x42afa8]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x42b3a8]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x42aba8]
and edx, 0xff
xor eax, dword [edx*4 + 0x42b7a8]
sub edi, 1
jne 0x404862
cmp esi, 4
jb 0x404a89
mov edx, esi
shr edx, 2
xor eax, dword [ecx]
add ecx, 4
mov edi, eax
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x42afa8]
movzx ebx, ah
xor edi, dword [ebx*4 + 0x42b3a8]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x42aba8]
and eax, 0xff
xor edi, dword [eax*4 + 0x42b7a8]
sub esi, 4
sub edx, 1
mov eax, edi
jne 0x404a46
test esi, esi
pop edi
pop ebx
je 0x404aad
nop
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x42aba8]
add ecx, 1
sub esi, 1
jne 0x404a90
not eax
pop esi
ret
Function at 0x4097d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42585b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x431520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [0x4336ac]
test eax, eax
jne 0x40985a
push 0x34
mov dword [ebp - 4], eax
call fcn.0040ee65
mov ecx, eax
add esp, 4
mov dword [ebp - 0x14], ecx
test ecx, ecx
mov byte [ebp - 4], 1
je 0x409825
call fcn.00408dd0
jmp 0x409827
xor eax, eax
test eax, eax
mov esi, eax
jne 0x40984a
jmp 0x40983f
push 0x427434
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
mov ecx, 0x4336ac
call fcn.00409770
mov eax, dword [0x4336ac]
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 0x40bc00
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425c6b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x431520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [0x432970]
test eax, eax
jne 0x40bc96
push 0x1e4
mov dword [ebp - 4], eax
call fcn.0040ee65
mov ecx, eax
add esp, 4
mov dword [ebp - 0x14], ecx
test ecx, ecx
mov byte [ebp - 4], 1
je 0x40bc58
call fcn.0040c640
jmp 0x40bc5a
xor eax, eax
test eax, eax
mov esi, eax
jne 0x40bc7d
jmp 0x40bc72
push 0x427434
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x432970]
cmp esi, eax
je 0x40bc8f
push eax
call fcn.0040ecb6
add esp, 4
mov eax, esi
mov dword [0x432970], eax
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 0x40be90
Capabilities:
Check os version

Disassembly:
sub esp, 0xac
mov eax, dword [0x431520]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
mov ebx, dword [esp + 0xb4]
push esi
push edi
mov edi, dword [esp + 0xc0]
push 0x9c
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.0040ff10
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], 0x9c
call esi
test eax, eax
jne 0x40bf0f
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], 0x94
call esi
test eax, eax
jne 0x40bf0f
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.0040f387
add esp, 0xac
ret
mov eax, dword [esp + 0x1c]
cmp eax, 6
mov ecx, dword [esp + 0x20]
mov dword [ebx], eax
mov dword [edi], ecx
jne 0x40bfa8
cmp ecx, 2
jne 0x40bfa8
push str.ntdll.dll
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x40bef5
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40bf7b
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x18]
push ecx
call eax
and dword [esp + 0xc], 0xffff
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x10]
cmp eax, 6
jne 0x40bf93
mov edx, dword [esp + 0x14]
mov dword [edi], edx
jmp 0x40bfa8
cmp eax, 0xa
jne 0x40bef5
mov dword [ebx], 6
mov dword [edi], 4
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0040f387
add esp, 0xac
ret
Function at 0x40dd30
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x431520]
xor eax, esp
mov dword [esp + 0x190], eax
xor ecx, ecx
mov ch, byte [esp + 0x19c]
lea eax, [esp]
push eax
mov cl, byte [esp + 0x19c]
push ecx
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.0040f387
add esp, 0x194
ret

Function at 0x40dd80
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x108
mov eax, dword [0x431520]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
push edi
mov edi, dword [esp + 0x114]
push 0x104
lea eax, [esp + 0xc]
push 0
push eax
call fcn.0040ff10
mov eax, dword [esp + 0x124]
add esp, 0xc
test eax, eax
jne 0x40dde5
mov ecx, dword [str.c:ywSMP.log]
mov edx, dword [0x4282b4]
mov eax, dword [0x4282b8]
mov dword [esp + 8], ecx
mov cl, byte [0x4282bc]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov byte [esp + 0x14], cl
jmp 0x40de11
cmp eax, 1
jne 0x40de11
mov edx, dword [str.c:GZdbg.log]
mov eax, dword [0x4282a4]
mov ecx, dword [0x4282a8]
mov dword [esp + 8], edx
mov dl, byte [0x4282ac]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov byte [esp + 0x14], dl
lea eax, [esp + 8]
push 0x427790
push eax
call fcn.0041031a
mov esi, eax
add esp, 8
test esi, esi
je 0x40de39
push esi
push edi
call fcn.00412ee3
push esi
call fcn.0040f93b
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
xor ecx, esp
call fcn.0040f387
add esp, 0x108
ret

Function at 0x40f387
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x431520]
jne 0x40f391
repz ret
jmp fcn.00416542

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

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x412357
call fcn.00412eb2
mov dword [eax], esi
call fcn.00412e9f
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0040fece
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x412333
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x412386
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00412ec5
pop ecx
call fcn.00412e9f
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x4123ad
test al, 1
je 0x4123ad
test byte [esp + 0xc], 2
je 0x4123ad
call fcn.00412eb2
mov dword [eax], 5
call fcn.00412e9f
mov dword [eax], 0xd
jmp 0x41237d
xor eax, eax
pop esi
ret
Function at 0x4123c5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x412402
cmp dword [ebp + 0x14], edi
je 0x412402
cmp ecx, edi
jne 0x412409
call fcn.00412e9f
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0040fece
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x41241d
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x41243e
cmp ebx, 0xffffffff
je 0x41242d
push ebx
push edi
push ecx
call fcn.0040ff10
add esp, 0xc
cmp esi, edi
je 0x4123ea
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x4123ea
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x41245a
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x412461
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x412552
test word [esi + 0xc], 0x10c
je 0x4124b5
mov eax, dword [esi + 4]
test eax, eax
je 0x4124b5
jl 0x4125b3
cmp ebx, eax
mov edi, ebx
jb 0x412486
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x41255a
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0040f30c
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x41254a
cmp ebx, dword [ebp - 0xc]
jb 0x412522
cmp dword [ebp - 0xc], 0
je 0x4124df
mov ecx, 0x7fffffff
xor edx, edx
cmp ebx, ecx
jbe 0x4124d4
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x4124db
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x4124ea
mov eax, 0x7fffffff
cmp ebx, eax
ja 0x4124ea
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x412586
push eax
push dword [ebp - 8]
push esi
call fcn.0041881d
pop ecx
push eax
call fcn.0041e8ac
add esp, 0xc
test eax, eax
je 0x4125c5
cmp eax, 0xffffffff
je 0x4125b3
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x41254a
push esi
call fcn.0041e1cb
cmp eax, 0xffffffff
pop ecx
je 0x4125b7
cmp dword [ebp - 4], 0
je 0x412586
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x412469
mov eax, dword [ebp + 0x14]
jmp 0x412404
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x412571
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.0040ff10
add esp, 0xc
call fcn.00412e9f
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x4123fa
cmp dword [ebp + 0xc], 0xffffffff
je 0x41259c
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.0040ff10
add esp, 0xc
call fcn.00412e9f
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x4123fa
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x412404
or dword [esi + 0xc], 0x10
jmp 0x4125b7
Function at 0x416793
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x431750]
je 0x4167ae
inc edi
cmp edi, 0x17
jb 0x41679f
cmp edi, 0x17
jae 0x41692e
push ebp
push 3
call fcn.004209ff
cmp eax, 1
pop ecx
je 0x4168fa
push 3
call fcn.004209ff
test eax, eax
pop ecx
jne 0x4167e2
cmp dword [0x43151c], 1
je 0x4168fa
cmp ebx, 0xfc
je 0x41692d
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x432f90
push ebp
call fcn.004164dd
add esp, 0xc
test eax, eax
je 0x416818
push esi
push esi
push esi
push esi
push esi
call fcn.0040fdd2
add esp, 0x14
push 0x104
mov esi, 0x432fa9
push esi
push 0
mov byte [0x4330ad], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41685c
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.004164dd
add esp, 0xc
test eax, eax
je 0x41685c
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0040fdd2
add esp, 0x14
push esi
call fcn.004131d0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4168a1
push esi
call fcn.004131d0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4332a4
push 0x4297cc
sub ecx, eax
push ecx
push eax
call fcn.0041bf4e
add esp, 0x14
test eax, eax
je 0x4168a1
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0040fdd2
add esp, 0x14
jmp 0x4168a3
xor esi, esi
push 0x4297c8
push ebx
push ebp
call fcn.0041bedd
add esp, 0xc
test eax, eax
je 0x4168c3
push esi
push esi
push esi
push esi
push esi
call fcn.0040fdd2
add esp, 0x14
push dword [edi*8 + 0x431754]
push ebx
push ebp
call fcn.0041bedd
add esp, 0xc
test eax, eax
je 0x4168e5
push esi
push esi
push esi
push esi
push esi
call fcn.0040fdd2
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00420842
add esp, 0xc
jmp 0x41692d
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x41692d
cmp ebp, 0xffffffff
je 0x41692d
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x431754]
push dword [esi]
call fcn.004131d0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x420842
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00414edf
xor ebx, ebx
cmp dword [0x433680], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x420918
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4209f8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42a998
push edi
call esi
cmp eax, ebx
je 0x4209f8
push eax
call fcn.00414e71
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x433680], eax
call esi
push eax
call fcn.00414e71
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x433684], eax
call esi
push eax
call fcn.00414e71
mov dword [0x433688], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0041550d
test eax, eax
pop ecx
pop ecx
je 0x4208e6
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040fdd2
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x420918
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00414e71
cmp eax, ebx
pop ecx
mov dword [0x433690], eax
je 0x420918
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00414e71
pop ecx
mov dword [0x43368c], eax
mov eax, dword [0x43368c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x42099d
cmp dword [0x433690], ecx
je 0x42099d
push eax
call fcn.00414ee8
push dword [0x433690]
mov esi, eax
call fcn.00414ee8
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x42099d
cmp edi, ebx
je 0x42099d
call esi
cmp eax, ebx
je 0x42096a
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42096a
test byte [ebp - 0x18], 1
jne 0x42099d
lea eax, [ebp - 0x10]
push eax
call fcn.00415544
test eax, eax
pop ecx
je 0x420985
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040fdd2
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x420994
or dword [ebp + 0x10], 0x200000
jmp 0x4209d8
or dword [ebp + 0x10], 0x40000
jmp 0x4209d8
mov eax, dword [0x433684]
cmp eax, dword [ebp - 8]
je 0x4209d8
push eax
call fcn.00414ee8
cmp eax, ebx
pop ecx
je 0x4209d8
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4209d8
mov eax, dword [0x433688]
cmp eax, dword [ebp - 8]
je 0x4209d8
push eax
call fcn.00414ee8
cmp eax, ebx
pop ecx
je 0x4209d8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x433680]
call fcn.00414ee8
cmp eax, ebx
pop ecx
je 0x4209f8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4209fa
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43fa03
Capabilities:
Hash data with crc32

Disassembly:
je 0x43fbf7
jne 0x43fbf7
cmp dword [0x69a7642c], esi
lea edi, [eax + 0xcd0ea8]
cmp dword [0xd0c3a8], ecx
or dword [eax + 0x20], 0x80
mov byte [eax + esi - 1], 0
cmp dword [0xdeb3d8], edi
mov dword [0x112765ac], eax
mov dword [esi], 0xace0bc
movsx eax, word [ebp - 0x1c4]
push 0xaab9a8
int1
rcr byte [esi], 1
loop 0x43f2e7
sub eax, 0x22a93090
aaa
out 0x83, al
leave
jmp [eax + 3]
movsd dword es:[edi], dword [esi]
add byte [eax + 0x4561b4], bh
mov eax, 0x10d7a2b8
mov edx, 0xb1ced4
push 0xa76714
mov dword [esi], 0x9fb764
push str._Mm
mov dword [edx + esi + 0x13c], 0x10261f8c
push 0x697a2e6c
mov byte [ebp - 0x132], 0
mov ecx, 0x15
sti
and bh, byte [edi + 0x4232049f]
cmp byte [eax], bl
mov al, byte [0x6b249244]
dec edi
arpl word [eax], bx
cwde
jmp 0x43fa03
not ecx
xor ebx, ebx
je 0x43fafa
jne 0x43fafa
cmp dword [ebp + 0xc], eax
jmp dword [ecx*4 + 0x86d66c]
shr ecx, 8
je 0x43f8c9
jne 0x43f8c9
mov dword [0x112b2da8], eax
neg dword [ebp + 0x12]
push 0xa233fc
push 0x1016adc0
mov dword [0x1124da0c], eax
mov dword [0x111d2de4], eax
cmp dword [ebp + 0x1c], 0x80000000
mov dword [esi], 0xa0e618
pmaddwd xmm6, xmmword [0x69809430]
mov eax, 0x10dab0f8
push 0x100d8c6c
mov ecx, dword [0x42be3c]
movzx eax, word [0xf376c4]
add ebp, 0x518
mov dword [esi + 0x5c], 0x42edc0
push 0xaf4520
cmp byte [0xdef019], 0
mov dword [esp + 0xec], 0x1028d9a4
hlt
mov dword [ebp - 0x128], ebx
mov dword [ebp - 4], 0xfffffffe
push 0x43fb85
ret
push eax
push 0x43fe3a
ret
je 0x43f33b
movzx eax, byte [esi]
xor eax, ecx
je 0x43fd59
jne 0x43fd59
mov ecx, dword [0x1152b260]
lock cmpxchg dword [ebx], edx
mov dword [esi + 0x694], 1
mov dword [esi + 4], 0x63eba0
jmp dword [0x49140c]
xor ecx, dword [eax*4 + 0x401240]
push 0x43f5f1
ret
mov eax, edx
dec edx
mov dword [ebp - 0x130], edx
test eax, eax
jmp 0x43f814
mov dword [ebp - 0x124], esi
jmp 0x43f925
cmp ecx, 0x39b5d60d
sete bl
jmp 0x43f464
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4b19b0
push 0x4a41c0
mov eax, dword fs:[0]
jmp 0x43f67a
and eax, 0xff
jmp 0x43f37a
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x42e072
nop
nop
mov ebx, 0x407ef8
nop
nop
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
push eax
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x77f77b23
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e0d2
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x5dff6081
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x401933
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
mov eax, 0x42683f
call fcn.004256c0
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x14]
mov byte [esi], bl
mov byte [esi + 1], bl
mov byte [esi + 2], bl
mov byte [esi + 3], bl
mov byte [esi + 4], bl
mov byte [esi + 5], bl
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
call fcn.004032ae
lea ecx, [esi + 0x20]
mov dword [ebp - 4], ebx
call fcn.0040198c
lea ecx, [esi + 0x30]
call fcn.004032ae
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x405386
Capabilities:
Set file attributes

Disassembly:
push edx
push ecx
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
test eax, eax
setne al
ret

Function at 0x405512
Capabilities:
Create directory

Disassembly:
mov eax, 0x426bd0
call fcn.004256c0
sub esp, 0x38
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push ebx
push esi
call dword [sym.imp.kernel32.dll_CreateDirectoryW]
test eax, eax
je 0x405535
mov al, 1
jmp 0x40557b
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xb7
je 0x405546
xor al, al
jmp 0x40557b
lea ecx, [ebp - 0x44]
call fcn.0040573f
lea ecx, [ebp - 0x1c]
call fcn.004032ae
push ebx
push esi
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call fcn.0040598d
test al, al
je 0x405570
mov ebx, dword [ebp - 0x24]
shr ebx, 4
and bl, 1
push dword [ebp - 0x1c]
call fcn.00403a73
pop ecx
mov al, bl
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

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

Disassembly:
push ecx
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40598c
or eax, eax
ret

Function at 0x406d48
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x406d57
pop dword [ebp - 8]
mov eax, 0x922e0dbd
sub eax, 0x91eda066
sub dword [ebp - 8], eax
push 0x40
push 0x1000
push 0x3b886
push 0
mov eax, 0xc81e52c1
sub eax, 0xc7dbc295
add eax, dword [ebp - 8]
call dword [eax]
mov ecx, 0x772e816a
sub ecx, 0x772e2f5b
mov esi, eax
mov edi, 0x1ad0267f
add edi, 0xe5734781
add edi, dword [ebp - 8]
mov ebx, 0x9818ede6
add ebx, 0xabd02ff
mov dword [ebp - 4], 0xac6178b3
mov edx, dword [edi]
add dword [ebp - 4], edi
sub edx, ebx
xor dword [ebp - 4], 0x612dacd6
mov dword [esi], edx
add dword [ebp - 4], edx
add esi, 0xd1ae9f06
sub esi, 0xd1ae9f02
add edi, 4
loop 0x406db6
add eax, 0x362069d6
sub eax, 0x361f2ec7
mov ebx, eax
add eax, 0xfe4f613b
add eax, 0x1b09eca
mov ecx, 0xa15c1446
sub ecx, 0xa11c1446
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x41e7e0
Capabilities:
Check os version
Get common file path

Disassembly:
sub esp, 0x2d4
push esi
call dword [sym.imp.kernel32.dll_GetVersion]
cmp ax, 6
je 0x41e81d
push str.SetDefaultDllDirectories
push 0x429a14
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x41e81d
push 0xc00
call eax
test eax, eax
jne 0x41e8b6
lea eax, [esp + 8]
push 0x106
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
test eax, eax
je 0x41e8b6
cmp eax, 0x104
ja 0x41e8b6
cmp word [esp + eax*2 + 6], 0x5c
je 0x41e84c
mov word [esp + eax*2 + 8], 0x5c
inc eax
mov esi, dword [str.userenv]
cmp byte [esi], 0
je 0x41e8b6
push ebp
lea ecx, [esp + eax*2 + 0xc]
push edi
mov edi, dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov dword [esp + 0xc], ecx
mov ebp, 0x6c
mov cl, byte [esi]
mov eax, dword [esp + 0xc]
inc esi
test cl, cl
je 0x41e88b
xor dx, dx
add eax, 2
mov dl, cl
inc esi
mov word [eax - 2], dx
mov cl, byte [esi - 1]
test cl, cl
jne 0x41e877
mov word [eax], 0x2e
mov word [eax + 2], 0x64
mov word [eax + 4], bp
mov word [eax + 6], bp
mov word [eax + 8], 0
push 8
lea eax, [esp + 0x14]
push 0
push eax
call edi
cmp byte [esi], 0
jne 0x41e86c
pop edi
pop ebp
pop esi
add esp, 0x2d4
ret