joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4012a0
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Read file on windows

Disassembly:
mov eax, 0x1470
call fcn.004140b0
mov eax, dword [0x461850]
xor eax, esp
mov dword [esp + 0x146c], eax
push 0
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x18], 0xc
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 1
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x401300
mov ecx, dword [esp + 0x146c]
xor ecx, esp
call fcn.00413687
add esp, 0x1470
ret
mov eax, dword [str.Cmd.exe__C]
mov ecx, dword [0x42a700]
mov edx, dword [0x42a704]
push edi
lea edi, [esp + 0x70]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x401325
push esi
mov ecx, 0x1e
mov esi, 0x42a680
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x20]
push eax
movsb byte es:[edi], byte [esi]
mov dword [esp + 0x24], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x24]
push edx
push 0
push 0
push 0
push 1
push 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], eax
push 0
lea eax, [esp + 0x94]
push eax
push 0
mov word [esp + 0x78], 0
mov dword [esp + 0x74], 0x101
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4013ae
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 8]
push edx
call esi
jmp 0x401433
mov eax, dword [esp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
push 0xfff
lea ecx, [esp + 0x479]
push 0
push ecx
mov byte [esp + 0x480], 0
call fcn.00413fb0
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
add esp, 0xc
mov ecx, dword [esp + 8]
push 0
lea edx, [esp + 0x20]
push edx
push 0xfff
lea eax, [esp + 0x480]
push eax
push ecx
call esi
test eax, eax
jne 0x4013e0
cmp byte [esp + 0x4a4], 0x64
jne 0x40142c
mov edx, dword [esp + 8]
push edx
call edi
pop esi
mov eax, 1
pop edi
mov ecx, dword [esp + 0x146c]
xor ecx, esp
call fcn.00413687
add esp, 0x1470
ret
mov eax, dword [esp + 8]
push eax
call edi
mov ecx, dword [esp + 0x1474]
pop esi
pop edi
xor ecx, esp
xor eax, eax
call fcn.00413687
add esp, 0x1470
ret
Function at 0x401450
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Read file on windows

Disassembly:
mov eax, 0x1470
call fcn.004140b0
mov eax, dword [0x461850]
xor eax, esp
mov dword [esp + 0x146c], eax
push 0
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x18], 0xc
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 1
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x4014b0
mov ecx, dword [esp + 0x146c]
xor ecx, esp
call fcn.00413687
add esp, 0x1470
ret
mov eax, dword [str.Cmd.exe__C]
mov ecx, dword [0x42a700]
mov edx, dword [0x42a704]
push edi
lea edi, [esp + 0x70]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x4014d5
push esi
mov ecx, 0x1e
mov esi, str.C:Progra1WinNetwork_signtool.exe_sign__f_C:Progra1WinNetworkqm.pfx__p_630009109_C:Progra1WinNetworkwinsint.exe
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x20]
push eax
movsw word es:[edi], word [esi]
mov dword [esp + 0x24], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x24]
push edx
push 0
push 0
push 0
push 1
push 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], eax
push 0
lea eax, [esp + 0x94]
push eax
push 0
mov word [esp + 0x78], 0
mov dword [esp + 0x74], 0x101
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x40155f
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 8]
push edx
call esi
jmp 0x4015e4
mov eax, dword [esp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
push 0xfff
lea ecx, [esp + 0x479]
push 0
push ecx
mov byte [esp + 0x480], 0
call fcn.00413fb0
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
add esp, 0xc
mov ecx, dword [esp + 8]
push 0
lea edx, [esp + 0x20]
push edx
push 0xfff
lea eax, [esp + 0x480]
push eax
push ecx
call esi
test eax, eax
jne 0x401591
cmp byte [esp + 0x4a4], 0x64
jne 0x4015dd
mov edx, dword [esp + 8]
push edx
call edi
pop esi
mov eax, 1
pop edi
mov ecx, dword [esp + 0x146c]
xor ecx, esp
call fcn.00413687
add esp, 0x1470
ret
mov eax, dword [esp + 8]
push eax
call edi
mov ecx, dword [esp + 0x1474]
pop esi
pop edi
xor ecx, esp
xor eax, eax
call fcn.00413687
add esp, 0x1470
ret

Function at 0x401600
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0x42a784
push eax
call fcn.00413f9d
mov esi, eax
add esp, 8
test esi, esi
je 0x401638
push esi
push 0x9c00
push 1
push 0x457090
call fcn.004139c9
push esi
call fcn.00413833
add esp, 0x14
mov al, 1
pop esi
ret
xor al, al
pop esi
ret

Function at 0x401640
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0x42a784
push eax
call fcn.00413f9d
mov esi, eax
add esp, 8
test esi, esi
je 0x401678
push esi
push 0x23000
push 1
push 0x434090
call fcn.004139c9
push esi
call fcn.00413833
add esp, 0x14
mov al, 1
pop esi
ret
xor al, al
pop esi
ret
Function at 0x401680
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov eax, 0x42a788
push edi
mov edi, 0x11b29719
mov ebx, 0x7f7
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x401695
sub eax, edx
mov esi, eax
xor ecx, ecx
test esi, esi
jle 0x4016c8
jmp 0x4016b0
movsx eax, byte [ecx + 0x42a788]
or eax, 0x80
cdq
add ecx, 1
xor edi, eax
xor ebx, edx
cmp ecx, esi
jl 0x4016b0
mov eax, edi
pop edi
pop esi
mov edx, ebx
pop ebx
ret

Function at 0x401710
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push ebx
push eax
push ecx
push 0
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
jne 0x401739
xor eax, eax
pop ebx
pop ecx
ret 0xc
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x401732
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x40175a
pop edi
pop ebx
pop ecx
ret 0xc
mov edx, dword [esp + 0x18]
push esi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x401788
pop esi
pop edi
xor eax, eax
pop ebx
pop ecx
ret 0xc
push 0
lea eax, [esp + 0x10]
push eax
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
mov eax, 1
pop ebx
pop ecx
ret 0xc

Function at 0x401910
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ecx
push ebx
push edi
mov edi, dword [esp + 0x14]
push edi
call fcn.00401220
add esp, 4
call fcn.00414720
mov ebx, eax
test ebx, ebx
jne 0x401931
pop edi
xor al, al
pop ebx
pop ecx
ret
push esi
push ebx
call fcn.004051b3
push ebx
mov esi, eax
push 0
push esi
call fcn.00413fb0
push 0x42a790
push edi
call fcn.00413f9d
mov edi, eax
push edi
push ebx
push 1
push esi
call fcn.004146fb
add esp, 0x28
xor ecx, ecx
test eax, eax
jle 0x40196e
add byte [ecx + esi], 5
add ecx, 1
cmp ecx, eax
jl 0x401963
push edi
call fcn.00413833
push 0
call fcn.004140db
push eax
call fcn.0041446f
add esp, 0xc
xor edi, edi
call fcn.0041447c
cdq
mov ecx, 0x7f
idiv ecx
add edi, 1
cmp edi, 4
mov byte [esp + edi + 0xb], dl
jl 0x401986
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
push 0x42a78c
push eax
mov dword [esi + 0x1c], edx
call fcn.00413f9d
mov edi, eax
add esp, 8
test edi, edi
je 0x4019d1
push edi
push ebx
push 1
push esi
call fcn.004139c9
push edi
call fcn.00413833
add esp, 0x14
push esi
call fcn.004051ae
add esp, 4
pop esi
pop edi
mov al, 1
pop ebx
pop ecx
ret
Function at 0x4019f0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x4282ba
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x461850]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x461850]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, dword [esp + 0x38]
mov esi, ecx
push 0x10
mov dword [esp + 0x1c], esi
call fcn.00405183
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x30], 0
je 0x401a51
mov ecx, eax
call fcn.0040e324
mov ebp, eax
jmp 0x401a53
xor ebp, ebp
mov eax, dword [ebp]
mov edx, dword [eax + 0x20]
push 0
push 0x42
push edi
mov ecx, ebp
mov dword [esp + 0x3c], 0xffffffff
call edx
test eax, eax
jne 0x401a75
xor eax, eax
jmp 0x401b73
mov eax, dword [ebp]
mov edx, dword [eax + 0x30]
mov ecx, ebp
call edx
mov ebx, eax
push ebx
call fcn.004051b3
add esp, 4
push 2
mov dword [esp + 0x18], eax
mov eax, dword [ebp]
mov edx, dword [eax + 0x28]
push 0xffffffffffffffff
push 0xfffffffffffffffb
mov ecx, ebp
call edx
mov eax, dword [ebp]
mov edx, dword [eax + 0x34]
push 5
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebp
call edx
mov ecx, esi
call fcn.00401680
xor byte [esp + 0x1c], al
xor byte [esp + 0x1d], al
xor byte [esp + 0x1e], al
xor byte [esp + 0x1f], al
xor byte [esp + 0x20], al
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], edx
mov edi, str.love
lea esi, [esp + 0x1c]
mov ecx, 5
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x401a6e
mov edx, dword [ebp]
push eax
push eax
push eax
mov eax, dword [edx + 0x28]
mov ecx, ebp
call eax
mov edx, dword [ebp]
mov edi, dword [esp + 0x14]
mov eax, dword [edx + 0x34]
push ebx
push edi
mov ecx, ebp
call eax
xor esi, esi
test ebx, ebx
jle 0x401b23
mov al, bl
sub al, 5
jmp 0x401b10
mov ecx, dword [esp + 0x18]
mov dl, byte [ecx + 0x78]
xor dl, al
xor byte [esi + edi], dl
add esi, 1
cmp esi, ebx
jl 0x401b10
mov eax, dword [ebp]
mov edx, dword [eax + 0x28]
push 0
push 0
push 0
mov ecx, ebp
call edx
mov eax, dword [ebp]
mov edx, dword [eax + 0x38]
push ebx
push edi
mov ecx, ebp
call edx
mov eax, dword [ebp]
mov edx, dword [eax + 0x2c]
push 0
add ebx, 0xfffffffb
push ebx
mov ecx, ebp
call edx
mov eax, dword [ebp]
mov edx, dword [eax + 0x4c]
mov ecx, ebp
call edx
push edi
call fcn.004051ae
mov eax, dword [ebp]
mov edx, dword [eax + 4]
add esp, 4
push 1
mov ecx, ebp
call edx
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.00413687
add esp, 0x20
ret 4
Function at 0x401f80
Capabilities:
Create process on windows
Get common file path
Get program files directory

Disassembly:
push 0xffffffffffffffff
push 0x42833b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x461850]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push esi
push edi
mov eax, dword [0x461850]
xor eax, esp
push eax
lea eax, [esp + 0x220]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0040dec6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x401fd6
push 0x80004005
call fcn.004017c0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
push 0
push 0x26
lea ecx, [esp + 0x1c]
push ecx
push 0
mov dword [esp + 0x238], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea ecx, [esp + 0x10]
call fcn.00401dc0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push str._smir2.exe
push eax
call fcn.00401f60
mov edi, dword [esp + 0x1c]
add esp, 0xc
push edi
push str.RES_DATA
push 0x84
mov ecx, esi
call fcn.00401710
push edi
mov ecx, esi
call fcn.004019f0
mov ebx, dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 1
push 0
push 0
push edi
push str.open
push 0
call ebx
cmp eax, 0x20
jl 0x40208c
lea eax, [edi - 0x10]
mov dword [esp + 0x228], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402082
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x402116
lea ecx, [esp + 0x118]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 0x10]
call fcn.00401dc0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push str._smir2.exe
push eax
call fcn.00401f60
mov edi, dword [esp + 0x1c]
add esp, 0xc
push edi
push str.RES_DATA
push 0x84
mov ecx, esi
call fcn.00401710
push edi
mov ecx, esi
call fcn.004019f0
push 1
push 0
push 0
push edi
push str.open
push 0
call ebx
lea eax, [edi - 0x10]
mov dword [esp + 0x228], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402114
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00413687
add esp, 0x21c
ret
Function at 0x404ff0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebp
push esi
mov dword [esp + 8], ecx
call fcn.00408d5f
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [eax + 0xc]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x4050b7
call fcn.00408d5f
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
test ebp, ebp
je 0x4050b7
push edi
call fcn.00408d5f
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x40505d
pop edi
pop esi
pop ebp
pop ecx
ret 8
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebp
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x4050a6
test ebx, ebx
je 0x4050a6
push edi
push eax
push ebx
call fcn.00414aa0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [esp + 0x10]
push edi
push esi
call fcn.00404c20
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
pop ecx
ret 8
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret 8
pop esi
xor eax, eax
pop ebp
pop ecx
ret 8

Function at 0x40de61
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x40dea4
call fcn.00408d5f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40dea4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40debf
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0040da18
test ebx, ebx
mov esi, eax
je 0x40debd
test edi, edi
je 0x40debd
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x40fe16
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x40fe44
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x40fe62
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0040fd80
jmp 0x40fe62
mov eax, dword [esi + 0x14]
test eax, eax
je 0x40fe62
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0040fd80
test edi, edi
mov eax, edi
jne 0x40fe4c
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x464810]
test ecx, ecx
je 0x40ff25
jmp 0x40fe15
ret 8

Function at 0x413687
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x461850]
jne 0x413691
repz ret
jmp fcn.0041933c
Function at 0x4228d5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00418d85
xor ebx, ebx
cmp dword [0x46556c], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x4229aa
push 0x42d6cc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x422915
xor eax, eax
jmp 0x422a6e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42d6c0
push edi
call esi
cmp eax, ebx
je 0x42290e
push eax
call fcn.00418d22
mov dword [esp], 0x42d6b0
push edi
mov dword [0x46556c], eax
call esi
push eax
call fcn.00418d22
mov dword [esp], 0x42d69c
push edi
mov dword [0x465570], eax
call esi
push eax
call fcn.00418d22
mov dword [0x465574], eax
lea eax, [ebp - 8]
push eax
call fcn.00413bb5
test eax, eax
pop ecx
pop ecx
je 0x422978
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00414926
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x4229aa
push 0x42d680
push edi
call esi
push eax
call fcn.00418d22
cmp eax, ebx
pop ecx
mov dword [0x46557c], eax
je 0x4229aa
push 0x42d668
push edi
call esi
push eax
call fcn.00418d22
pop ecx
mov dword [0x465578], eax
mov eax, dword [0x465578]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x422a23
cmp dword [0x46557c], esi
je 0x422a23
push eax
call fcn.00418d8e
pop ecx
call eax
cmp eax, ebx
je 0x4229f0
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x46557c]
call fcn.00418d8e
pop ecx
call eax
test eax, eax
je 0x4229f0
test byte [ebp - 0x18], 1
jne 0x422a23
lea eax, [ebp - 0xc]
push eax
call fcn.00413bec
test eax, eax
pop ecx
je 0x422a0b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00414926
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x422a1a
or dword [ebp + 0x10], 0x200000
jmp 0x422a54
or dword [ebp + 0x10], 0x40000
jmp 0x422a54
mov eax, dword [0x465570]
cmp eax, esi
je 0x422a54
push eax
call fcn.00418d8e
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x422a54
mov eax, dword [0x465574]
cmp eax, esi
je 0x422a54
push dword [ebp - 4]
push eax
call fcn.00418d8e
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x46556c]
call fcn.00418d8e
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x427e77
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x461850]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00427e0c
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00413fb0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x427ec6
cmp dword [ebp - 0x1c], 5
jb 0x427ede
jmp 0x427eda
cmp dword [ebp - 0x10], 1
jne 0x427ede
cmp dword [ebp - 0x1c], 4
ja 0x427eda
jne 0x427ede
cmp dword [ebp - 0x18], 0
jbe 0x427ede
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x42e0b0
call fcn.00427cfd
test eax, eax
jge 0x427eff
mov byte [0x462ce4], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00413687
add ebp, 0x78
leave
ret
Function at 0x43a550
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x24000]
push edi
or ebp, 0xffffffff
jmp 0x43a572
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x43a579
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x43a568
mov eax, 1
add ebx, ebx
jne 0x43a58b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x43a580
jne 0x43a59c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43a580
xor ecx, ecx
sub eax, 3
jb 0x43a5b0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x43a622
mov ebp, eax
add ebx, ebx
jne 0x43a5bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x43a5c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x43a5ec
inc ecx
add ebx, ebx
jne 0x43a5d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x43a5cd
jne 0x43a5e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43a5cd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43a60c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43a5fd
jmp 0x43a56e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43a60c
add edi, ecx
jmp 0x43a56e
pop esi
mov edi, esi
mov ecx, 0x3e7
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43a62a
cmp byte [edi], 1
jne 0x43a62a
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 0x43a62f
lea edi, [esi + 0x38000]
mov eax, dword [edi]
or eax, eax
je 0x43a6a7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4ae3c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4aef0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43a65c
mov ecx, edi
jns 0x43a68b
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 + 0x4aef4]
or eax, eax
je 0x43a6a1
mov dword [ebx], eax
add ebx, 4
jmp 0x43a679
call dword [esi + 0x4af04]
mov ebp, dword [esi + 0x4aef8]
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 0x43a6db
sub esp, 0xffffff80
jmp 0x40d841

Function at 0x452f55
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x452f66
lcall 0x5de5, 0x8b10c483
jmp loc.00ff26d0

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x452f66
lcall 0x5de5, 0x8b10c483
jmp loc.00ff26d0