joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401a5e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0x82
call fcn.0040bead
xor edx, edx
pop ecx
cmp dword [ebp + 0xc], edx
jle 0x401aa3
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, 0x476ba8
mov edi, eax
sub esi, ecx
sub edi, ecx
mov cx, word [esi + edx*2 + 0x476ba8]
xor cx, word [edx*2 + 0x476ba8]
inc edx
mov word [edi + edx*2 + 0x476ba6], cx
cmp edx, dword [ebp + 0xc]
jl 0x401a83
pop edi
pop esi
xor ecx, ecx
mov word [eax + edx*2], cx
pop ebp
ret 8

Function at 0x401d81
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0x2a
call fcn.0040d2c3
xor edx, edx
pop ecx
cmp dword [ebp + 0xc], edx
jle 0x401dc3
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, 0x4427ac
mov edi, eax
sub esi, ecx
sub edi, ecx
mov cx, word [esi + edx*2 + 0x4427ac]
xor cx, word [edx*2 + 0x4427ac]
inc edx
mov word [edi + edx*2 + 0x4427aa], cx
cmp edx, dword [ebp + 0xc]
jl 0x401da3
pop edi
pop esi
xor ecx, ecx
mov word [eax + edx*2], cx
pop ebp
ret 8

Function at 0x401dcd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0x15
call fcn.0040d2c3
pop ecx
xor ecx, ecx
cmp dword [ebp + 0xc], ecx
jle 0x401e0b
push esi
mov esi, dword [ebp + 8]
push edi
mov edx, str._n_wp
mov edi, eax
sub esi, edx
sub edi, edx
mov dl, byte [esi + ecx + str._n_wp]
xor dl, byte [ecx + str._n_wp]
inc ecx
mov byte [edi + ecx + 0x4427d3], dl
cmp ecx, dword [ebp + 0xc]
jl 0x401def
pop edi
pop esi
mov byte [ecx + eax], 0
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push esi
cmp dword [0x477ef8], ecx
jne 0x4022f7
push 8
mov eax, ecx
pop esi
test al, 1
je 0x4022d8
shr eax, 1
xor eax, 0xedb88320
jmp 0x4022da
shr eax, 1
dec esi
jne 0x4022cb
mov dword [ecx*4 + 0x477f08], eax
inc ecx
cmp ecx, 0x100
jl 0x4022c6
mov dword [0x477ef8], 1
mov ecx, dword [ebp + 8]
lea ecx, [edx + ecx*2]
or eax, 0xffffffff
cmp edx, ecx
jae 0x402324
push edi
movzx edi, byte [edx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
xor eax, dword [esi*4 + 0x477f08]
add edx, 2
cmp edx, ecx
jb 0x402305
pop edi
not eax
pop esi
pop ebp
ret 4

Function at 0x4036f2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0x66
call fcn.0040bead
xor edx, edx
pop ecx
cmp dword [ebp + 0xc], edx
jle 0x403734
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, 0x427cb0
mov edi, eax
sub esi, ecx
sub edi, ecx
mov cx, word [esi + edx*2 + 0x427cb0]
xor cx, word [edx*2 + 0x427cb0]
inc edx
mov word [edi + edx*2 + 0x427cae], cx
cmp edx, dword [ebp + 0xc]
jl 0x403714
pop edi
pop esi
xor ecx, ecx
mov word [eax + edx*2], cx
pop ebp
ret 8

Function at 0x40373e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0x76
call fcn.0040bead
xor edx, edx
pop ecx
cmp dword [ebp + 0xc], edx
jle 0x403780
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, 0x4284d8
mov edi, eax
sub esi, ecx
sub edi, ecx
mov cx, word [esi + edx*2 + 0x4284d8]
xor cx, word [edx*2 + 0x4284d8]
inc edx
mov word [edi + edx*2 + 0x4284d6], cx
cmp edx, dword [ebp + 0xc]
jl 0x403760
pop edi
pop esi
xor ecx, ecx
mov word [eax + edx*2], cx
pop ebp
ret 8
Function at 0x405daf
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4265d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 0xffff
mov eax, ebx
push edi
mov edi, ecx
cmp ax, si
jne 0x405dda
xor eax, eax
jmp 0x405f42
mov ecx, dword [edi + 0x24]
cmp dword [ecx], 0
je 0x405e07
mov eax, dword [edi + 0x34]
mov ecx, dword [ecx]
mov edx, dword [eax]
lea edx, [ecx + edx*2]
cmp ecx, edx
jae 0x405e07
dec dword [eax]
mov edi, dword [edi + 0x24]
mov eax, dword [edi]
lea ecx, [eax + 2]
mov dword [edi], ecx
mov word [eax], si
mov ax, si
jmp 0x405f42
cmp dword [edi + 0x54], 0
jne 0x405e14
mov eax, ebx
jmp 0x405f42
mov eax, edi
call fcn.00407298
cmp dword [edi + 0x44], 0
jne 0x405e3a
push dword [edi + 0x54]
push esi
call fcn.0040d4ca
pop ecx
cmp ax, bx
pop ecx
movzx eax, si
jne 0x405f42
jmp 0x405e0d
movzx eax, si
lea esi, [ebp - 0x20]
mov dword [ebp - 0x24], eax
call fcn.00406b7f
cmp dword [ebp - 0xc], 0x10
mov eax, dword [ebp - 0x20]
jae 0x405ee7
lea eax, [ebp - 0x20]
mov edx, eax
add eax, dword [ebp - 0x10]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x28]
push ebx
push eax
push edx
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x22]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [edi + 0x4c]
push eax
call dword [esi + 0x14]
xor ebx, ebx
cmp eax, ebx
jl 0x405f32
cmp eax, 1
jg 0x405eef
cmp dword [ebp - 0xc], 0x10
mov eax, dword [ebp - 0x20]
jae 0x405e96
lea eax, [ebp - 0x20]
mov esi, dword [ebp - 0x28]
sub esi, eax
je 0x405ebc
cmp dword [ebp - 0xc], 0x10
mov eax, dword [ebp - 0x20]
jae 0x405ea9
lea eax, [ebp - 0x20]
push dword [edi + 0x54]
push esi
push 1
push eax
call fcn.0040eb39
add esp, 0x10
cmp esi, eax
jne 0x405f32
lea eax, [ebp - 0x24]
mov byte [edi + 0x4a], 1
cmp dword [ebp - 0x2c], eax
jne 0x405f21
cmp esi, ebx
ja 0x405e48
cmp dword [ebp - 0x10], 0x20
push ebx
jae 0x405f33
push 8
pop ebx
lea esi, [ebp - 0x20]
call fcn.00401281
jmp 0x405e48
mov edx, dword [ebp - 0x20]
jmp 0x405e5a
cmp eax, 3
jne 0x405f32
push dword [edi + 0x54]
push dword [ebp - 0x24]
call fcn.0040d4ca
movzx esi, word [ebp + 8]
pop ecx
pop ecx
mov ecx, 0xffff
cmp ax, cx
jne 0x405f11
mov esi, ecx
push ebx
push 1
lea ecx, [ebp - 0x20]
call fcn.004012d8
jmp 0x405dff
push ebx
push 1
lea ecx, [ebp - 0x20]
call fcn.004012d8
mov ax, word [ebp + 8]
jmp 0x405f42
push ebx
push 1
lea ecx, [ebp - 0x20]
call fcn.004012d8
mov eax, 0xffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040cab3
leave
ret 4
Function at 0x4071a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4265d4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [edi + 0x44], 0
push esi
je 0x407289
cmp byte [edi + 0x4a], 0
je 0x407289
mov eax, dword [edi]
mov esi, 0xffff
push esi
mov ecx, edi
call dword [eax + 0xc]
cmp si, ax
jne 0x4071de
xor al, al
jmp 0x40728b
lea esi, [ebp - 0x20]
call fcn.00406b7f
push ebx
cmp dword [ebp - 0xc], 0x10
mov eax, dword [ebp - 0x20]
jae 0x40722b
lea eax, [ebp - 0x20]
mov edx, eax
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x24]
push ebx
mov ebx, dword [ebp - 0x10]
add eax, ebx
push eax
push edx
lea eax, [edi + 0x4c]
push eax
call dword [esi + 0x18]
sub eax, 0
je 0x407230
dec eax
je 0x407234
dec eax
dec eax
je 0x407285
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.004012d8
mov al, bl
pop ebx
jmp 0x40728b
mov edx, dword [ebp - 0x20]
jmp 0x4071f5
mov byte [edi + 0x4a], 0
cmp dword [ebp - 0xc], 0x10
mov eax, dword [ebp - 0x20]
jae 0x407240
lea eax, [ebp - 0x20]
mov esi, dword [ebp - 0x24]
sub esi, eax
je 0x407266
cmp dword [ebp - 0xc], 0x10
mov eax, dword [ebp - 0x20]
jae 0x407253
lea eax, [ebp - 0x20]
push dword [edi + 0x54]
push esi
push 1
push eax
call fcn.0040eb39
add esp, 0x10
cmp esi, eax
jne 0x407218
cmp byte [edi + 0x4a], 0
je 0x407285
test esi, esi
jne 0x4071e7
push esi
push 8
pop ebx
lea esi, [ebp - 0x20]
call fcn.00401281
jmp 0x4071e7
mov bl, 1
jmp 0x40721a
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0040cab3
leave
ret

Function at 0x407937
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0x58
call fcn.0040bead
xor edx, edx
pop ecx
cmp dword [ebp + 0xc], edx
jle 0x407979
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, 0x427578
mov edi, eax
sub esi, ecx
sub edi, ecx
mov cx, word [esi + edx*2 + 0x427578]
xor cx, word [edx*2 + 0x427578]
inc edx
mov word [edi + edx*2 + 0x427576], cx
cmp edx, dword [ebp + 0xc]
jl 0x407959
pop edi
pop esi
xor ecx, ecx
mov word [eax + edx*2], cx
pop ebp
ret 8
Function at 0x40a05d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push edi
mov edi, edx
test ecx, ecx
jne 0x40a068
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x40a11c
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4233b8]
movzx ebx, byte [ecx + 1]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4233b8]
movzx ebx, byte [ecx + 2]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4233b8]
movzx ebx, byte [ecx + 3]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4233b8]
movzx ebx, byte [ecx + 4]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4233b8]
movzx ebx, byte [ecx + 5]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4233b8]
movzx ebx, byte [ecx + 6]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4233b8]
movzx ebx, byte [ecx + 7]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4233b8]
add ecx, 8
sub edi, 8
dec esi
jne 0x40a07f
pop ebx
test edi, edi
je 0x40a135
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x4233b8]
inc ecx
dec edi
jne 0x40a120
pop esi
not eax
pop edi
ret

Function at 0x40a13a
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov eax, dword [ecx]
movsx edx, dl
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0x4233b8]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x4233b8]
pop esi
mov dword [ecx + 8], eax
ret
Function at 0x40cab3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4265d4]
jne 0x40cabd
repz ret
jmp fcn.00411507

Function at 0x41b48a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4265d4]
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.0041219c
and dword [ebp - 0x14], 0
cmp dword [0x477ea4], 0
mov dword [ebp - 0x18], eax
jne 0x41b53d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41b5e5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41b5e5
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x477ea4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x477ea8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x477eac], eax
call edi
push eax
call esi
mov dword [0x477eb4], eax
test eax, eax
je 0x41b53d
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x477eb0], eax
mov eax, dword [0x477eb0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41b596
cmp dword [0x477eb4], ecx
je 0x41b596
push eax
call esi
push dword [0x477eb4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41b596
test ebx, ebx
je 0x41b596
call edi
test eax, eax
je 0x41b58d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41b58d
test byte [ebp - 8], 1
jne 0x41b596
or dword [ebp + 0x10], 0x200000
jmp 0x41b5c9
mov eax, dword [0x477ea8]
cmp eax, dword [ebp - 0x18]
je 0x41b5c9
push eax
call esi
test eax, eax
je 0x41b5c9
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41b5c9
mov eax, dword [0x477eac]
cmp eax, dword [ebp - 0x18]
je 0x41b5c9
push eax
call esi
test eax, eax
je 0x41b5c9
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x477ea4]
call esi
test eax, eax
je 0x41b5e5
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41b5e7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040cab3
leave
ret
Function at 0x4010b0
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x4010c2
mov eax, dword [0x40c08b]
shl eax, 2
mov dword [0x40c08f], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.00403520
pop edx
call fcn.004028bc
call fcn.00403524
push 0
call fcn.00404764
pop ecx
push 0x40c034
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x40c093], eax
push 0
jmp fcn.00409414
Function at 0x402174
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively
Set current directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd80
push dword [ebp + 8]
call sub.KERNEL32.DLL_SetCurrentDirectoryA
test eax, eax
jne 0x402190
xor eax, eax
jmp 0x4022f8
lea edx, [ebp - 0x160]
push edx
push 0x40c33b
call sub.KERNEL32.DLL_FindFirstFileA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x4021c5
call sub.KERNEL32.DLL_GetLastError
cmp eax, 2
jne 0x4021be
mov eax, 1
jmp 0x4022f8
xor eax, eax
jmp 0x4022f8
call fcn.004022fc
push 0x40c33f
lea edx, [ebp - 0x134]
push edx
call sub.KERNEL32.DLL_lstrcmpiA
test eax, eax
je 0x4022c2
push 0x40c341
lea ecx, [ebp - 0x134]
push ecx
call sub.KERNEL32.DLL_lstrcmpiA
test eax, eax
je 0x4022c2
test byte [ebp - 0x160], 0x10
je 0x402232
push dword [ebp + 0x10]
mov al, byte [ebp + 0xc]
push eax
lea edx, [ebp - 0x134]
push edx
call fcn.00402174
add esp, 0xc
test eax, eax
jne 0x4022c2
push dword [ebp - 0x14]
call sub.KERNEL32.DLL_FindClose
xor eax, eax
jmp 0x4022f8
cmp byte [ebp + 0xc], 0
je 0x402242
mov edx, dword [ebp + 0x10]
inc dword [edx]
jmp 0x4022c2
push 0
push 0
push 0x405
push dword [0x40e8c0]
call sub.USER32.DLL_SendMessageA
push 0
lea ecx, [ebp - 0x264]
push ecx
push 0x104
lea eax, [ebp - 0x134]
push eax
call sub.KERNEL32.DLL_GetFullPathNameA
lea edx, [ebp - 0xc]
push edx
lea ecx, [ebp - 8]
push ecx
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 0x264]
push edx
call fcn.00401dd0
add esp, 0x10
test al, al
je 0x4022b7
lea ecx, [ebp - 0x264]
push ecx
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.00401edc
add esp, 0xc
push dword [ebp - 0xc]
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.00401db0
add esp, 0xc
jmp 0x4022c2
push dword [0x40e8bc]
call sub.USER32.DLL_BringWindowToTop
lea eax, [ebp - 0x160]
push eax
push dword [ebp - 0x14]
call sub.KERNEL32.DLL_FindNextFileA
test eax, eax
jne 0x4021c5
push dword [ebp - 0x14]
call sub.KERNEL32.DLL_FindClose
push 0x40c344
call sub.KERNEL32.DLL_SetCurrentDirectoryA
test eax, eax
jne 0x4022f3
xor eax, eax
jmp 0x4022f8
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x403214
Capabilities:
Get memory capacity

Disassembly:
add esp, 0xffffffe0
mov dword [esp], 0x20
push esp
call sub.KERNEL32.DLL_GlobalMemoryStatus
mov eax, dword [esp + 0xc]
add esp, 0x20
ret

Function at 0x408498
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x4084fa
call fcn.00408448
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.00403900
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.00403900
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x408558
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x40de00], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x408632
cmp dword [0x40ddfc], 0
jne 0x408632
cmp dword [0x40dff0], 0
je 0x4085ec
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.00408348
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4085d2
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.00408348
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4085d2
lea ebx, [ebp - 0x84]
jmp 0x4085d3
inc ebx
call fcn.00408514
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x40866d
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x40de04
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.00403900
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x40de07
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x40866d
cmp dword [0x40ddfc], 0
je 0x40864c
cmp dword [0x40ddfc], 0xffffffff
je 0x40866d
push esi
call dword [0x40ddfc]
pop ecx
mov eax, dword [0x40de00]
test eax, eax
je 0x40866d
cmp dword [0x40de00], 0xffffffff
je 0x40866d
cmp byte [eax], 0
je 0x40866d
push esi
push eax
call fcn.00408498
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x6a564dec
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x5b375874
nop
nop
nop
test eax, eax
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x401ee2
Capabilities:
Terminate process

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

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.0040c272
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.0040c272
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.0040c272
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.0040c272
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.0040c272
mov dword [0x41203c], eax
call fcn.0040c272
test eax, eax
jge 0x402550
push 8
call fcn.0040c272
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.0040c272
pop ecx
push 1
call fcn.0040c272
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.0040c272
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.0040c272
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.0040c272
jmp 0x402495

Function at 0x40c272
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x40c281
pop dword [ebp - 0x28]
mov eax, 0x48bb5ce3
add eax, 0xb785659e
sub dword [ebp - 0x28], eax
push 0x40
push 0x1000
push 0x3a502
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x28]
call dword [eax]
mov ecx, 0x4b10
xor edi, edi
add edi, eax
mov esi, 0x413bc4
add esi, dword [ebp - 0x28]
mov ebx, 0x5632cf69
add ebx, 0xcdcf5315
sub dword [ebp - 0xc], edx
mov edx, dword [esi]
xor dword [ebp - 0x10], eax
sub edx, ebx
xor dword [ebp - 8], ecx
mov dword [edi], edx
sub dword [ebp - 0x18], esi
add edi, 0x640bdf09
add edi, 0x9bf420fb
add esi, 4
loop 0x40c2d1
add eax, 0x11f13
mov ebx, eax
add eax, 0xb9ea86de
sub eax, 0xb9ea86d9
mov ecx, 0x400000
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x40ed70
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
and dword [ebp - 8], 0
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x40eddf
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
movzx eax, byte [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 7
jmp 0x40edb0
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x40edd6
mov eax, dword [ebp - 4]
and eax, 1
neg eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
shr eax, 1
mov ecx, dword [ebp - 0x14]
and ecx, 0xedb88320
xor eax, ecx
mov dword [ebp - 4], eax
jmp 0x40eda9
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
jmp 0x40ed7e
mov eax, dword [ebp - 4]
not eax
leave
ret
Function at 0x41aa0e
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
and dword [eax], 0
and dword [eax + 4], 0
mov eax, dword [ebp - 4]
and dword [eax + 8], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x4c], 0x6a09e667
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x4c], 0xbb67ae85
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x4c], 0x3c6ef372
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x4c], 0xa54ff53a
push 4
pop eax
shl eax, 2
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x4c], 0x510e527f
push 4
pop eax
imul eax, eax, 5
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x4c], 0x9b05688c
push 4
pop eax
imul eax, eax, 6
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x4c], 0x1f83d9ab
push 4
pop eax
imul eax, eax, 7
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x4c], 0x5be0cd19
leave
ret
Function at 0x4445d2
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66e485
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x7140f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
and dword [eax], 0
mov eax, dword [ebp - 0x10]
and dword [eax + 4], 0
mov eax, dword [ebp - 0x10]
and dword [eax + 8], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0xc], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.004f31dd
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x24], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x25], 0
mov eax, dword [ebp - 0x10]
and dword [eax + 0x28], 0
mov eax, dword [ebp - 0x10]
and dword [eax + 0x2c], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x30], 0
push 0x698338
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.004e18af
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
call fcn.00444b8b
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret

Function at 0x4452f8
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax], 0x69850c
push 0x40
push 0
mov eax, dword [ebp - 4]
add eax, 4
push eax
call fcn.0064a480
add esp, 0xc
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 4]
and dword [ecx + eax + 0x44], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 4]
and dword [ecx + eax + 0x44], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x4c], 0x67452301
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x4c], 0xefcdab89
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x4c], 0x98badcfe
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x4c], 0x10325476
mov eax, dword [ebp - 4]
leave
ret