joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5d0ad0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x82000]
push edi
or ebp, 0xffffffff
jmp 0x5d0af2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5d0af9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5d0ae8
mov eax, 1
add ebx, ebx
jne 0x5d0b0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5d0b00
jne 0x5d0b1c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5d0b00
xor ecx, ecx
sub eax, 3
jb 0x5d0b30
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5d0ba2
mov ebp, eax
add ebx, ebx
jne 0x5d0b3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x5d0b48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x5d0b6c
inc ecx
add ebx, ebx
jne 0x5d0b58
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5d0b4d
jne 0x5d0b69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5d0b4d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5d0b8c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5d0b7d
jmp 0x5d0aee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5d0b8c
add edi, ecx
jmp 0x5d0aee
pop esi
mov edi, esi
mov ecx, 0x2ddf
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5d0baa
cmp byte [edi], 0x13
jne 0x5d0baa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x5d0baf
lea edi, [esi + 0x1cd000]
mov eax, dword [edi]
or eax, eax
je 0x5d0c27
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1d5dcc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1d5ef8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5d0bdc
mov ecx, edi
jns 0x5d0c0b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1d5efc]
or eax, eax
je 0x5d0c21
mov dword [ebx], eax
add ebx, 4
jmp 0x5d0bf9
call dword [esi + 0x1d5f0c]
mov ebp, dword [esi + 0x1d5f00]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5d0c5b
sub esp, 0xffffff80
jmp 0x455495
Function at 0x403024
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lea edx, [0x405243]
mov ecx, edx
mov eax, dword [edx]
inc ecx
inc ecx
inc ecx
inc ecx
mov edi, dword [ecx]
mov ecx, eax
mov eax, dword [edi]
add edi, 4
mov esi, edi
mov ebx, esi
add edi, eax
mov edx, edi
dec edx
sub ecx, eax
dec ecx
dec ecx
dec ecx
dec ecx
lea eax, [0x405243]
mov dword [eax], ecx
inc eax
inc eax
inc eax
inc eax
mov dword [eax], edi
push ecx
mov cl, byte [edi]
mov al, byte [0x405191]
mov ah, byte [esi]
add al, ah
xor al, cl
mov byte [edi], al
mov eax, edx
cmp esi, eax
jne 0x403071
mov esi, ebx
dec esi
inc esi
pop ecx
inc edi
dec ecx
jne 0x403058
mov edi, esi
push 0x39
push 0x405243
push 0x111
push dword [0x40521f]
call dword [sym.imp.user32.dll_SendMessageA]
mov ecx, dword [0x405243]
mov edi, dword [0x405247]
mov esi, dword [0x405237]
mov al, byte [esi]
mov byte [edi], al
inc esi
inc edi
dec ecx
jne 0x4030a3
mov esi, dword [0x40518c]
mov ecx, dword [0x405188]
push ecx
add ecx, esi
mov dword [0x405203], ecx
pop ecx
mov eax, dword [esi]
inc esi
inc esi
nop
inc esi
inc esi
mov edi, dword [0x405237]
mov ebx, esi
add ebx, eax
mov dword [0x4051ff], ebx
mov edx, esi
add esi, eax
mov ecx, 0
movzx eax, byte [edx]
inc eax
cmp edx, ebx
jae 0x40314a
cmp eax, ecx
jae 0x4030ef
ret
sub eax, ecx
mov ecx, eax
test ecx, ecx
je 0x403100
mov al, byte [esi]
mov byte [edi], al
inc esi
inc edi
dec ecx
jne 0x4030f7
inc edx
mov al, byte [edx]
inc edx
movzx ecx, byte [edx]
test ecx, ecx
je 0x403113
push ecx
mov byte [edi], al
inc edi
dec ecx
jne 0x40310c
pop ecx
inc edx
movzx eax, byte [edx]
inc cl
cmp cl, 0
jne 0x403134
inc al
cmp al, 0
jne 0x40312c
inc edx
movzx eax, word [edx]
inc edx
inc edx
jmp 0x403130
mov al, 0
dec al
dec cl
jmp 0x403146
dec cl
inc al
cmp al, 0
jne 0x403144
inc edx
movzx eax, word [edx]
inc edx
inc edx
jmp 0x403146
dec al
jmp 0x4030e6
mov ecx, dword [0x405203]
sub ecx, esi
test ecx, ecx
je 0x40315f
mov al, byte [esi]
mov byte [edi], al
inc esi
inc edi
dec ecx
jne 0x403156
mov edi, dword [0x405237]
mov dword [0x405237], edi
ret

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x69dc5a54
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x72e73209
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x401590
Capabilities:
Terminate process

Disassembly:
push ecx
push esi
push edi
mov esi, 0x416038
lea edi, [ebp - 0x3c]
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
pop dword [0x416058]
pop dword [0x416054]
mov dword [0x41604c], ebp
mov dword [0x416050], ebx
mov dword [0x416040], eax
mov dword [0x416048], edx
lea ecx, [ebp - 0x3c]
mov dword [0x416038], ecx
xor ecx, ecx
cmp dword [ebp + 0xc], 0
jne 0x4015d8
mov ecx, dword [eax]
mov dword [0x416044], ecx
mov eax, 0x401080
mov dword [0x416010], eax
mov eax, 0x401088
mov dword [0x416014], eax
call fcn.004014c8
mov eax, dword [ebp + 0xc]
inc eax
mov byte [0x416060], al
dec eax
pop ecx
mov edx, dword [ecx]
mov dword [0x41605c], edx
je 0x401613
cmp al, 3
jge 0x401613
call dword [ecx + eax*4]
push ecx
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x401624
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
call ecx
pop ecx
mov eax, dword [ebp + 0xc]
cmp al, 3
jl 0x40162f
call dword [ecx + eax*4]
cmp dword [0x41601c], 0
jne 0x401645
mov byte [0x416024], 1
fnstcw word [0x40600c]
mov eax, dword [ebp + 0xc]
dec eax
jne fcn.00401688
call fcn.00401574
ret 4

Function at 0x401688
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, 0x416038
mov esi, section.DATA
mov edi, 0x416028
cmp byte [ebx + 0x28], 0
jne 0x4016b7
cmp dword [edi], 0
je 0x4016b7
mov edx, dword [edi]
mov eax, edx
xor edx, edx
mov dword [edi], edx
mov ebp, eax
call ebp
cmp dword [edi], 0
jne 0x4016a6
cmp dword [0x406004], 0
je 0x4016c6
call dword [0x406064]
cmp byte [ebx + 0x28], 2
jne 0x4016d6
cmp dword [esi], 0
jne 0x4016d6
xor eax, eax
mov dword [ebx + 0xc], eax
call dword [0x40602c]
cmp byte [ebx + 0x28], 1
jbe 0x4016e7
cmp dword [esi], 0
je 0x401709
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x401709
call dword [0x40601c]
mov edx, dword [ebx + 0x10]
mov eax, dword [edx + 0x10]
cmp eax, dword [edx + 4]
je 0x401709
test eax, eax
je 0x401709
push eax
call sub.KERNEL32.DLL_FreeLibrary_1
call dword [0x406030]
cmp byte [ebx + 0x28], 1
jne 0x401718
call dword [ebx + 0x24]
cmp byte [ebx + 0x28], 0
je 0x401723
call fcn.00401658
cmp dword [ebx], 0
jne 0x40173f
cmp dword [0x416018], 0
je 0x401737
call dword [0x416018]
mov eax, dword [esi]
push eax
call sub.KERNEL32.DLL_ExitProcess_1
mov eax, dword [ebx]
push esi
mov esi, eax
mov edi, ebx
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
pop esi
jmp 0x4016c6

Function at 0x4028d4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, edx
dec esi
test esi, esi
jl 0x4028f1
inc esi
xor edx, edx
xor ebx, ebx
mov bl, byte [eax + edx]
xor bx, 0x6fd3
mov byte [ecx + edx], bl
inc edx
dec esi
jne 0x4028e0
pop esi
pop ebx
ret
Function at 0x4028f4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff0f4
mov byte [ebp - 1], 0
push 0
push 0
push 2
push 0
push 1
push 0xc0000000
push eax
call sub.KERNEL32.DLL_CreateFileA
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x402984
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0xffffffff
jne 0x402934
call fcn.00401370
jmp 0x40298b
lea ecx, [ebp - 0xf0c]
mov eax, 0x406090
mov edx, 0xf00
call fcn.004028d4
push 0
lea eax, [ebp - 0xc]
push eax
push 0xf00
lea eax, [ebp - 0xf0c]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_WriteFile
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40298b
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_CloseHandle
ret
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x402a04
Capabilities:
Acquire debug privileges

Disassembly:
add esp, 0xffffffd0
push esp
push 0xf00ff
call sub.KERNEL32.DLL_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
lea eax, [esp + 8]
push eax
push 0x402a78
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
test eax, eax
je 0x402a6a
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 2
mov eax, dword [esp + 8]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x14]
push eax
push 0x10
lea eax, [esp + 0x2c]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
mov eax, dword [esp]
push eax
call sub.KERNEL32.DLL_CloseHandle
add esp, 0x30
ret

Function at 0x402a8c
Capabilities:
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebp, eax
xor eax, eax
mov dword [esp], eax
mov esi, 0x4000
push 4
push 0x3000
push esi
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov ebx, eax
test ebx, ebx
je 0x402af7
push 0
push esi
push ebx
push ebp
call sub.ntdll.dll_ZwQuerySystemInformation
mov edi, eax
cmp edi, 0xc0000004
jne 0x402ad9
push 0x8000
push 0
push ebx
call sub.KERNEL32.DLL_VirtualFree
mov eax, esi
add eax, eax
mov esi, eax
cmp edi, 0xc0000004
je 0x402a9d
test edi, edi
jne 0x402aea
mov dword [esp], ebx
jmp 0x402af7
push 0x8000
push 0
push ebx
call sub.KERNEL32.DLL_VirtualFree
mov eax, dword [esp]
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x403144
Capabilities:
Acquire debug privileges

Disassembly:
push ebx
add esp, 0xffffffe4
mov byte [esp], al
xor ebx, ebx
lea eax, [esp + 4]
push eax
push 0x20
call sub.KERNEL32.DLL_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x4031ca
mov dword [esp + 0xc], 1
lea eax, [esp + 0x10]
push eax
push 0x4031d4
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
cmp byte [esp], 0
je 0x40318c
mov dword [esp + 0x18], 2
jmp 0x403192
xor eax, eax
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push 0
push 0x10
lea eax, [esp + 0x18]
push eax
push 0
mov eax, dword [esp + 0x18]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
mov eax, dword [0x415d10]
mov eax, dword [eax]
call eax
test eax, eax
sete bl
mov eax, dword [esp + 4]
push eax
call sub.KERNEL32.DLL_CloseHandle
mov eax, ebx
add esp, 0x1c
pop ebx
ret
Function at 0x403cb0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, edx
dec esi
test esi, esi
jl 0x403ccd
inc esi
xor edx, edx
xor ebx, ebx
mov bl, byte [eax + edx]
xor bx, 0x7ba7
mov byte [ecx + edx], bl
inc edx
dec esi
jne 0x403cbc
pop esi
pop ebx
ret

Function at 0x403cd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0xe
add esp, 0xfffff004
push eax
dec eax
jne 0x403cd9
mov eax, dword [ebp - 4]
add esp, 0xfffffc9c
mov byte [ebp - 1], 0
push 0
push 0
push 2
push 0
push 1
push 0xc0000000
push eax
call sub.KERNEL32.DLL_CreateFileA
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x403d73
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0xffffffff
jne 0x403d23
call fcn.00401370
jmp 0x403d7a
lea ecx, [ebp - 0xe368]
mov eax, 0x406f90
mov edx, 0xe35c
call fcn.00403cb0
push 0
lea eax, [ebp - 0xc]
push eax
push 0xe35c
lea eax, [ebp - 0xe368]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_WriteFile
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403d7a
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_CloseHandle
ret
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x403dbc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, edx
dec esi
test esi, esi
jl 0x403dd9
inc esi
xor edx, edx
xor ebx, ebx
mov bl, byte [eax + edx]
xor bx, 0xea11
mov byte [ecx + edx], bl
inc edx
dec esi
jne 0x403dc8
pop esi
pop ebx
ret

Function at 0x403ddc
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff5dc
mov byte [ebp - 1], 0
push 0
push 0
push 2
push 0
push 1
push 0xc0000000
push eax
call sub.KERNEL32.DLL_CreateFileA
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x403e6c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0xffffffff
jne 0x403e1c
call fcn.00401370
jmp 0x403e73
lea ecx, [ebp - 0xa24]
mov eax, 0x4152ec
mov edx, 0xa18
call fcn.00403dbc
push 0
lea eax, [ebp - 0xc]
push eax
push 0xa18
lea eax, [ebp - 0xa24]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_WriteFile
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403e73
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_CloseHandle
ret
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x404184
Capabilities:
Get file size
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00401acc
xor eax, eax
push ebp
push 0x404390
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, 0x4043ac
call fcn.00401adc
mov esi, eax
push esi
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4041d2
push esi
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4041f1
mov eax, 0x4043c4
call fcn.00401adc
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x415d04], eax
cmp dword [0x415d04], 0
jne 0x404205
mov dword [ebx], 0x78
jmp 0x40437a
cmp dword [ebp - 4], 0
je 0x40436b
push 0
push 0
push 3
push 0
push 1
push 0xc0000000
lea eax, [ebp - 4]
call fcn.00401b30
push eax
call sub.KERNEL32.DLL_CreateFileA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x404363
xor edx, edx
push ebp
push 0x40435c
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_GetFileSize
mov esi, eax
push 0
push 0
push 0
push 4
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_CreateFileMappingA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x40433f
xor edx, edx
push ebp
push 0x404338
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 0
push 0xf001f
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.DLL_MapViewOfFile
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4042b4
mov dword [ebx], 3
call fcn.00401370
call fcn.00401370
jmp 0x40437a
mov ebx, dword [ebp - 0x1c]
push 2
push ebx
call sub.KERNEL32.DLL_IsBadReadPtr
test eax, eax
jne 0x404318
mov eax, ebx
cmp word [eax], 0x5a4d
jne 0x404318
add ebx, dword [eax + 0x3c]
push 4
push ebx
call sub.KERNEL32.DLL_IsBadReadPtr
test eax, eax
jne 0x404318
cmp dword [ebx], 0x4550
jne 0x404318
push edi
lea eax, [ebp - 0x18]
push eax
push esi
mov eax, dword [ebp - 0x1c]
push eax
call dword [0x415d04]
mov ebx, eax
test ebx, ebx
je 0x404318
mov eax, dword [edi]
mov dword [ebx + 0x58], eax
push edi
lea eax, [ebp - 0x18]
push eax
push esi
mov eax, dword [ebp - 0x1c]
push eax
call dword [0x415d04]
mov ebx, eax
test ebx, ebx
je 0x404318
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404345
mov eax, dword [ebp - 0x1c]
push eax
call sub.KERNEL32.DLL_UnmapViewOfFile
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.DLL_CloseHandle
ret
mov dword [ebx], 2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404371
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_CloseHandle
ret
mov dword [ebx], 1
jmp 0x404371
mov dword [ebx], 1
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_FreeLibrary
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404397
lea eax, [ebp - 4]
call fcn.00401770
ret
Function at 0x4045c0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, edx
mov ebx, eax
mov eax, esi
call fcn.00401770
mov eax, ebx
call fcn.00401adc
mov ebx, eax
push 0
push 0
push ebx
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x404640
mov eax, dword [ebp - 4]
call fcn.00401108
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x404639
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
push ebx
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
mov eax, esi
mov edx, dword [ebp - 8]
call fcn.0040189c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404640
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.00401120
ret
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x404660
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00401acc
xor eax, eax
push ebp
push 0x4046ea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00401770
mov eax, dword [ebp - 4]
call fcn.00401adc
call fcn.00404648
mov ebx, eax
test ebx, ebx
jle 0x4046cc
mov edi, 1
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
movzx edx, byte [edx + edi - 1]
xor edx, dword [ebp - 8]
call fcn.0040188c
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.004018ec
inc edi
dec ebx
jne 0x4046ab
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4046f1
lea eax, [ebp - 0xc]
call fcn.00401770
lea eax, [ebp - 4]
call fcn.00401770
ret

Function at 0x4047a8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00401acc
xor eax, eax
push ebp
push 0x404882
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x44
call fcn.00401288
mov dword [ebp - 0x4c], 0x44
mov dword [ebp - 0x20], 0xc1
mov word [ebp - 0x1c], si
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
lea eax, [ebp - 4]
call fcn.00401b30
push eax
push 0
call sub.KERNEL32.DLL_CreateProcessA
test eax, eax
jne 0x40481f
mov dword [ebp - 8], 0xffffffff
jmp 0x404852
test bl, bl
jne 0x40483a
cmp dword [ebp + 8], 0
je 0x404831
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x54]
mov dword [eax], edx
mov dword [ebp - 8], 0xffffffff
jmp 0x40486c
push 0xffffffffffffffff
mov eax, dword [ebp - 0x5c]
push eax
call sub.KERNEL32.DLL_WaitForSingleObject
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x5c]
push eax
call sub.KERNEL32.DLL_GetExitCodeProcess
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x40485f
push eax
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x40486c
push eax
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404889
lea eax, [ebp - 4]
call fcn.00401770
ret
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

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

Function at 0x41d4d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x13000]
push edi
or ebp, 0xffffffff
jmp 0x41d4f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41d4f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41d4e8
mov eax, 1
add ebx, ebx
jne 0x41d50b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41d500
jne 0x41d51c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41d500
xor ecx, ecx
sub eax, 3
jb 0x41d530
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41d5a2
mov ebp, eax
add ebx, ebx
jne 0x41d53b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41d548
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41d56c
inc ecx
add ebx, ebx
jne 0x41d558
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41d54d
jne 0x41d569
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41d54d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41d58c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41d57d
jmp 0x41d4ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41d58c
add edi, ecx
jmp 0x41d4ee
pop esi
mov edi, esi
mov ecx, 0x903
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41d5aa
cmp byte [edi], 6
jne 0x41d5aa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41d5af
lea edi, [esi + 0x1b000]
mov eax, dword [edi]
or eax, eax
je 0x41d61e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1d5ac]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1d618]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41d5dc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1d620]
or eax, eax
je 0x41d618
mov dword [ebx], eax
add ebx, 4
jmp 0x41d5f9
call dword [esi + 0x1d61c]
mov ebp, dword [esi + 0x1d624]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41d652
sub esp, 0xffffff80
jmp 0x412a80
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x414dd6
Capabilities:
Encode data using xor

Disassembly:
xor dword [ecx], ebx
or esi, esi
push edx
pop edi
sub edi, 0x980c3b3
add ecx, 4
sub edi, 0x3a701004
dec edi
sub edx, edi
cmp ecx, eax
jne fcn.00414dd6
mov edi, 0x4e9807ab
dec edx
ret

Function at 0x408960
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x4085d8
call fcn.00408988
sub ecx, esi
xor dword [eax], edx
and ecx, ecx
sub ecx, 0x9204d346
add eax, 1
inc ecx
add ecx, ecx
cmp eax, ebx
jne fcn.00408960
ret