joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d290
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41d306
mov eax, dword [ebp - 8]
cmp eax, 1
je 0x41d2d2
cmp eax, 2
jne 0x41d2ee
mov ecx, dword [ebp - 4]
test esi, esi
je 0x41d300
test ecx, ecx
je 0x41d2fb
test cl, 1
jne 0x41d2ee
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x41d300
pop edi
mov eax, 0xd
pop esi
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41e1a0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4406a3
mov eax, dword fs:[0]
push eax
sub esp, 0x174
push ebx
push esi
push edi
mov eax, dword [0x4570d8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 1
push str.O:BAG:BAD:_A__CCDCSW___WD__A__CCDCSW___s_1_15_2_1__A__CCDCSW___S_1_15_3_1024_1502825166_1963708345_2616377461_2562897074_4192028372_3968301570_1997628692_1435953622_S:_ML___NX___LW_
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
test eax, eax
je 0x41e2b6
mov edi, dword [ebp - 0x10]
push edi
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorLength]
mov esi, dword [ebp + 8]
mov ebx, eax
push 0
push 0
push 0
push 0
push str.LaunchPermission
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, 2
jne 0x41e2a5
push ebx
push edi
push 3
push 0
push str.LaunchPermission
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x41e2a5
push 1
lea ecx, [ebp - 0xc8]
call fcn.00401f70
mov dword [eax + 0x60], 0xa
add eax, 0x10
push str.ERROR:_couldnt_set_sd_in_registry
push eax
mov dword [ebp - 4], 2
call fcn.00401240
mov esi, eax
add esp, 8
mov ecx, dword [esi]
push 0xa
mov ecx, dword [ecx + 4]
add ecx, esi
call fcn.004075e0
movzx ecx, ax
push ecx
mov ecx, esi
call fcn.00406e20
mov ecx, esi
call fcn.00406690
lea ecx, [ebp - 0x58]
call fcn.0040c830
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 3
push eax
mov dword [ebp - 0x58], vtable.std::ios_base.0
call fcn.004209c4
add esp, 4
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x41e32d
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x41e32d
push 1
lea ecx, [ebp - 0xc8]
call fcn.00401f70
mov dword [eax + 0x60], 0xa
add eax, 0x10
push str.ERROR:_couldnt_create_sd
push eax
mov dword [ebp - 4], 0
call fcn.00401240
mov esi, eax
add esp, 8
mov ecx, dword [esi]
push 0xa
mov ecx, dword [ecx + 4]
add ecx, esi
call fcn.004075e0
movzx ecx, ax
push ecx
mov ecx, esi
call fcn.00406e20
mov ecx, esi
call fcn.00406690
lea ecx, [ebp - 0x58]
call fcn.0040c830
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - 0x58], vtable.std::ios_base.0
call fcn.004209c4
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x180]
call fcn.00401f70
mov dword [eax + 0x60], 0xa
add eax, 0x10
push str.sd_set
push eax
mov dword [ebp - 4], 4
call fcn.00401240
mov esi, eax
add esp, 8
mov ecx, dword [esi]
push 0xa
mov ecx, dword [ecx + 4]
add ecx, esi
call fcn.004075e0
movzx ecx, ax
push ecx
mov ecx, esi
call fcn.00406e20
mov ecx, esi
call fcn.00406690
lea ecx, [ebp - 0x110]
call fcn.0040c830
lea eax, [ebp - 0x110]
mov dword [ebp - 4], 5
push eax
mov dword [ebp - 0x110], vtable.std::ios_base.0
call fcn.004209c4
add esp, 4
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 0x41eb00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
push 0
push 0
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x30], eax
test eax, eax
jne 0x41eb21
pop esi
mov esp, ebp
pop ebp
ret
push edi
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x41c7a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x41eb4a
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x30], edi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41f050
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call fcn.0041ed90
test eax, eax
jne 0x41f068
mov eax, 0x80004005
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x20006
push 0
push str.AppID
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x41f09f
push eax
call fcn.00410880
add esp, 4
mov ebx, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
mov edi, dword [ebp - 4]
lea ecx, [ebp - 0x10]
push 0x20006
push 0x443f40
push edi
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call fcn.00411eb0
mov esi, dword [ebp - 0x10]
test eax, eax
je 0x41f0de
push eax
call fcn.00410880
add esp, 4
jmp 0x41f0f1
push str.LocalService
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push 0
call fcn.0041f640
mov ebx, eax
test esi, esi
je 0x41f0fe
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x41f109
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x430847
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004304fc

Function at 0x430852
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043067f
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..reloc
mov ebx, 0x40915c
nop
nop
mov ecx, 0x718f0b63
nop
nop
nop
test eax, eax
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x3da72304
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x431084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x401aa1
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401ae0
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401ae0
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401ae0
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401ae0
cmp dword [ecx + 0x74], 0xe
jbe 0x401ae0
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40abc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40abed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40abed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4
Function at 0x40186a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1fc
mov edi, edi
mov eax, dword [0x40a310]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.00401844
xor ebx, ebx
mov edi, eax
cmp edi, ebx
pop ecx
mov dword [ebp - 0x1fc], edi
je 0x401a0a
push 3
call fcn.00403627
pop ecx
cmp eax, 1
je 0x4019b6
push 3
call fcn.00403627
test eax, eax
pop ecx
jne 0x4018c8
cmp dword [section..data], 1
je 0x4019b6
cmp esi, 0xfc
je 0x401a0a
push str.Runtime_Error__n_nProgram:
push 0x314
mov edi, 0x40ab80
push edi
call fcn.004035c4
add esp, 0xc
or eax, eax
jne 0x4019ac
push 0x104
mov esi, 0x40abb2
push esi
push ebx
mov word [0x40adba], ax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebx, 0x2fb
or eax, eax
jne 0x401934
push str._program_name_unknown_
push ebx
push esi
call fcn.004035c4
sub esp, 0xfffffff4
test eax, eax
je 0x401934
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00402ecc
push esi
call fcn.004035a9
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40196b
push esi
call fcn.004035a9
lea eax, [eax*2 + 0x40ab3c]
mov ecx, eax
sub ecx, esi
push 3
sar ecx, 1
push 0x407b5c
sub ebx, ecx
push ebx
push eax
call fcn.004034dc
sub esp, 0xffffffec
test eax, eax
jne 0x401928
push 0x407b54
mov esi, 0x314
push esi
push edi
call fcn.00403467
add esp, 0xc
or eax, eax
jne 0x401928
push dword [ebp - 0x1fc]
push esi
push edi
call fcn.00403467
add esp, 0xc
test eax, eax
jne 0x401928
push 0x12010
push 0x407b08
push edi
call fcn.004032fb
sub esp, 0xfffffff4
jmp 0x401a0a
push ebx
push ebx
push ebx
push ebx
push ebx
jmp 0x40192f
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
cmp esi, ebx
je 0x401a0a
cmp esi, 0xffffffff
je 0x401a0a
xor eax, eax
mov cl, byte [edi + eax*2]
mov byte [ebp + eax - 0x1f8], cl
cmp word [edi + eax*2], bx
je 0x4019e3
inc eax
cmp eax, 0x1f4
jb 0x4019cb
lea edi, [ebp - 0x1fc]
push ebx
push edi
lea eax, [ebp - 0x1f8]
push eax
mov byte [ebp - 5], bl
call fcn.00403270
pop ecx
push eax
lea eax, [ebp - 0x1f8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403666
leave
ret
Function at 0x401f2c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov edi, edi
mov ebp, esp
sub esp, 0xc
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jne 0x401f48
xor eax, eax
jmp 0x401fbf
cmp word [esi], bx
je 0x401f5d
add eax, 2
cmp word [eax], bx
jne 0x401f4d
add eax, 2
cmp word [eax], bx
jne 0x401f4d
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
push ebx
push ebx
sub eax, esi
push ebx
sar eax, 1
inc eax
push eax
push esi
push ebx
push ebx
mov dword [ebp - 0xc], eax
call edi
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x401fb5
push eax
call fcn.00403ee4
pop ecx
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x401fb5
push ebx
push ebx
push dword [ebp - 8]
push eax
push dword [ebp - 0xc]
push esi
push ebx
push ebx
call edi
or eax, eax
jne 0x401fa9
push dword [ebp - 4]
call fcn.00403e4b
pop ecx
mov dword [ebp - 4], ebx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, dword [ebp - 4]
jmp 0x401fbe
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x402ecc
Capabilities:
Terminate process

Disassembly:
push esi
push 1
mov edi, edi
mov esi, 0xc0000417
push esi
push 2
call fcn.00402da3
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x403120
Capabilities:
Parse pe header

Disassembly:
push ebp
mov eax, 0x5a4d
mov edi, edi
mov edx, esp
mov ecx, dword [edx + 8]
cmp word [ecx], ax
je 0x403136
pop ebp
xor eax, eax
ret
mov edx, dword [ecx + 0x3c]
add edx, ecx
cmp dword [edx], 0x4550
jne 0x403132
xor ecx, ecx
mov eax, 0x10b
cmp word [edx + 0x18], ax
sete cl
mov eax, ecx
pop ebp
ret

Function at 0x403160
Capabilities:
Enumerate pe sections

Disassembly:
mov esi, esi
push edi
mov edi, esp
mov eax, dword [edi + 8]
mov edx, dword [eax + 0x3c]
add edx, eax
xor ecx, ecx
movzx eax, word [edx + 0x14]
push ebx
lea eax, [eax + edx + 0x18]
push ebp
movzx ebp, word [edx + 6]
push esi
or ebp, ebp
je 0x40319d
mov ebx, dword [edi + 0xc]
mov edi, dword [eax + 0xc]
cmp ebx, edi
jb 0x403195
mov edx, dword [eax + 8]
add edx, edi
cmp ebx, edx
jb 0x40319f
inc ecx
sub eax, 0xffffffd8
cmp ecx, ebp
jb 0x403185
xor eax, eax
pop esi
pop ebp
pop ebx
pop edi
ret
Function at 0x4032fb
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov esi, esi
mov eax, dword [0x40a310]
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 edi
push esi
mov dword [ebp - 0x1c], eax
call fcn.00402256
and dword [ebp - 0x14], 0
cmp dword [0x40b43c], 0
mov dword [ebp - 0x18], eax
jne 0x4033ae
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x403456
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push edi
call esi
or eax, eax
je 0x403456
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x40b43c], eax
call esi
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x40b440], eax
call esi
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x40b444], eax
call esi
push eax
call ebx
mov dword [0x40b44c], eax
or eax, eax
je 0x4033ae
push str.GetProcessWindowStation
push edi
call esi
push eax
call ebx
mov dword [0x40b448], eax
mov eax, dword [0x40b448]
mov ecx, dword [ebp - 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x403407
cmp dword [0x40b44c], ecx
je 0x403407
push eax
call edi
push dword [0x40b44c]
mov ebx, eax
call edi
or ebx, ebx
mov esi, eax
je 0x403407
test esi, esi
je 0x403407
call ebx
test eax, eax
je 0x4033fe
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x10]
push 0xc
push ecx
push 1
push eax
call esi
or eax, eax
je 0x4033fe
test byte [ebp - 8], 1
jne 0x403407
or dword [ebp + 0x10], 0x200000
jmp 0x40343a
mov eax, dword [0x40b440]
cmp eax, dword [ebp - 0x18]
je 0x40343a
push eax
call edi
or eax, eax
je 0x40343a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40343a
mov eax, dword [0x40b444]
cmp eax, dword [ebp - 0x18]
je 0x40343a
push eax
call edi
or eax, eax
je 0x40343a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40b43c]
call edi
or eax, eax
je 0x403456
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x403458
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
pop edi
pop ebx
call fcn.00403666
leave
ret
Function at 0x403666
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40a310]
jne 0x403670
repz ret
jmp 0x4048d6
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x40b578], eax
mov dword [0x40b574], ecx
mov dword [0x40b570], edx
mov dword [0x40b56c], ebx
mov dword [0x40b568], esi
mov dword [0x40b564], edi
mov word [0x40b590], ss
mov word [0x40b584], cs
mov word [0x40b560], ds
mov word [0x40b55c], es
mov word [0x40b558], fs
mov word [0x40b554], gs
pushfd
pop dword [0x40b588]
mov eax, dword [ebp]
mov dword [0x40b57c], eax
mov eax, dword [ebp + 4]
mov dword [0x40b580], eax
lea eax, [ebp + 8]
mov dword [0x40b58c], eax
mov esi, dword [ebp - 0x320]
mov dword [0x40b4c8], 0x10001
mov eax, dword [0x40b580]
mov dword [0x40b47c], eax
mov dword [0x40b470], 0xc0000409
mov dword [0x40b474], 1
mov eax, dword [0x40a310]
mov dword [ebp - 0x328], eax
mov eax, dword [0x40a314]
mov dword [ebp - 0x324], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x40b4c0], eax
push 1
call fcn.00404811
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x408080
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x40b4c0], 0
jne 0x4049c8
push 1
call fcn.00404811
pop ecx
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
leave
ret

Function at 0x4048d6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40a310]
jne 0x403670
repz ret
jmp 0x4048d6
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x40b578], eax
mov dword [0x40b574], ecx
mov dword [0x40b570], edx
mov dword [0x40b56c], ebx
mov dword [0x40b568], esi
mov dword [0x40b564], edi
mov word [0x40b590], ss
mov word [0x40b584], cs
mov word [0x40b560], ds
mov word [0x40b55c], es
mov word [0x40b558], fs
mov word [0x40b554], gs
pushfd
pop dword [0x40b588]
mov eax, dword [ebp]
mov dword [0x40b57c], eax
mov eax, dword [ebp + 4]
mov dword [0x40b580], eax
lea eax, [ebp + 8]
mov dword [0x40b58c], eax
mov esi, dword [ebp - 0x320]
mov dword [0x40b4c8], 0x10001
mov eax, dword [0x40b580]
mov dword [0x40b47c], eax
mov dword [0x40b470], 0xc0000409
mov dword [0x40b474], 1
mov eax, dword [0x40a310]
mov dword [ebp - 0x328], eax
mov eax, dword [0x40a314]
mov dword [ebp - 0x324], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x40b4c0], eax
push 1
call fcn.00404811
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x408080
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x40b4c0], 0
jne 0x4049c8
push 1
call fcn.00404811
pop ecx
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
leave
ret
Function at 0x408874
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42b7a4], 0
push ebp
mov ebp, esp
push esi
push ebx
mov edx, dword [ebp + 0xc]
je 0x408891
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
not eax
add ebx, edx
jmp 0x4088bf
xor ecx, ecx
mov eax, ecx
mov ebx, 8
mov esi, eax
and eax, 1
neg eax
shr esi, 1
and eax, 0xedb88320
xor eax, esi
dec ebx
jne 0x40889a
mov dword [ecx*4 + 0x42b7a0], eax
inc ecx
cmp ecx, 0x100
jne 0x408893
jmp 0x408885
cmp edx, ebx
je 0x4088d8
inc edx
mov cl, al
shr eax, 8
xor cl, byte [edx - 1]
movzx ecx, cl
xor eax, dword [ecx*4 + 0x42b7a0]
jmp 0x4088bf
pop ebx
not eax
pop esi
pop ebp
ret 0xc
Function at 0x41f6c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 8], 0
jne 0x41f6d0
xor al, al
jmp 0x41f725
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x41f6e8
xor al, al
jmp 0x41f725
mov esp, dword [ebp - 4]
mov ecx, dword [ebp - 4]
add esp, dword [ecx + 0x3c]
mov dword [ebp - 0xc], esp
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x41f709
xor al, al
jmp 0x41f725
mov eax, dword [ebp - 8]
sub eax, 0xffffffe8
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
movzx eax, word [ecx]
cmp eax, 0x10b
je 0x41f723
xor al, al
jmp 0x41f725
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x4201c0
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, esp
push 0xfffffffffffffffe
push 0x42c1d0
push 0x4204f0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push edi
push ebp
push ebx
mov eax, dword [0x42d020]
xor dword [esi - 8], eax
xor eax, esi
push eax
lea eax, [esi - 0x10]
mov dword fs:[0], eax
mov dword [esi - 0x18], esp
push 1
call fcn.004117e4
sub esp, 0xfffffffc
movzx eax, al
test eax, eax
jne 0x42020b
push 7
call fcn.004111cc
mov byte [esi - 0x19], 0
mov dword [esi - 4], 0
call fcn.004119ce
mov byte [esi - 0x1a], al
cmp dword [0x42d358], 1
jne 0x420230
push 7
call fcn.004111cc
jmp 0x420291
cmp dword [0x42d358], 0
jne 0x42028d
mov dword [0x42d358], 1
push 0x42871c
push 0x428410
call fcn.00411249
add esp, 8
test eax, eax
je 0x42026f
mov dword [esi - 0x38], 0xff
mov dword [esi - 4], 0xfffffffe
mov eax, dword [esi - 0x38]
jmp 0x4203cf
push 0x42830c
push section..rdata
call fcn.004118e8
sub esp, 0xfffffff8
mov dword [0x42d358], 2
jmp 0x420291
mov byte [esi - 0x19], 1
movzx ebx, byte [esi - 0x1a]
push ebx
call fcn.004119ab
sub esp, 0xfffffffc
call fcn.004117d0
mov dword [esi - 0x20], eax
mov edx, dword [esi - 0x20]
cmp dword [edx], 0
je 0x4202da
mov eax, dword [esi - 0x20]
push eax
call fcn.00411a6e
movzx ebx, al
add esp, 4
or ebx, ebx
je 0x4202da
push 0
push 2
push 0
mov edx, dword [esi - 0x20]
mov eax, dword [edx]
mov dword [esi - 0x28], eax
mov ecx, dword [esi - 0x28]
call fcn.004118c0
call dword [esi - 0x28]
call fcn.00411325
mov dword [esi - 0x24], eax
mov ecx, dword [esi - 0x24]
cmp dword [ecx], 0
je 0x42030b
mov edx, dword [esi - 0x24]
push edx
call fcn.00411a6e
sub esp, 0xfffffffc
movzx eax, al
test eax, eax
je 0x42030b
mov ecx, dword [esi - 0x24]
mov edx, dword [ecx]
push edx
call fcn.00411591
sub esp, 0xfffffffc
push 0
call fcn.0041145b
sub esp, 0xfffffffc
call fcn.00420490
mov dword [esi - 0x2c], eax
push 0
call fcn.00411203
sub esp, 0xfffffffc
call fcn.00411429
movzx eax, al
test eax, eax
jne 0x42033c
mov ecx, dword [esi - 0x2c]
push ecx
call fcn.004118d4
movzx ebp, byte [esi - 0x19]
or ebp, ebp
jne 0x420349
call fcn.004112a3
push 0
push 1
call fcn.004114ce
mov ebx, dword [esi - 0x2c]
mov dword [esi - 0x3c], ebx
mov dword [esi - 4], 0xfffffffe
sub esp, 0xfffffff8
mov eax, dword [esi - 0x3c]
jmp 0x4203cf
mov ebx, dword [esi - 0x10]
mov dword fs:[0], ebx
pop ecx
pop ebx
pop ebp
pop edi
mov esp, esi
pop esi
ret