joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425050
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x465220
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00426990
mov edi, dword [esp + 0x2c]
mov dword [esi], 0x46db00
mov dword [esi + 0x20], 0x46dad0
mov dword [esi + 0x48], edi
mov eax, dword [edi + 0x14]
push edi
push eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov ecx, esi
call fcn.004269f0
push 0x48829c
mov dword [esp + 0x30], 0x48829c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x488290
mov byte [esp + 0x2c], 1
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], esi
call fcn.00424db0
push 0x48829c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 4

Function at 0x4253d0
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push 0
push eax
mov bl, 1
call fcn.00428990
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x42541b
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
jne 0x42540a
mov ecx, dword [esi + 0x1c]
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [esi + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x1c], 0
push 0
push 0
mov ecx, esi
call fcn.00428990
pop esi
mov al, bl
pop ebx
ret

Function at 0x4254d0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x465370
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push 0x400
mov dword [esp + 0x2c], 0
mov dword [esp + 0xc], 0x4699b8
mov dword [esp + 0x1c], 0x400
call fcn.00447107
mov ecx, dword [esp + 0x1c]
add ecx, eax
add esp, 4
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], ecx
push 6
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 1
call fcn.0041f3e0
mov edx, dword [esp + 0x30]
push edx
lea ecx, [esp + 0xc]
call fcn.0041f3e0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
add eax, 2
cmp eax, ecx
jbe 0x42556a
mov edx, dword [esp + 8]
push 1
push 2
lea ecx, [esp + 0x10]
call dword [edx + 0x14]
mov eax, dword [esp + 0xc]
mov bx, word [esp + 0x34]
mov byte [eax], bh
mov eax, dword [esp + 0xc]
inc eax
mov dword [esp + 0xc], eax
mov byte [eax], bl
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
inc eax
mov dword [esp + 0xc], eax
sub eax, ecx
push eax
push ecx
mov ecx, esi
call fcn.004287f0
mov edx, dword [esp + 0x38]
movzx ecx, bx
push ecx
push edx
mov ecx, esi
call fcn.004287f0
mov eax, dword [esp + 0x14]
push eax
mov dword [esp + 0xc], 0x4699b8
call fcn.004470fd
mov ecx, dword [esp + 0x24]
add esp, 4
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc
Function at 0x4287f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20c
push ebx
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
push edi
mov ebx, ecx
jbe 0x428833
mov edi, dword [ebp + 8]
jmp 0x428810
mov ecx, dword [ebx + 8]
push 0
lea eax, [esp + 0x10]
push eax
push esi
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42883c
mov eax, dword [esp + 0xc]
sub esi, eax
add edi, eax
test esi, esi
ja 0x428810
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x469e48
lea ecx, [esp + 0x11c]
call fcn.00443bf0
push 0x47c164
lea edx, [esp + 0x14]
mov esi, eax
mov ecx, 0x41
lea edi, [esp + 0x14]
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.0044777e
int3

Function at 0x4364f0
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
ret

Function at 0x43e070
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x466146
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x4705cc
lea eax, [esi + 0x30]
xor ebx, ebx
push eax
mov dword [esp + 0x20], 1
mov dword [0x4885f8], ebx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esi + 0x28]
mov ecx, dword [eax]
lea edi, [esi + 0x24]
push eax
push ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call fcn.0043df80
mov eax, dword [edi + 4]
push eax
call fcn.00447102
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax]
add esp, 4
lea edi, [esi + 0x18]
push eax
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, edi
mov byte [esp + 0x28], bl
call fcn.0043c680
mov eax, dword [edi + 4]
push eax
call fcn.00447102
add esp, 4
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
add esi, 0xc
push eax
push ecx
lea eax, [esp + 0x18]
push eax
mov ecx, esi
mov dword [esp + 0x28], 0xffffffff
call fcn.0043c870
mov ecx, dword [esi + 4]
push ecx
call fcn.00447102
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x43e150
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x466188
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea esi, [edi + 0xc]
mov ecx, esi
mov dword [esp + 0x14], edi
mov dword [edi], 0x4705cc
call fcn.0043aec0
mov dword [esi + 4], eax
mov ebx, 1
mov byte [eax + 0x51], bl
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
xor ebp, ebp
mov dword [eax + 8], eax
mov dword [esi + 8], ebp
lea esi, [edi + 0x18]
mov ecx, esi
mov dword [esp + 0x224], ebp
call fcn.0043af00
mov dword [esi + 4], eax
mov byte [eax + 0x25], bl
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov dword [esi + 8], ebp
lea esi, [edi + 0x24]
mov ecx, esi
mov byte [esp + 0x224], bl
call fcn.0043af40
mov dword [esi + 4], eax
mov byte [eax + 0x31], bl
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov dword [esi + 8], ebp
lea eax, [edi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
cmp dword [0x4885f8], ebp
mov byte [esp + 0x224], 3
je 0x43e249
push str.duplicate_UploadManager
lea ecx, [esp + 0x11c]
call fcn.004012a0
mov esi, eax
push 0x47bc3c
lea eax, [esp + 0x1c]
mov ecx, 0x40
lea edi, [esp + 0x1c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0044777e
push ebp
mov dword [0x4885f8], edi
call fcn.0044a26a
push eax
call fcn.0044a23b
add esp, 8
call fcn.0044a248
cmp eax, ebp
mov dword [edi + 8], eax
jne 0x43e26d
mov dword [edi + 8], ebx
mov ecx, dword [esp + 0x21c]
mov byte [edi + 0x48], bl
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43e6f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4661f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov esi, ecx
lea edi, [esi + 0x30]
push edi
mov dword [esp + 0x14], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esi + 0x18]
mov dword [esp + 0x24], 0
call fcn.0043b090
mov ebx, dword [esp + 0xc]
cmp ebx, dword [esi + 0x1c]
je 0x43e776
cmp dword [ebx + 0x10], 1
je 0x43e776
mov al, byte [esi + 0x48]
test al, al
jne 0x43e772
lea edx, [esi + 4]
push edx
lea ecx, [esi + 0x24]
call fcn.0041f1c0
mov ecx, dword [eax + 8]
add eax, 4
test ecx, ecx
jne 0x43e765
xor eax, eax
jmp 0x43e76d
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
cmp dword [ebx + 0x20], eax
jae 0x43e776
mov bl, 1
jmp 0x43e778
xor bl, bl
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x43e7a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x466218
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 4]
push 0xffffffffffffffff
xor ebx, ebx
push 0x4699b4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
call fcn.00442cf0
mov edi, eax
add esp, 8
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esi + 0x18]
mov dword [esp + 0x30], ebx
call fcn.0043d490
mov ecx, eax
call fcn.0043acb0
push edi
mov dword [esp + 0x2c], 0xffffffff
call fcn.004470fd
mov edx, dword [esp + 0x34]
add esp, 4
push edx
mov ecx, esi
call fcn.0043e460
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x4411b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4662f4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x470770
xor ebx, ebx
mov dword [esp + 0x1c], 4
mov dword [esi + 0x5c], ebx
call fcn.00440d80
mov eax, dword [esi + 0x4c]
mov ecx, dword [eax]
lea edi, [esi + 0x48]
push eax
push ecx
lea eax, [esp + 0x18]
push eax
mov ecx, edi
mov byte [esp + 0x28], 3
call fcn.00440500
mov eax, dword [edi + 4]
push eax
call fcn.00447102
add esp, 4
lea ecx, [esi + 0x30]
push ecx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esi + 0x28]
mov ecx, dword [eax]
lea edi, [esi + 0x24]
push eax
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, edi
mov byte [esp + 0x28], 1
call fcn.00440370
mov eax, dword [edi + 4]
push eax
call fcn.00447102
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax]
add esp, 4
lea edi, [esi + 0x18]
push eax
push ecx
lea eax, [esp + 0x18]
push eax
mov ecx, edi
mov byte [esp + 0x28], bl
call fcn.004401e0
mov eax, dword [edi + 4]
push eax
call fcn.00447102
add esp, 4
mov ecx, esi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [esp + 0x1c], 0xffffffff
call fcn.00426570
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4414d8
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x466369
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
mov dword [esp + 0x10], esi
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], ebp
lea edi, [esi + 0x18]
mov ecx, edi
mov dword [esp + 0x1c], ebp
mov dword [esi], 0x470770
mov dword [esi + 0x14], ebp
call fcn.0043eef0
mov dword [edi + 4], eax
mov bl, 1
mov byte [eax + 0x11], bl
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebp
lea edi, [esi + 0x24]
mov ecx, edi
mov byte [esp + 0x1c], bl
call fcn.0043ef30
mov dword [edi + 4], eax
mov byte [eax + 0x31], bl
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebp
lea eax, [esi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea edi, [esi + 0x48]
mov ecx, edi
mov byte [esp + 0x1c], 3
call fcn.0043ef70
mov ecx, dword [esp + 0x28]
mov dword [edi + 4], eax
mov byte [eax + 0x19], bl
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov eax, dword [esp + 0x24]
mov dword [edi + 8], ebp
mov dword [esi + 0x58], eax
pop edi
mov dword [esi + 0x54], ebp
mov dword [esi + 0x5c], ecx
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x441690
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x466388
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push esi
push 0xffffffffffffffff
push eax
mov esi, ecx
call fcn.00442cf0
add esp, 8
mov dword [esi], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 8], edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x14], edx
mov edx, dword [esp + 0x38]
mov dword [esi + 0x24], eax
mov dword [esi + 0x1c], ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x20], edx
xor eax, eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x28], 0x46d688
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x441720
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4663b3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
push edi
mov edi, dword [esp + 0x20]
mov eax, dword [edi]
mov esi, ecx
push 0xffffffffffffffff
push eax
mov dword [esp + 0x14], esi
call fcn.00442cf0
add esp, 8
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
mov ecx, dword [edi + 0xc]
mov dword [esi + 0xc], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x10], edx
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x14], ecx
mov edx, dword [edi + 0x18]
mov dword [esi + 0x18], edx
mov ecx, dword [edi + 0x1c]
mov dword [esi + 0x1c], ecx
mov edx, dword [edi + 0x20]
mov dword [esi + 0x20], edx
mov ecx, dword [edi + 0x24]
xor eax, eax
mov dword [esi + 0x24], ecx
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esp + 0x18], eax
mov dword [esi + 0x28], 0x46d688
mov ebp, dword [edi + 0x30]
cmp ebp, dword [edi + 0x34]
mov byte [esp + 0x18], 1
je 0x44180d
push ebx
lea ebx, [esi + 0x2c]
nop
mov ecx, dword [ebp]
mov edx, dword [ecx]
call dword [edx + 0xc]
mov edx, dword [ebx + 4]
test edx, edx
mov dword [esp + 0x24], eax
jne 0x4417c7
xor eax, eax
jmp 0x4417cf
mov eax, dword [ebx + 8]
sub eax, edx
sar eax, 2
test edx, edx
je 0x4417f0
mov ecx, dword [ebx + 0xc]
sub ecx, edx
sar ecx, 2
cmp eax, ecx
jae 0x4417f0
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x24]
mov dword [eax], ecx
add eax, 4
mov dword [ebx + 8], eax
jmp 0x441802
mov eax, dword [ebx + 8]
lea edx, [esp + 0x24]
push edx
push 1
push eax
mov ecx, ebx
call fcn.00421890
mov eax, dword [edi + 0x34]
add ebp, 4
cmp ebp, eax
jne 0x4417b0
pop ebx
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x443f50
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x46657b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x470c2c
mov eax, dword [esi + 0x14]
lea edi, [esi + 4]
cmp eax, edi
mov dword [esp + 0x14], 0
je 0x443f93
mov ecx, dword [esi + 0x14]
call fcn.00444270
cmp dword [esi + 0x14], edi
jne 0x443f86
mov eax, dword [0x4887a0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, esi
jne 0x443fb6
mov esi, dword [esi + 0x1c]
mov ecx, dword [0x4887a0]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x443fc8
push str.out_of_sequence_dtor
push 0x488790
call fcn.004048e0
add esp, 8
mov ecx, edi
mov dword [esp + 0x14], 0xffffffff
call fcn.00444270
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x443ff0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x200
mov eax, dword [0x4887a0]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
push eax
call esi
test eax, eax
jne 0x44403d
push str.no_TimerManager
lea ecx, [esp + 0x10c]
call fcn.004012a0
mov esi, eax
mov ecx, 0x40
lea edi, [esp + 8]
rep movsd dword es:[edi], dword [esi]
push 0x47bc3c
lea ecx, [esp + 0xc]
push ecx
call fcn.0044777e
mov edx, dword [0x4887a0]
push edx
call esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4462b0
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ecx
mov ecx, dword [esp + 8]
mov edx, dword [ecx + 4]
push ebx
push ebp
push esi
push edi
mov edi, eax
mov eax, dword [ecx]
mov ecx, eax
shr ecx, 4
xor ecx, edx
and ecx, 0xf0f0f0f
xor edx, ecx
shl ecx, 4
xor eax, ecx
mov ecx, eax
shr ecx, 0x10
xor ecx, edx
and ecx, 0xffff
xor edx, ecx
shl ecx, 0x10
xor eax, ecx
mov ecx, edx
shr ecx, 2
xor ecx, eax
and ecx, 0x33333333
xor eax, ecx
shl ecx, 2
xor edx, ecx
mov ecx, edx
shr ecx, 8
xor ecx, eax
and ecx, 0xff00ff
xor eax, ecx
shl ecx, 8
xor edx, ecx
mov ecx, edx
add edx, edx
shr ecx, 0x1f
or ecx, edx
mov edx, ecx
xor edx, eax
and edx, 0xaaaaaaaa
xor eax, edx
xor ecx, edx
mov edx, eax
shr edx, 0x1f
add eax, eax
or edx, eax
mov dword [esp + 0x10], 8
mov ebx, dword [edi]
mov eax, ecx
shl eax, 0x1c
mov esi, ecx
shr esi, 4
or eax, esi
xor eax, ebx
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
mov ebp, dword [ebx*4 + 0x471280]
mov esi, eax
shr esi, 0x18
and esi, 0x3f
mov esi, dword [esi*4 + 0x471080]
or esi, ebp
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
or esi, dword [ebx*4 + 0x471480]
and eax, 0x3f
mov ebx, dword [eax*4 + 0x471680]
mov eax, dword [edi + 4]
or esi, ebx
xor eax, ecx
add edi, 4
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x471180]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
or ebx, dword [ebp*4 + 0x471380]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
or ebx, dword [ebp*4 + 0x471580]
and eax, 0x3f
or ebx, dword [eax*4 + 0x471780]
or ebx, esi
xor edx, ebx
mov ebx, dword [edi + 4]
add edi, 4
mov eax, edx
shl eax, 0x1c
mov esi, edx
shr esi, 4
or eax, esi
xor eax, ebx
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
mov ebp, dword [ebx*4 + 0x471280]
mov esi, eax
shr esi, 0x18
and esi, 0x3f
mov esi, dword [esi*4 + 0x471080]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
or esi, ebp
mov ebp, dword [ebx*4 + 0x471480]
and eax, 0x3f
mov ebx, dword [eax*4 + 0x471680]
mov eax, dword [edi + 4]
add edi, 4
or esi, ebp
or esi, ebx
xor eax, edx
mov ebx, eax
shr ebx, 0x18
mov ebp, eax
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x471180]
shr ebp, 0x10
and ebp, 0x3f
add edi, 4
or ebx, dword [ebp*4 + 0x471380]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
or ebx, dword [ebp*4 + 0x471580]
and eax, 0x3f
mov ebp, dword [eax*4 + 0x471780]
mov eax, dword [esp + 0x10]
or ebx, ebp
or ebx, esi
xor ecx, ebx
dec eax
mov dword [esp + 0x10], eax
jne 0x446338
mov eax, ecx
shr ecx, 1
shl eax, 0x1f
or eax, ecx
mov ecx, eax
xor ecx, edx
and ecx, 0xaaaaaaaa
xor edx, ecx
xor eax, ecx
mov ecx, edx
shr edx, 1
shl ecx, 0x1f
or ecx, edx
mov edx, ecx
shr edx, 8
xor edx, eax
and edx, 0xff00ff
xor eax, edx
shl edx, 8
xor ecx, edx
mov edx, ecx
shr edx, 2
xor edx, eax
and edx, 0x33333333
xor eax, edx
shl edx, 2
xor ecx, edx
mov edx, eax
shr edx, 0x10
xor edx, ecx
and edx, 0xffff
xor ecx, edx
shl edx, 0x10
xor eax, edx
mov edx, eax
shr edx, 4
xor edx, ecx
and edx, 0xf0f0f0f
mov esi, edx
shl esi, 4
xor esi, eax
mov eax, dword [esp + 0x18]
pop edi
mov dword [eax], esi
pop esi
xor edx, ecx
pop ebp
mov dword [eax + 4], edx
pop ebx
pop ecx
ret
Function at 0x44873b
Capabilities:
Terminate process

Disassembly:
push 8
push 0x471a60
call fcn.0044ad68
push 8
call fcn.0044ad34
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x4888fc], esi
jne 0x44876f
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x4888f8], esi
mov al, byte [ebp + 0x10]
mov byte [0x4888f4], al
cmp dword [ebp + 0xc], edi
jne 0x4487b9
cmp dword [0x48ad6c], edi
je 0x4487a9
mov eax, dword [0x48ad68]
sub eax, 4
mov dword [0x48ad68], eax
cmp eax, dword [0x48ad6c]
jb 0x4487a9
mov eax, dword [eax]
cmp eax, edi
je 0x44878a
call eax
jmp 0x44878a
push 0x4842e0
mov eax, 0x4842d8
call fcn.004486b9
pop ecx
push 0x4842ec
mov eax, 0x4842e4
call fcn.004486b9
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x4487ea
cmp dword [ebp + 0x10], edi
jne 0x4487f8
mov dword [0x4888fc], esi
push dword [ebp + 8]
call fcn.00448677
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x4487f7
push 8
call fcn.0044ac7f
pop ecx
ret
call fcn.0044ada3
ret
Function at 0x448887
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x471a70
call fcn.0044ad68
mov edi, 0x94
mov eax, edi
call fcn.00447f70
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x4888bc], ecx
mov eax, dword [esi + 4]
mov dword [0x4888c8], eax
mov edx, dword [esi + 8]
mov dword [0x4888cc], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x4888c0], esi
cmp ecx, 2
je 0x4488e7
or esi, 0x8000
mov dword [0x4888c0], esi
shl eax, 8
add eax, edx
mov dword [0x4888c4], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x448922
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x448922
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x44893a
cmp eax, 0x20b
je 0x448927
mov dword [ebp - 0x1c], esi
jmp 0x44894e
cmp dword [ecx + 0x84], 0xe
jbe 0x448922
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x448948
cmp dword [ecx + 0x74], 0xe
jbe 0x448922
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.0044e4f8
pop ecx
test eax, eax
jne 0x448962
push 0x1c
call fcn.00448863
pop ecx
call fcn.0044b945
test eax, eax
jne 0x448973
push 0x10
call fcn.00448863
pop ecx
call fcn.0044dcee
mov dword [ebp - 4], esi
call fcn.0044bc66
test eax, eax
jge 0x44898c
push 0x1b
call fcn.0044883e
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x48ad60], eax
call fcn.0044e3bc
mov dword [0x488900], eax
call fcn.0044e31a
test eax, eax
jge 0x4489b2
push 8
call fcn.0044883e
pop ecx
call fcn.0044e0e7
test eax, eax
jge 0x4489c3
push 9
call fcn.0044883e
pop ecx
push 1
call fcn.004486d1
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x4489d9
push eax
call fcn.0044883e
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.0044e08a
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x4489fa
movzx eax, word [ebp - 0x40]
jmp 0x4489fd
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.00411930
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x448a1b
push edi
call fcn.004487fe
call fcn.00448820
jmp 0x448a4d
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.0044ada3
ret