joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4794da
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
cmp esi, dword [0x48dd60]
push edi
jae 0x4796af
mov eax, esi
sar eax, 5
lea edi, [eax*4 + 0x48dd80]
mov eax, dword [edi]
and esi, 0x1f
shl esi, 3
add eax, esi
mov dl, byte [eax + 4]
test dl, 1
je 0x4796af
and dword [ebp - 0xc], 0
cmp dword [ebp + 0x10], 0
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
je 0x479585
test dl, 2
jne 0x479585
test dl, 0x48
je 0x47954f
cmp byte [eax + 5], 0xa
je 0x47954f
mov eax, dword [edi]
mov al, byte [eax + esi + 5]
dec dword [ebp + 0x10]
mov byte [ebx], al
mov eax, dword [edi]
lea ecx, [ebx + 1]
mov dword [ebp - 0xc], 1
mov byte [eax + esi + 5], 0xa
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x10]
mov eax, dword [edi]
push ecx
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x479598
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop ecx
cmp eax, ecx
jne 0x479580
mov dword [0x48bfec], ecx
jmp 0x4796b6
cmp eax, 0x6d
jne 0x47958c
xor eax, eax
jmp 0x4796c3
push eax
call fcn.00479163
pop ecx
jmp 0x4796c0
mov eax, dword [ebp - 0x10]
mov ecx, dword [edi]
add dword [ebp - 0xc], eax
test byte [ecx + esi + 4], 0x80
je 0x4796aa
test eax, eax
je 0x4795bf
cmp byte [ebx], 0xa
jne 0x4795bf
mov eax, ecx
lea eax, [eax + esi + 4]
or byte [eax], 4
jmp 0x4795c8
mov eax, dword [edi]
lea eax, [eax + esi + 4]
and byte [eax], 0xfb
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
add ecx, eax
cmp eax, ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
jae 0x4796a4
mov eax, dword [ebp - 8]
mov al, byte [eax]
cmp al, 0x1a
je 0x479694
cmp al, 0xd
je 0x4795fa
mov byte [ebx], al
inc ebx
inc dword [ebp - 8]
jmp 0x479686
dec ecx
cmp dword [ebp - 8], ecx
jae 0x479614
mov eax, dword [ebp - 8]
inc eax
cmp byte [eax], 0xa
jne 0x47960f
add dword [ebp - 8], 2
jmp 0x479668
mov dword [ebp - 8], eax
jmp 0x479682
inc dword [ebp - 8]
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
mov eax, dword [edi]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x47963c
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x479682
cmp dword [ebp - 0x10], 0
je 0x479682
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x47965d
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x479668
mov byte [ebx], 0xd
mov ecx, dword [edi]
mov byte [ecx + esi + 5], al
jmp 0x479685
cmp ebx, dword [ebp + 0xc]
jne 0x47966d
cmp byte [ebp - 1], 0xa
jne 0x47966d
mov byte [ebx], 0xa
jmp 0x479685
push 1
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004793e3
add esp, 0xc
cmp byte [ebp - 1], 0xa
je 0x479686
mov byte [ebx], 0xd
inc ebx
mov ecx, dword [ebp - 0xc]
cmp dword [ebp - 8], ecx
jb 0x4795de
jmp 0x4796a4
mov eax, dword [edi]
test byte [eax + esi + 4], 0x40
jne 0x4796a4
lea esi, [eax + esi + 4]
or byte [esi], 2
sub ebx, dword [ebp + 0xc]
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp - 0xc]
jmp 0x4796c3
and dword [0x48bfec], 0
mov dword [0x48bfe8], 9
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x479cc8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x48c168], ebx
push esi
push edi
jne 0x479d48
push 0x402708
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x479d83
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4026fc
push edi
call esi
test eax, eax
mov dword [0x48c168], eax
je 0x479d83
push 0x4026ec
push edi
call esi
push 0x4026d8
push edi
mov dword [0x48c16c], eax
call esi
cmp dword [0x48bff4], 2
mov dword [0x48c170], eax
jne 0x479d48
push 0x4026bc
push edi
call esi
test eax, eax
mov dword [0x48c178], eax
je 0x479d48
push 0x4026a4
push edi
call esi
mov dword [0x48c174], eax
mov eax, dword [0x48c174]
test eax, eax
je 0x479d8d
call eax
test eax, eax
je 0x479d74
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x48c178]
test eax, eax
je 0x479d74
test byte [ebp - 8], 1
jne 0x479d8d
cmp dword [0x48c000], 4
jb 0x479d87
or byte [ebp + 0x12], 0x20
jmp 0x479dac
xor eax, eax
jmp 0x479dbc
or byte [ebp + 0x12], 4
jmp 0x479dac
mov eax, dword [0x48c16c]
test eax, eax
je 0x479dac
call eax
mov ebx, eax
test ebx, ebx
je 0x479dac
mov eax, dword [0x48c170]
test eax, eax
je 0x479dac
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x48c168]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x47a0e2
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x47a110
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x47a117
cmp ebx, dword [eax + 4]
jae 0x47a117
xor eax, eax
jmp 0x47a307
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x47a128
xor eax, eax
inc eax
jmp 0x47a306
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x47a13e
cmp ecx, edx
jae 0x47a283
cmp dword [eax + 4], 0
je 0x47a147
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x47a12f
cmp dword [ebp + 8], 0
je 0x47a169
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x47a283
cmp eax, esi
jae 0x47a283
mov eax, dword [0x48c180]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x47a18e
cmp dword [esi*4 + 0x48c188], edi
je 0x47a287
inc esi
cmp esi, eax
jl 0x47a17c
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x47a303
cmp dword [ebp - 8], 0x1000000
jne 0x47a303
test byte [ebp - 0xc], 0xcc
je 0x47a20c
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x47a303
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x47a303
cmp word [eax + 0x18], 0x10b
jne 0x47a303
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x47a303
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x47a20c
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x47a20c
test byte [ecx + 0x27], 0x80
jne 0x47a283
push 1
push 0x48c1c8
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x47a120
mov ecx, dword [0x48c180]
test ecx, ecx
mov edx, ecx
jle 0x47a240
lea eax, [ecx*4 + 0x48c184]
cmp dword [eax], edi
je 0x47a240
dec edx
sub eax, 4
test edx, edx
jg 0x47a234
test edx, edx
jne 0x47a271
push 0xf
pop ebx
cmp ecx, ebx
jg 0x47a24d
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x47a265
lea eax, [edx*4 + 0x48c188]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x47a253
cmp ecx, 0x10
jge 0x47a271
inc ecx
mov dword [0x48c180], ecx
push 0
push 0x48c1c8
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x47a120
xor eax, eax
jmp 0x47a306
test esi, esi
jle 0x47a120
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x48c1c8
call ebx
test eax, eax
jne 0x47a120
cmp dword [esi*4 + 0x48c188], edi
je 0x47a2dd
mov eax, dword [0x48c180]
lea esi, [eax - 1]
test esi, esi
jl 0x47a2cb
cmp dword [esi*4 + 0x48c188], edi
je 0x47a2c7
dec esi
jns 0x47a2bb
test esi, esi
jge 0x47a2db
cmp eax, 0x10
jge 0x47a2d6
inc eax
mov dword [0x48c180], eax
lea esi, [eax - 1]
jmp 0x47a2dd
je 0x47a2f5
xor ecx, ecx
test esi, esi
jl 0x47a2f5
lea eax, [ecx*4 + 0x48c188]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x47a2e3
push 0
push 0x48c1c8
call ebx
jmp 0x47a120
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x47a828
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.00474d40
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x47a8c3
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x48bff4]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x47a8c3
cmp eax, 1
je 0x47a8e4
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x47a8c3
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x47a890
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x47a8bf
xor eax, eax
inc eax
jmp 0x47a903
cmp edi, eax
jae 0x47a8c7
xor eax, eax
jmp 0x47a903
cmp eax, esi
jae 0x47a8ce
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x48bff4]
jmp 0x47a8e7
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x47ad70
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.00474d40
mov eax, dword [0x48913c]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, dword [0x48dd60]
mov dword [ebp - 4], eax
jae 0x47aeb3
mov eax, ebx
sar eax, 5
mov eax, dword [eax*4 + 0x48dd80]
mov ecx, ebx
and ecx, 0x1f
test byte [eax + ecx*8 + 4], 1
je 0x47aeb3
push 1
push esi
push ebx
call fcn.004793e3
add esp, 0xc
cmp eax, 0xffffffff
mov dword [ebp - 0x1008], eax
je 0x47aebd
push 2
push esi
push ebx
call fcn.004793e3
add esp, 0xc
cmp eax, 0xffffffff
je 0x47aebd
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x47ae5d
push 0x1000
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.00474d80
push 0x8000
push ebx
call fcn.0047b5e5
add esp, 0x14
mov dword [ebp + 8], eax
mov eax, 0x1000
cmp edi, eax
jge 0x47ae1c
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push ebx
call fcn.00475608
add esp, 0xc
cmp eax, 0xffffffff
je 0x47ae3a
sub edi, eax
test edi, edi
jg 0x47ae11
jmp 0x47ae50
cmp dword [0x48bfec], 5
jne 0x47ae4d
mov dword [0x48bfe8], 0xd
or esi, 0xffffffff
push dword [ebp + 8]
push ebx
call fcn.0047b5e5
pop ecx
pop ecx
jmp 0x47ae9d
jge 0x47ae9d
push 0
push dword [ebp + 0xc]
push ebx
call fcn.004793e3
push ebx
call fcn.00479350
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, 0xffffffff
jne 0x47ae9d
mov dword [0x48bfe8], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x48bfec], eax
push 0
push dword [ebp - 0x1008]
push ebx
call fcn.004793e3
add esp, 0xc
mov eax, esi
pop edi
jmp 0x47aec0
mov dword [0x48bfe8], 9
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.00474d28
leave
ret
Function at 0x4045e2
Capabilities:
Extract resource via kernel32 functions
Get common file path

Disassembly:
push 0x28
mov eax, 0x42c15b
call fcn.004163ec
lea esi, [ecx + 0xc8]
mov edi, 0x104
push edi
mov ecx, esi
call fcn.0040132f
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4046fd
push 0xffffffffffffffff
mov ecx, esi
call fcn.004011d4
push esi
lea ecx, [ebp - 0x10]
call fcn.00401778
xor ebx, ebx
push edi
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.0040132f
push eax
push ebx
push 0x42fb0c
lea ecx, [ebp - 0x10]
call fcn.00403f8e
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov ecx, dword [ebp - 0x10]
or edi, 0xffffffff
add ecx, 0xfffffff0
mov dword [ebp - 4], edi
call fcn.00401038
push edi
mov ecx, esi
call fcn.004011d4
lea ecx, [ebp - 0x20]
call fcn.004101ea
push ebx
push edi
push ebx
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 1
call fcn.0040444a
mov eax, dword [esi]
lea ecx, [ebp - 0x34]
push ecx
push 0x1001
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.004105d1
test eax, eax
jne 0x40469e
mov ecx, esi
call fcn.00401228
jmp 0x4046e0
push 0x42fae8
push 0x87
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push ebx
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040ff38
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
mov dword [ebp - 0x34], vtable.CFileException.0
call fcn.00401038
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], edi
call fcn.004102be
call fcn.0041648b
ret
Function at 0x404ebf
Capabilities:
Identify system language via api

Disassembly:
push 8
mov eax, 0x42c249
call fcn.004163ec
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0xb8], ebx
jne 0x404f39
call fcn.00405f3b
push eax
lea ecx, [ebp - 0x10]
call fcn.004011f9
push 0x92
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.00404798
mov ecx, dword [ebp + 8]
push dword [ecx]
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 1
call fcn.00401462
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00401038
mov esi, dword [ebp - 0x10]
push ebx
push 0x10
push esi
call fcn.00403e9f
or dword [ebp - 4], 0xffffffff
add esp, 0xc
lea ecx, [esi - 0x10]
call fcn.00401038
cmp dword [edi + 0xb0], ebx
je 0x404f51
push str.OS_requirement:_Unsupported_Internet_Explorer_detected.
lea ecx, [edi + 0xa4]
call fcn.00401998
mov ecx, edi
call fcn.004044df
call fcn.0041648b
ret 4
Function at 0x40ea56
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x40ea5f
xor eax, eax
jmp 0x40eac8
cmp dword [esp + 8], 0
jne 0x40ea6b
call fcn.00405e32
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.004199c3
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x40eaa6
push dword [esi + 0x10]
call fcn.004196c9
test eax, eax
pop ecx
jne 0x40eaa6
mov esi, dword [esi + 0xc]
call fcn.00416dcb
push esi
push dword [eax]
push 1
call fcn.0040f6b0
push dword [esi + 0x10]
call fcn.004196f8
test eax, eax
pop ecx
je 0x40eac5
push dword [esi + 0x10]
call fcn.0041961d
push eax
call fcn.0040165b
pop ecx
pop ecx
jmp 0x40ea94
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x40ead1
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x40eadb
call fcn.00405e32
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.00419b3d
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x40eb08
mov esi, dword [esi + 0xc]
call fcn.00416dcb
push esi
push dword [eax]
push 1
call fcn.0040f6b0
pop esi
ret 8
Function at 0x42b6f4
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x43aee0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0042b689
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.004165b0
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 0x42b743
cmp dword [ebp - 0x1c], 5
jb 0x42b75b
jmp 0x42b757
cmp dword [ebp - 0x10], 1
jne 0x42b75b
cmp dword [ebp - 0x1c], 4
ja 0x42b757
jne 0x42b75b
cmp dword [ebp - 0x18], 0
jbe 0x42b75b
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x433edc
call fcn.0042b55d
test eax, eax
jge 0x42b77c
mov byte [0x43c3ac], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041635f
add ebp, 0x78
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x42be3edf
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
loop 0x42e060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x42e0d2
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x66293b2d
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x532e10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd1000]
push edi
or ebp, 0xffffffff
jmp 0x532e32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x532e39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x532e28
mov eax, 1
add ebx, ebx
jne 0x532e4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x532e5c
jne 0x532e7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x532e7b
dec eax
add ebx, ebx
jne 0x532e68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x532e40
add ebx, ebx
jne 0x532e77
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x532ecd
xor ecx, ecx
sub eax, 3
jb 0x532e93
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x532f02
sar eax, 1
mov ebp, eax
jmp 0x532e9e
add ebx, ebx
jne 0x532e9e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x532e6c
inc ecx
add ebx, ebx
jne 0x532eac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x532e6c
add ebx, ebx
jne 0x532eb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x532eae
jne 0x532eca
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x532eae
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x532eec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x532ede
jmp 0x532e2e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x532eec
add edi, ecx
jmp 0x532e2e
pop esi
mov edi, esi
mov ecx, 0x4f52
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x532f0a
cmp byte [edi], 0x15
jne 0x532f0a
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 0x532f0f
lea edi, [esi + 0x12a000]
mov eax, dword [edi]
or eax, eax
je 0x532f87
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x14bc6c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x14bd98]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x532f3c
mov ecx, edi
jns 0x532f6b
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 + 0x14bd9c]
or eax, eax
je 0x532f81
mov dword [ebx], eax
add ebx, 4
jmp 0x532f59
call dword [esi + 0x14bdac]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x532fb8
cmp al, 0xef
ja 0x532fab
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x532f8d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x532f9a
mov ebp, dword [esi + 0x14bda0]
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 0x532fec
sub esp, 0xffffff80
jmp 0x49a42b
Function at 0x4025d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x433ccb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x44a214]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ebx, [esi + 0x5c]
mov dword [esi], 0xb18c5a78
mov dword [esi + 4], 0x34f1cc93
mov dword [esi + 8], 0x26a862d
mov dword [esi + 0xc], 0xb47b5e45
mov dword [esi + 0x10], 0x8a1fb40b
mov dword [esi + 0x14], 0x96d88b7f
mov dword [esi + 0x18], 0x4f9fa12d
mov dword [esi + 0x1c], 0x89f60427
mov dword [esi + 0x20], 0x88328cf0
mov dword [esi + 0x24], 0xc8445ffd
mov dword [esi + 0x28], 0x43e99d4c
mov dword [esi + 0x2c], 0x7777fbd8
mov dword [esi + 0x30], 0xace3eeae
mov dword [esi + 0x34], 0xfbb86346
mov dword [esi + 0x38], 0x2eecb99
mov dword [esi + 0x3c], 0x4632ce24
mov dword [esi + 0x40], 0xd675abc6
mov dword [esi + 0x44], 0x5993d793
mov dword [esi + 0x48], 0xefae7b7d
mov dword [esi + 0x4c], 0x53821f02
mov dword [esi + 0x50], 0x13d3578e
mov word [esi + 0x54], 0x5633
mov byte [esi + 0x56], 0x35
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov edi, dword [eax + 0x5c]
test edi, edi
je 0x4026fe
mov dword [esi + 0x58], 0
cmp dword [edi], 0x736d6864
jne 0x4026fe
cmp dword [edi + 8], 0
jbe 0x4026fe
cmp dword [edi + 4], 0
jbe 0x4026fe
mov eax, dword [ebx]
mov ecx, ebx
push ebx
mov dword [ebx + 4], eax
push dword [edi + 4]
call fcn.00401c50
push dword [edi + 4]
push edi
push dword [ebx]
call fcn.004192b0
mov eax, dword [edi + 8]
add esp, 0xc
mov dword [esi + 0x58], 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 4
Function at 0x402720
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x433cfb
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x44a214]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea esi, [edi + 0x5c]
mov dword [edi], 0xb18c5a78
mov dword [edi + 4], 0x34f1cc93
mov dword [edi + 8], 0x26a862d
mov dword [edi + 0xc], 0xb47b5e45
mov dword [edi + 0x10], 0x8a1fb40b
mov dword [edi + 0x14], 0x96d88b7f
mov dword [edi + 0x18], 0x4f9fa12d
mov dword [edi + 0x1c], 0x89f60427
mov dword [edi + 0x20], 0x88328cf0
mov dword [edi + 0x24], 0xc8445ffd
mov dword [edi + 0x28], 0x43e99d4c
mov dword [edi + 0x2c], 0x7777fbd8
mov dword [edi + 0x30], 0xace3eeae
mov dword [edi + 0x34], 0xfbb86346
mov dword [edi + 0x38], 0x2eecb99
mov dword [edi + 0x3c], 0x4632ce24
mov dword [edi + 0x40], 0xd675abc6
mov dword [edi + 0x44], 0x5993d793
mov dword [edi + 0x48], 0xefae7b7d
mov dword [edi + 0x4c], 0x53821f02
mov dword [edi + 0x50], 0x13d3578e
mov word [edi + 0x54], 0x5633
mov byte [edi + 0x56], 0x35
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [edi + 0x58], 0
mov ecx, esi
mov eax, dword [esi]
push esi
push 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0x736d6864
mov dword [ebp - 0x18], 0xc
mov dword [esi + 4], eax
call fcn.00401c50
mov eax, dword [esi]
movq xmm0, qword [ebp - 0x1c]
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret