joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406ea0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor esi, esi
push esi
mov ecx, 0x46a280
call fcn.0040f64b
mov ebx, eax
mov dword [ebp - 4], 1
test ebx, ebx
je 0x406f54
test esi, esi
jne 0x406f54
mov eax, dword [ebp + 8]
shr eax, 4
inc eax
push esi
movzx ecx, ax
push ecx
push 6
push ebx
call dword [sym.imp.KERNEL32.DLL_FindResourceExW]
mov edi, eax
test edi, edi
je 0x406f38
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
je 0x406f32
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov esi, eax
test esi, esi
je 0x406f32
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov ecx, dword [ebp + 8]
add eax, esi
and ecx, 0xf
jbe 0x406f21
cmp esi, eax
jae 0x406f25
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x406f13
cmp esi, eax
jb 0x406f29
xor eax, eax
jmp 0x406f32
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
mov esi, eax
test eax, eax
jne 0x406f5d
mov edi, dword [ebp - 4]
push edi
mov ecx, 0x46a280
call fcn.0040f64b
mov ebx, eax
inc edi
mov dword [ebp - 4], edi
test ebx, ebx
jne 0x406ec5
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x407060
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
mov eax, dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
jne 0x407078
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov esi, eax
test esi, esi
je 0x4070aa
mov ecx, dword [ebp + 8]
push ebx
push ecx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x4070a6
cmp esi, eax
jae 0x4070aa
dec edi
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x407098
cmp esi, eax
jb 0x4070b0
pop esi
xor eax, eax
pop edi
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x40a580
Capabilities:
Check if file exists
Create process on windows
Delete file
Extract resource via kernel32 functions
Move file
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x422038
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x42a520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
cmp edi, ebx
je 0x40a769
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40a5c3
sub eax, edx
sar eax, 1
je 0x40a769
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40a769
push 0xa
push 0x65
push ebx
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov esi, eax
cmp esi, ebx
je 0x40a75b
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov edi, eax
cmp edi, ebx
je 0x40a769
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, ebx
je 0x40a769
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
cmp eax, ebx
je 0x40a769
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
lea ecx, [ebp - 0x30]
push ecx
push edi
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.004075c0
add esp, 8
cmp eax, ebx
je 0x40a742
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x2c]
cmp edi, esi
je 0x40a742
mov edx, dword [ebp + 8]
push 0x42676c
push edx
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], ebx
call fcn.00411524
add esp, 0xc
test eax, eax
jne 0x40a742
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x40a742
push eax
sub esi, edi
push esi
push 1
push edi
call fcn.004116c2
mov edx, dword [ebp - 0x1c]
xor ecx, ecx
cmp esi, eax
sete cl
push edx
mov esi, ecx
call fcn.004117a9
add esp, 0x14
cmp esi, ebx
je 0x40a742
lea esi, [ebp - 0x20]
call fcn.00406800
push 0x6b
mov byte [ebp - 4], 2
call fcn.00406ea0
add esp, 4
cmp eax, ebx
je 0x40a73a
push eax
mov eax, 0x6b
mov edi, esi
call fcn.004069f0
cmp eax, ebx
je 0x40a73a
mov edi, dword [ebp - 0x20]
cmp dword [edi - 0xc], ebx
je 0x40a73a
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.00406820
lea esi, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.0040cdb0
mov eax, edi
call fcn.0040cc90
cmp eax, ebx
je 0x40a732
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
test eax, eax
je 0x40a732
mov eax, dword [ebp - 0x14]
push 1
push ebx
push ebx
push eax
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x18], 1
lea eax, [ebp - 0x14]
call fcn.004068d0
lea eax, [ebp - 0x20]
call fcn.004068d0
lea esi, [ebp - 0x30]
call fcn.00407640
jmp 0x40a769
push edi
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x18]
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 0x40ad00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421db0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x42a520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
lea eax, [ebp - 0x18]
push 0x469f00
xor edi, edi
push eax
xor esi, esi
mov dword [ebp - 4], edi
call fcn.004097b0
mov ecx, dword [ebp - 0x18]
add esp, 8
cmp dword [ecx - 0xc], edi
je 0x40add5
cmp edi, 2
jge 0x40add5
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x14]
push edx
push 0
xor eax, eax
push 2
test edi, edi
push 0
setne al
push 0
push 0
push ecx
mov dword [ebp - 0x14], 0
add eax, 0x80000001
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40adcc
mov esi, dword [ebp - 0x14]
mov ecx, esi
mov dword [ebp - 0x28], ecx
test ebx, ebx
jne 0x40ad98
lea eax, [ebx + 0xd]
jmp 0x40adb8
push ebx
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push ebx
push 1
push 0
push 0x42692c
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x28]
xor edx, edx
test eax, eax
sete dl
mov esi, edx
test ecx, ecx
je 0x40adcc
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x18]
inc edi
jmp 0x40ad51
lea eax, [ecx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ae15
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
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 0x40beb0
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4284c8
push 0x416480
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x84f0
call fcn.004207e0
mov eax, dword [0x42a520]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 0x10]
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 4], ebx
push 6
push 0x4267d4
push esi
call fcn.0041196f
add esp, 0xc
test eax, eax
je 0x40c0ce
call fcn.00409740
xor eax, eax
mov word [ebp - 0x4b0], ax
push 0x206
push ebx
lea ecx, [ebp - 0x4ae]
push ecx
call fcn.00412510
add esp, 0xc
push 0x104
lea edx, [ebp - 0x4b0]
push edx
push ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
test eax, eax
je 0x40c0ed
xor eax, eax
mov word [ebp - 0x2a8], ax
push 0x206
push ebx
lea ecx, [ebp - 0x2a6]
push ecx
call fcn.00412510
add esp, 0xc
lea edx, [ebp - 0x2a8]
push edx
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
je 0x40c0ed
lea eax, [ebp - 0x2a8]
push eax
push ebx
push ebx
mov ecx, eax
push ecx
call dword [sym.imp.KERNEL32.DLL_GetTempFileNameW]
test eax, eax
je 0x40c0ed
call fcn.004079c0
test eax, eax
je 0x40c0ed
mov byte [ebp - 0xa0], bl
push 0x80
push ebx
lea edx, [ebp - 0x9f]
push edx
call fcn.00412510
add esp, 0xc
mov dword [ebp - 0x84b4], 0x81
lea edx, [ebp - 0x84b4]
lea eax, [ebp - 0xa0]
call fcn.0040a290
test eax, eax
je 0x40c0ed
lea ecx, [ebp - 0x2a8]
lea edx, [ebp - 0x4b0]
call fcn.0040ba60
test eax, eax
je 0x40c0ed
xor eax, eax
mov word [ebp - 0x84b0], ax
push 0x7ffe
push ebx
lea ecx, [ebp - 0x84ae]
push ecx
call fcn.00412510
lea edx, [ebp - 0xa0]
push edx
lea eax, [ebp - 0x4b0]
push eax
lea ecx, [ebp - 0x2a8]
push ecx
push str.__s____help_s_t_S
push 0x4000
lea edx, [ebp - 0x84b0]
push edx
call fcn.00411448
mov dword [ebp - 0x8508], ebx
push 0x40
push ebx
lea eax, [ebp - 0x8504]
push eax
call fcn.00412510
add esp, 0x30
mov dword [ebp - 0x8508], 0x44
xor ecx, ecx
mov word [ebp - 0x84d8], cx
mov dword [ebp - 0x84dc], 1
mov dword [ebp - 0x84c4], ebx
xor eax, eax
mov dword [ebp - 0x84c0], eax
mov dword [ebp - 0x84bc], eax
mov dword [ebp - 0x84b8], eax
lea edx, [ebp - 0x84c4]
push edx
lea eax, [ebp - 0x8508]
push eax
push ebx
push ebx
push 0x8000000
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x84b0]
push ecx
lea edx, [ebp - 0x2a8]
push edx
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
jmp 0x40c0ed
push 0x7d0
call dword [sym.imp.KERNEL32.DLL_Sleep]
push esi
call fcn.0040bae0
add esp, 4
jmp 0x40c0ed
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004106c7
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40f0b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421de8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x42a520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x1c]
push 0x42b468
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004097b0
add esp, 8
lea ecx, [ebp - 0x18]
push 0x42b4cc
push ecx
mov byte [ebp - 4], 1
call fcn.004097b0
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
push 0x6a
mov byte [ebp - 4], 3
call fcn.00406ea0
add esp, 4
cmp eax, ebx
je 0x40f141
push eax
lea eax, [ebx + 0x6a]
lea edi, [ebp - 0x14]
call fcn.004069f0
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx - 0xc], ebx
je 0x40f1cd
mov edx, dword [ebp - 0x18]
cmp dword [edx - 0xc], ebx
je 0x40f1cd
cmp dword [esi - 0xc], ebx
je 0x40f1cd
xor eax, eax
mov dword [ebp - 0x14], eax
nop
cmp eax, 2
jge 0x40f1cd
xor ecx, ecx
cmp eax, ebx
setne cl
push 2
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
add ecx, 0x80000001
mov dword [ebp - 0x20], ebx
call fcn.0040eff0
test eax, eax
jne 0x40f1b1
mov edi, dword [ebp - 0x18]
cmp esi, ebx
je 0x40f1b1
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
lea ecx, [eax + eax + 2]
push ecx
push esi
push 1
push ebx
push edi
mov edi, dword [ebp - 0x28]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x40f1b4
mov edi, dword [ebp - 0x28]
cmp edi, ebx
je 0x40f1c2
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x28], ebx
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], ebx
jmp 0x40f160
lea eax, [esi - 0x10]
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40f1ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f210
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f232
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41ec7c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42a520]
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.00415f82
and dword [ebp - 0x14], 0
cmp dword [0x46b150], 0
mov dword [ebp - 0x18], eax
jne 0x41ed2f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41edd7
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41edd7
mov esi, dword [sym.imp.KERNEL32.DLL_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x46b150], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x46b154], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x46b158], eax
call edi
push eax
call esi
mov dword [0x46b160], eax
test eax, eax
je 0x41ed2f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x46b15c], eax
mov eax, dword [0x46b15c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.DLL_DecodePointer]
cmp eax, ecx
je 0x41ed88
cmp dword [0x46b160], ecx
je 0x41ed88
push eax
call esi
push dword [0x46b160]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41ed88
test ebx, ebx
je 0x41ed88
call edi
test eax, eax
je 0x41ed7f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41ed7f
test byte [ebp - 8], 1
jne 0x41ed88
or dword [ebp + 0x10], 0x200000
jmp 0x41edbb
mov eax, dword [0x46b154]
cmp eax, dword [ebp - 0x18]
je 0x41edbb
push eax
call esi
test eax, eax
je 0x41edbb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41edbb
mov eax, dword [0x46b158]
cmp eax, dword [ebp - 0x18]
je 0x41edbb
push eax
call esi
test eax, eax
je 0x41edbb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x46b150]
call esi
test eax, eax
je 0x41edd7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41edd9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004106c7
leave
ret
Function at 0x40105b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44c004]
jne 0x401065
repz ret
jmp fcn.00401684

Function at 0x4048db
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x44c004]
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.0040382b
and dword [ebp - 0x14], 0
cmp dword [0x44e930], 0
mov dword [ebp - 0x18], eax
jne 0x40498e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x404a36
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x404a36
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x44e930], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x44e934], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x44e938], eax
call edi
push eax
call esi
mov dword [0x44e940], eax
test eax, eax
je 0x40498e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x44e93c], eax
mov eax, dword [0x44e93c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4049e7
cmp dword [0x44e940], ecx
je 0x4049e7
push eax
call esi
push dword [0x44e940]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4049e7
test ebx, ebx
je 0x4049e7
call edi
test eax, eax
je 0x4049de
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4049de
test byte [ebp - 8], 1
jne 0x4049e7
or dword [ebp + 0x10], 0x200000
jmp 0x404a1a
mov eax, dword [0x44e934]
cmp eax, dword [ebp - 0x18]
je 0x404a1a
push eax
call esi
test eax, eax
je 0x404a1a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x404a1a
mov eax, dword [0x44e938]
cmp eax, dword [ebp - 0x18]
je 0x404a1a
push eax
call esi
test eax, eax
je 0x404a1a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x44e930]
call esi
test eax, eax
je 0x404a36
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x404a38
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040105b
leave
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x432030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rdata
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e072
nop
nop
nop
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x52f316ff
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x42e060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x42e0d2
nop
nop
nop
nop
nop
mov ebx, 0x42cd70
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x5ad7eae
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x401690
Capabilities:
Encode data using xor

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0x10
push ebx
push esi
push edi
push edx
pop edi
push edi
push 0
push dword [section..data]
mov dword [ebp - 8], edi
push ecx
pop esi
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, edi
shr ebx, 2
mov dword [ebp - 4], eax
or ebx, ebx
je 0x4016d4
push esi
pop edi
mov ecx, eax
sub edi, eax
mov edx, ebx
mov eax, dword [edi + ecx]
mov dword [ecx], eax
lea ecx, [ecx + 4]
dec edx
jne 0x4016c3
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 4]
shl ebx, 2
cmp ebx, edi
jae 0x4016ef
push edi
pop edx
sub esi, eax
lea ecx, [ebx + eax]
sub edx, ebx
mov al, byte [ecx + esi]
mov byte [ecx], al
lea ecx, [ecx + 1]
dec edx
jne 0x4016e4
mov eax, dword [ebp - 4]
lea esi, [edi - 8]
lea ecx, [eax - 8]
add ecx, edi
push esi
pop ebx
mov edx, dword [ecx + 4]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ecx]
shr ebx, 2
and esi, 3
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
or ebx, ebx
je 0x401731
lea ecx, [ebx + edx]
mov edx, dword [eax]
movzx ecx, cl
ror edx, cl
mov ecx, dword [ebp - 8]
add eax, 4
xor edx, ecx
sub edx, ebx
mov dword [eax - 4], edx
mov edx, dword [ebp - 0xc]
dec ebx
jne 0x401714
test esi, esi
je 0x40173d
xor byte [eax], cl
lea eax, [eax + 1]
dec esi
jne 0x401735
mov edi, dword [ebp - 0x10]
mov edi, dword [edi - 4]
push edi
push 0
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, dword [ebp - 4]
push eax
pop esi
mov edx, esi
push ebx
pop ecx
call section..text
push ebx
push 0
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [eax], edi
pop edi
mov dword [ecx], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x197653cb
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
mov ecx, 0x3723765d
nop
nop
nop
test eax, eax
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x9a2640
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x402000]
push edi
or ebp, 0xffffffff
jmp 0x9a2662
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x9a2669
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9a2658
mov eax, 1
add ebx, ebx
jne 0x9a267b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x9a268c
jne 0x9a26ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9a26ab
dec eax
add ebx, ebx
jne 0x9a2698
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x9a2670
add ebx, ebx
jne 0x9a26a7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x9a26fd
xor ecx, ecx
sub eax, 3
jb 0x9a26c3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x9a2732
sar eax, 1
mov ebp, eax
jmp 0x9a26ce
add ebx, ebx
jne 0x9a26ce
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9a269c
inc ecx
add ebx, ebx
jne 0x9a26dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9a269c
add ebx, ebx
jne 0x9a26e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x9a26de
jne 0x9a26fa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x9a26de
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x9a271c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x9a270e
jmp 0x9a265e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x9a271c
add edi, ecx
jmp 0x9a265e
pop esi
mov edi, esi
mov ecx, 0x1076c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x9a273a
cmp byte [edi], 0x60
jne 0x9a273a
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 0x9a273f
lea edi, [esi + 0x59e000]
mov eax, dword [edi]
or eax, eax
je 0x9a27b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5ea860]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5eaa14]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x9a276c
mov ecx, edi
jns 0x9a279b
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 + 0x5eaa1c]
or eax, eax
je 0x9a27b1
mov dword [ebx], eax
add ebx, 4
jmp 0x9a2789
call dword [esi + 0x5eaa18]
mov ebp, dword [esi + 0x5eaa20]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x9a27eb
sub esp, 0xffffff80
jmp 0x6c6cf3