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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x47c296
cmp dword [ebp + 0x14], edi
je 0x47c296
cmp ecx, edi
jne 0x47c29d
call fcn.0047ec38
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0047b21c
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x47c2b1
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x47c2d2
cmp ebx, 0xffffffff
je 0x47c2c1
push ebx
push edi
push ecx
call fcn.00479d70
add esp, 0xc
cmp esi, edi
je 0x47c27e
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x47c27e
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x47c2ee
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x47c2f5
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x47c3e6
test word [esi + 0xc], 0x10c
je 0x47c349
mov eax, dword [esi + 4]
test eax, eax
je 0x47c349
jl 0x47c447
cmp ebx, eax
mov edi, ebx
jb 0x47c31a
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x47c3ee
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00479a17
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x47c3de
cmp ebx, dword [ebp - 0xc]
jb 0x47c3b6
cmp dword [ebp - 0xc], 0
je 0x47c373
mov ecx, closesocket
xor edx, edx
cmp ebx, ecx
jbe 0x47c368
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x47c36f
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x47c37e
mov eax, closesocket
cmp ebx, eax
ja 0x47c37e
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x47c41a
push eax
push dword [ebp - 8]
push esi
call fcn.004886e0
pop ecx
push eax
call fcn.00489195
add esp, 0xc
test eax, eax
je 0x47c459
cmp eax, 0xffffffff
je 0x47c447
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x47c3de
push esi
call fcn.00488ab4
cmp eax, 0xffffffff
pop ecx
je 0x47c44b
cmp dword [ebp - 4], 0
je 0x47c41a
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x47c2fd
mov eax, dword [ebp + 0x14]
jmp 0x47c298
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x47c405
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.00479d70
add esp, 0xc
call fcn.0047ec38
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x47c28e
cmp dword [ebp + 0xc], 0xffffffff
je 0x47c430
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00479d70
add esp, 0xc
call fcn.0047ec38
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x47c28e
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x47c298
or dword [esi + 0xc], 0x10
jmp 0x47c44b
Function at 0x482f06
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x4c7be8]
je 0x482f21
inc edi
cmp edi, 0x17
jb 0x482f12
cmp edi, 0x17
jae 0x4830a1
push ebp
push 3
call fcn.004995b9
cmp eax, 1
pop ecx
je 0x48306d
push 3
call fcn.004995b9
test eax, eax
pop ecx
jne 0x482f55
cmp dword [0x4c7900], 1
je 0x48306d
cmp ebx, 0xfc
je 0x4830a0
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x4c99d0
push ebp
call fcn.0047acf4
add esp, 0xc
test eax, eax
je 0x482f8b
push esi
push esi
push esi
push esi
push esi
call fcn.0047b0e8
add esp, 0x14
push 0x104
mov esi, 0x4c99e9
push esi
push 0
mov byte [0x4c9aed], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x482fcf
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0047acf4
add esp, 0xc
test eax, eax
je 0x482fcf
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0047b0e8
add esp, 0x14
push esi
call fcn.0047dab0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x483014
push esi
call fcn.0047dab0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4c9ce4
push 0x4b3f6c
sub ecx, eax
push ecx
push eax
call fcn.0047b7c5
add esp, 0x14
test eax, eax
je 0x483014
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0047b0e8
add esp, 0x14
jmp 0x483016
xor esi, esi
push 0x4b3f68
push ebx
push ebp
call fcn.004903af
add esp, 0xc
test eax, eax
je 0x483036
push esi
push esi
push esi
push esi
push esi
call fcn.0047b0e8
add esp, 0x14
push dword [edi*8 + 0x4c7bec]
push ebx
push ebp
call fcn.004903af
add esp, 0xc
test eax, eax
je 0x483058
push esi
push esi
push esi
push esi
push esi
call fcn.0047b0e8
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.004993fc
add esp, 0xc
jmp 0x4830a0
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x4830a0
cmp ebp, 0xffffffff
je 0x4830a0
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4c7bec]
push dword [esi]
call fcn.0047dab0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4993fc
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004836f9
xor ebx, ebx
cmp dword [0x4ca298], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x4994d2
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4995b2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4b560c
push edi
call esi
cmp eax, ebx
je 0x4995b2
push eax
call fcn.0048368b
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4ca298], eax
call esi
push eax
call fcn.0048368b
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4ca29c], eax
call esi
push eax
call fcn.0048368b
mov dword [0x4ca2a0], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00482b71
test eax, eax
pop ecx
pop ecx
je 0x4994a0
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0047b0e8
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x4994d2
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0048368b
cmp eax, ebx
pop ecx
mov dword [0x4ca2a8], eax
je 0x4994d2
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0048368b
pop ecx
mov dword [0x4ca2a4], eax
mov eax, dword [0x4ca2a4]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x499557
cmp dword [0x4ca2a8], ecx
je 0x499557
push eax
call fcn.00483702
push dword [0x4ca2a8]
mov esi, eax
call fcn.00483702
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x499557
cmp edi, ebx
je 0x499557
call esi
cmp eax, ebx
je 0x499524
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x499524
test byte [ebp - 0x18], 1
jne 0x499557
lea eax, [ebp - 0x10]
push eax
call fcn.00482c20
test eax, eax
pop ecx
je 0x49953f
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0047b0e8
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x49954e
or dword [ebp + 0x10], 0x200000
jmp 0x499592
or dword [ebp + 0x10], 0x40000
jmp 0x499592
mov eax, dword [0x4ca29c]
cmp eax, dword [ebp - 8]
je 0x499592
push eax
call fcn.00483702
cmp eax, ebx
pop ecx
je 0x499592
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x499592
mov eax, dword [0x4ca2a0]
cmp eax, dword [ebp - 8]
je 0x499592
push eax
call fcn.00483702
cmp eax, ebx
pop ecx
je 0x499592
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4ca298]
call fcn.00483702
cmp eax, ebx
pop ecx
je 0x4995b2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4995b4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405d6b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a0c], 0
push esi
jne 0x405da2
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405d7c
mov dword [ecx*4 + 0x422a08], eax
inc ecx
cmp ecx, 0x100
jl 0x405d77
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405dd3
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a08]
xor eax, esi
inc ecx
dec edx
jne 0x405db5
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
nop
mov ecx, 0x5dea5371
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x431024
mov eax, section..data
nop
nop
mov ebx, 0x42f3f8
mov ecx, 0x7ef0304c
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x2109769
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x210d190
cmp edx, dword [eax]
je 0x210978b
add eax, 8
inc ecx
cmp eax, 0x210d220
jl 0x210977c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x210d190]
jne 0x21098b9
mov eax, dword [0x210dbb0]
cmp eax, 1
je 0x2109893
test eax, eax
jne 0x21097bc
cmp dword [0x210d0e4], 1
je 0x2109893
cmp edx, 0xfc
je 0x21098b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x21097f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0210a670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0210a490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x2109836
lea eax, [ebp - 0x1a4]
push eax
call fcn.0210a490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x210c45c
push edi
call fcn.0210af00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0210a670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0210a680
lea eax, [ebp - 0xa0]
push 0x210c43c
push eax
call fcn.0210a680
push dword [esi + 0x210d194]
lea eax, [ebp - 0xa0]
push eax
call fcn.0210a680
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0210ae75
add esp, 0x2c
pop edi
jmp 0x21098b9
lea eax, [ebp + 8]
lea esi, [esi + 0x210d194]
push 0
push eax
push dword [esi]
call fcn.0210a490
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x402000
Capabilities:
Access peb ldr_data

Disassembly:
push 0
push 2
push 0x403068
push 0x403053
call dword [sym.imp.Winmm.dll_mciSendStringA]
cmp eax, 0x107
je 0x40201c
ret
mov edi, edi
mov esi, 0x4020c7
mov edi, esi
push 1
push 0x403086
push 1
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateSemaphoreA]
mov edx, eax
pop ebx
mov ecx, 0x3ab
mov al, byte [esi]
sub al, bl
stosb byte es:[edi], al
inc esi
loop 0x402040
push dword fs:[0x30]
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
cmp word [eax], 0x5a4d
je 0x402066
xor eax, eax
mov dword [0x403099], eax
add esp, 4
ret
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x438c94
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x438a14
add edi, 0xacaa87d3
sub esp, 4
mov dword [esp], 0x38c80781
pop edi
call fcn.00438cdf
mov edi, 0xaa5db3c9
add edx, edx
dec edi
xor dword [ecx], ebx
sub esp, 4
mov dword [esp], 0xfbb6b844
mov edi, dword [esp]
add esp, 4
inc ecx
mov edi, edi
cmp ecx, esi
jne fcn.00438c94
and edx, edi
sub edi, 1
ret
Function at 0x401c90
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x40e044
call sym._EnterCriticalSection_4
mov ebx, dword [0x40e03c]
sub esp, 4
test ebx, ebx
je 0x401cdb
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x401cd4
test esi, esi
je 0x401cd4
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401cb0
mov dword [esp], 0x40e044
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x401ec0
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x401f10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x401fe8
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x401f4e
cmp eax, 4
jne 0x401f70
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x401f5e
cmp edx, 4
je 0x401f5e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00401ec0
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x48d14577
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
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, 0xbd56d6c
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x4017b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jb 0x4017eb
mov eax, dword [ebp + 0xc]
push eax
call fcn.00402ae0
add esp, 4
and eax, 0xff
test eax, eax
jne 0x4017f9
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, dword [ebp + 0xc]
push eax
call fcn.00402ef0
add esp, 4
push 0x42ea34
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004023c0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x401839
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
push 0x5c
mov eax, dword [ebp - 4]
push eax
call fcn.00402380
add esp, 8
mov byte [eax], 0
mov esp, ebp
pop ebp
ret

Function at 0x401930
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
jmp 0x401948
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x100
jge 0x4019a2
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 0
jmp 0x401969
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 8
jge 0x401993
mov eax, dword [ebp - 4]
and eax, 1
test eax, eax
je 0x401989
mov ecx, dword [ebp - 4]
shr ecx, 1
xor ecx, 0xedb88320
mov dword [ebp - 4], ecx
jmp 0x401991
mov edx, dword [ebp - 4]
shr edx, 1
mov dword [ebp - 4], edx
jmp 0x401960
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [eax*4 + 0x42ecc8], ecx
jmp 0x40193f
mov esp, ebp
pop ebp
ret
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x433000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219