joyce8/EMBER2024-capa huggingface dataset:
Function at 0x54fd80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x110000]
push edi
jmp 0x54fd9a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x54fda1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54fd90
mov eax, 1
add ebx, ebx
jne 0x54fdb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x54fdc4
jne 0x54fde3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54fde3
dec eax
add ebx, ebx
jne 0x54fdd0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x54fda8
add ebx, ebx
jne 0x54fddf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x54fe35
xor ecx, ecx
sub eax, 3
jb 0x54fdfb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x54fe6a
sar eax, 1
mov ebp, eax
jmp 0x54fe06
add ebx, ebx
jne 0x54fe06
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54fdd4
inc ecx
add ebx, ebx
jne 0x54fe14
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54fdd4
add ebx, ebx
jne 0x54fe21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x54fe16
jne 0x54fe32
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x54fe16
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x54fe54
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x54fe46
jmp 0x54fd96
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x54fe54
add edi, ecx
jmp 0x54fd96
pop esi
mov edi, esi
mov ecx, 0x1146
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x54fe72
cmp byte [edi], 0xe
jne 0x54fe72
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 0x54fe77
lea edi, [esi + 0x14c000]
mov eax, dword [edi]
or eax, eax
je 0x54feef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x175288]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x17538c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x54fea4
mov ecx, edi
jns 0x54fed3
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 + 0x175390]
or eax, eax
je 0x54fee9
mov dword [ebx], eax
add ebx, 4
jmp 0x54fec1
call dword [esi + 0x1753a0]
mov ebp, dword [esi + 0x175394]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x54ff23
sub esp, 0xffffff80
jmp 0x42438d
Function at 0x405d9a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42c574], 0
push esi
jne 0x405dd1
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 0x405dab
mov dword [ecx*4 + 0x42c570], eax
inc ecx
cmp ecx, 0x100
jl 0x405da6
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405e02
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 + 0x42c570]
xor eax, esi
inc ecx
dec edx
jne 0x405de4
pop edi
not eax
pop esi
ret 0xc

Function at 0x100010d0
Capabilities:
Delete network filter via wfp api
Enumerate network filters via wfp api

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
push esi
push edi
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push 0
push 0
push 0xa
push 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
call dword [sym.imp.fwpuclnt.dll_FwpmEngineOpen0]
mov ebx, eax
test ebx, ebx
jne 0x10001236
mov dword [esp + 0x1c], eax
lea ecx, [ecx]
mov esi, dword [eax + 0x10002080]
mov eax, dword [0x1000300c]
mov edi, dword [esp + 0xc]
test eax, eax
jne 0x10001153
push str.RtlZeroMemory
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1000300c], eax
test eax, eax
je 0x1000115c
push 0x30
lea ecx, [esp + 0x24]
push ecx
call eax
movdqu xmm0, xmmword [esi]
lea eax, [esp + 0x18]
mov dword [esp + 0x20], 0
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x38], 1
push eax
push edi
movdqu xmmword [esp + 0x30], xmm0
mov dword [esp + 0x44], 2
mov dword [esp + 0x54], 0xffffffff
call dword [sym.imp.fwpuclnt.dll_FwpmFilterCreateEnumHandle0]
mov ebx, eax
test ebx, ebx
jne 0x10001236
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
push 0xffffffffffffffff
push dword [esp + 0x24]
push dword [esp + 0x1c]
call dword [sym.imp.fwpuclnt.dll_FwpmFilterEnum0]
mov ebx, eax
test ebx, ebx
jne 0x10001214
mov edi, dword [esp + 0x10]
test edi, edi
je 0x10001214
mov edx, dword [esp + 0x14]
test edx, edx
je 0x10001214
xor esi, esi
test edx, edx
je 0x10001209
mov eax, dword [edi + esi*4]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x100011e6
cmp dword [ecx], 0
jne 0x10001204
push dword [eax + 0x8c]
push dword [eax + 0x88]
push dword [esp + 0x14]
call dword [sym.imp.fwpuclnt.dll_FwpmFilterDeleteById0]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
inc esi
cmp esi, edx
jb 0x100011d7
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.fwpuclnt.dll_FwpmFreeMemory0]
push dword [esp + 0x18]
push dword [esp + 0x10]
call dword [sym.imp.fwpuclnt.dll_FwpmFilterDestroyEnumHandle0]
mov eax, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x1c], eax
cmp eax, 8
jb 0x10001120
mov eax, dword [esp + 0xc]
test eax, eax
je 0x10001245
push eax
call dword [sym.imp.fwpuclnt.dll_FwpmEngineClose0]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1004805d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x1004806c
pop dword [ebp - 0x38]
mov eax, 0xf70a3f3
sub eax, 0xff6c2387
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x723f909f
sub dword [ebp - 0x48], 0x23ed4b54
mov dword [ebp - 0x44], 0x6902b619
sub dword [ebp - 0x44], 0x36cf69d4
mov dword [ebp - 0x40], 0x77720822
add dword [ebp - 0x40], 0xd4da3c0c
mov dword [ebp - 0x3c], 0x1c7e5236
sub dword [ebp - 0x3c], 0x1c7e5236
lea eax, [ebp - 0x48]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x399672a0
add dword [ebp - 0x48], 0x3adbf6b6
mov dword [ebp - 0x44], 0x6930bab3
sub dword [ebp - 0x44], 0x27c4593e
mov dword [ebp - 0x40], 0x6449e245
sub dword [ebp - 0x40], 0xda75d9
mov dword [ebp - 0x3c], 0x85552d50
add dword [ebp - 0x3c], 0x7aaad2b0
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0x88d69dd5
sub eax, 0x78d09dc1
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x546c1
push 0
call eax
mov ecx, 0xb0346b58
add ecx, 0x4fcbd743
mov edi, eax
mov edx, 0x28e6d0d2
add edx, 0xe721eb2e
add edx, dword [ebp - 0x38]
mov esi, 0xa9da01a5
add esi, 0xaa36bdf
mov dword [ebp - 0x2c], 0x6efe6088
mov ebx, dword [edx]
xor dword [ebp - 0x20], 0xc83c6250
sub ebx, esi
mov dword [ebp - 0x28], 0xc7566bf4
mov dword [edi], ebx
add dword [ebp - 0x2c], esi
add edi, 0x9ab8c616
add edi, 0x654739ee
add edx, 4
loop 0x10048189
add eax, 0x64154760
sub eax, 0x64144a21
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x4ad43e12
sub ecx, 0x3ad43e12
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x90cd70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4af000]
push edi
jmp 0x90cd8a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x90cd91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x90cd80
mov eax, 1
add ebx, ebx
jne 0x90cda3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x90cdb4
jne 0x90cdd3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x90cdd3
dec eax
add ebx, ebx
jne 0x90cdc0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x90cd98
add ebx, ebx
jne 0x90cdcf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x90ce25
xor ecx, ecx
sub eax, 3
jb 0x90cdeb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x90ce5a
sar eax, 1
mov ebp, eax
jmp 0x90cdf6
add ebx, ebx
jne 0x90cdf6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x90cdc4
inc ecx
add ebx, ebx
jne 0x90ce04
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x90cdc4
add ebx, ebx
jne 0x90ce11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x90ce06
jne 0x90ce22
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x90ce06
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x90ce44
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x90ce36
jmp 0x90cd86
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x90ce44
add edi, ecx
jmp 0x90cd86
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x90ce62
cmp byte [edi], 0x11
jne 0x90ce62
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 0x90ce67
lea edi, [esi + 0x505000]
mov eax, dword [edi]
or eax, eax
je 0x90cedf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x934494]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x934610]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x90ce94
mov ecx, edi
jns 0x90cec3
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 + 0x934614]
or eax, eax
je 0x90ced9
mov dword [ebx], eax
add ebx, 4
jmp 0x90ceb1
call dword [esi + 0x934624]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x90cf10
cmp al, 0xef
ja 0x90cf03
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x90cee5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x90cef2
mov ebp, dword [esi + 0x934618]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x90cf44
sub esp, 0xffffff80
jmp 0x420577
Function at 0x4056fe
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call dword [edi - 0x3a]
test dword [ebp + 0x4afffffc], esi
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
invalid
invalid
invalid
cld

Function at 0x4070fb
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40711d
mov ecx, esi
and ecx, 0xfffffffe
push ecx
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4

Function at 0x407347
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x46b414], 0
push esi
jne 0x407381
xor ecx, ecx
push 8
mov edx, ecx
pop esi
mov eax, edx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr edx, 1
and eax, 0xedb88320
xor edx, eax
sub esi, 1
jne 0x407358
mov dword [ecx*4 + 0x46b410], edx
inc ecx
cmp ecx, 0x100
jl 0x407353
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
not ecx
test edx, edx
je 0x4073ab
mov esi, dword [esp + 0xc]
movzx eax, byte [esi]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x46b410]
inc esi
sub edx, 1
jne 0x407393
not ecx
mov eax, ecx
pop esi
ret 0xc
Function at 0x3489871b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x3489872a
pop dword [ebp - 0x40]
mov eax, 0x3489872a
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x56f1daf9
sub dword [ebp - 0x50], 0x89f95ae
mov dword [ebp - 0x4c], 0xec9e593d
sub dword [ebp - 0x4c], 0xba6b0cf8
mov dword [ebp - 0x48], 0xf953767c
sub dword [ebp - 0x48], 0xad07324e
mov dword [ebp - 0x44], 0x61154fcb
sub dword [ebp - 0x44], 0x61154fcb
lea eax, [ebp - 0x50]
push eax
mov eax, 0x44457f45
add eax, 0xf0439213
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xae086fb0
sub dword [ebp - 0x50], 0x3996065a
mov dword [ebp - 0x4c], 0x75bac5f7
add dword [ebp - 0x4c], 0xcbb19b7e
mov dword [ebp - 0x48], 0x69231a5d
add dword [ebp - 0x48], 0xfa4c520f
mov dword [ebp - 0x44], 0x2f8ca854
sub dword [ebp - 0x44], 0x2f8ca854
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x6cc28b51
sub eax, 0x38397991
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3e6f3
push 0
call eax
mov ecx, 0x729005fb
sub ecx, 0x728fc2c8
xor edx, edx
add edx, eax
mov edi, 0x1351e7e1
sub edi, 0xdec537e1
add edi, dword [ebp - 0x40]
mov esi, 0xca8f9fa5
add esi, 0x5b8a1df8
mov ebx, dword [edi]
mov dword [ebp - 0x3c], 0xdca6caa
xor ebx, esi
add dword [ebp - 0x1c], 0x8b6b74d
mov dword [edx], ebx
xor dword [ebp - 8], edi
add edx, 0x72bd5085
add edx, 0x8d42af7f
add edi, 4
loop 0x34898849
add eax, 0x55efcd10
add eax, 0xaa11328f
xor ebx, ebx
add ebx, eax
add eax, 0x5403b04a
sub eax, 0x5403b045
mov ecx, 0x5eb85dd0
add ecx, 0xd5d0a230
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x348bd622
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x34895250]
jne 0x348bdbed
ret
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x348c5630], eax
mov dword [0x348c562c], ecx
mov dword [0x348c5628], edx
mov dword [0x348c5624], ebx
mov dword [0x348c5620], esi
mov dword [0x348c561c], edi
mov word [0x348c5648], ss
mov word [0x348c563c], cs
mov word [0x348c5618], ds
mov word [0x348c5614], es
mov word [0x348c5610], fs
mov word [0x348c560c], gs
pushfd
pop dword [0x348c5640]
mov eax, dword [ebp]
mov dword [0x348c5634], eax
mov eax, dword [ebp + 4]
mov dword [0x348c5638], eax
lea eax, [ebp + 8]
mov dword [0x348c5644], eax
mov eax, dword [ebp - 0x320]
mov dword [0x348c5580], 0x10001
mov eax, dword [0x348c5638]
mov dword [0x348c5534], eax
mov dword [0x348c5528], 0xc0000409
mov dword [0x348c552c], 1
mov eax, dword [0x34895250]
mov dword [ebp - 0x328], eax
mov eax, dword [0x348c1c78]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x348c5578], eax
push 1
call sub.msvcr80.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x34895290
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x348c5578], 0
jne 0x348bdcdd
push 1
call sub.msvcr80.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret

Function at 0x449525
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x449534
pop dword [ebp - 0x10]
mov eax, 0x53ee4aa0
sub eax, 0x53a9b56c
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x2e4b66d8
sub dword [ebp - 0x20], 0xdff9218d
mov dword [ebp - 0x1c], 0xaacfba45
add dword [ebp - 0x1c], 0x87639200
mov dword [ebp - 0x18], 0x48a08a12
sub dword [ebp - 0x18], 0xfc5445e4
mov dword [ebp - 0x14], 0xabce13f5
add dword [ebp - 0x14], 0x5431ec0b
lea eax, [ebp - 0x20]
push eax
mov eax, 0x2e357ff7
add eax, 0xd210306d
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0xb184da54
sub dword [ebp - 0x20], 0x3d1270fe
mov dword [ebp - 0x1c], 0x88c10afc
sub dword [ebp - 0x1c], 0x4754a987
mov dword [ebp - 0x18], 0xa35f6e27
add dword [ebp - 0x18], 0xc00ffe45
mov dword [ebp - 0x14], 0xb8914839
sub dword [ebp - 0x14], 0xb8914839
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0xb9c3581d
sub eax, 0xb97da79d
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x4ef9c
push 0
call eax
mov ecx, 0xfafb9060
add ecx, 0x504be2f
mov edx, eax
mov ebx, 0x59efbf96
sub ebx, 0x59a85f96
add ebx, dword [ebp - 0x10]
mov esi, 0x7184bfed
xor dword [ebp - 0xc], esi
mov edi, dword [ebx]
add edi, esi
sub dword [ebp - 4], 0xc36cd49c
mov dword [edx], edi
sub dword [ebp - 8], eax
add edx, 0x93dda3f1
add edx, 0x6c225c13
add ebx, 4
loop 0x449650
add eax, 0xfda6f9e6
sub eax, 0xfda5ccd7
xor ebx, ebx
add ebx, eax
add eax, 0xc648db57
add eax, 0x39b724ae
mov ecx, 0x246533f3
sub ecx, 0x242533f3
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x100043c0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006534f
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x1009a8a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, esi
and eax, 0xe0000000
cmp eax, 0x20000000
jg 0x1000449c
je 0x10004497
cmp eax, 0x80000000
je 0x10004497
test eax, eax
jne 0x100044a3
lea ecx, [ebp - 0x2c]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::constructor_void_]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Heap::constructor_void_]
mov eax, dword [0x1009bddc]
mov dword [ebp - 0x10], 0xa
mov ecx, dword [eax]
test ecx, ecx
je 0x1000444b
add ecx, 0x28
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Lock::acquire_void_]
mov ecx, dword [edi]
push esi
mov byte [ebp - 4], 1
call fcn.100407b0
push eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.ScCore.dll_public:_class_ScCore::Variant____thiscall_ScCore::Variant::operator_unsigned_short_int_const__]
mov eax, dword [0x1009bddc]
mov byte [ebp - 4], 2
mov ecx, dword [eax]
test ecx, ecx
je 0x1000447c
mov eax, dword [ebp - 0x10]
lea ecx, [ecx + eax*4]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Lock::release_void_]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call dword [sym.imp.ScCore.dll_public:_double___thiscall_ScCore::Variant::getDouble_void_const]
lea ecx, [ebp - 0x2c]
fstp qword [ebp - 0x14]
call dword [sym.imp.ScCore.dll_public:_void___thiscall_ScCore::Variant::destructor_void_]
jmp 0x100044bf
xorps xmm0, xmm0
jmp 0x100044ba
cmp eax, 0x40000000
je 0x100044af
and esi, 0x1fffffff
movd xmm0, esi
jmp 0x100044b6
movzx eax, si
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [ebp - 0x14], xmm0
fld qword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x100407b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x100407bf
pop dword [ebp - 8]
mov eax, 0xa470f65d
sub eax, 0x946cee9e
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0xf5246477
add dword [ebp - 0x18], 0x592de0d4
mov dword [ebp - 0x14], 0x3551e065
sub dword [ebp - 0x14], 0x31e9420
mov dword [ebp - 0x10], 0xa86a6cff
add dword [ebp - 0x10], 0xa3e1d72f
mov dword [ebp - 0xc], 0xf889727b
sub dword [ebp - 0xc], 0xf889727b
lea eax, [ebp - 0x18]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0xed6adeec
add dword [ebp - 0x18], 0x87078a6a
mov dword [ebp - 0x14], 0xbb8d4ff4
add dword [ebp - 0x14], 0x85df1181
mov dword [ebp - 0x10], 0x51f02268
sub dword [ebp - 0x10], 0xee80b5fc
mov dword [ebp - 0xc], 0xffa08aa2
sub dword [ebp - 0xc], 0xffa08aa2
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0x449b5902
add eax, 0xcb6bb706
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x4c7c0
push 0
call eax
mov ecx, 0x379a513d
sub ecx, 0x3799f14f
xor edx, edx
add edx, eax
mov esi, 0x100ac600
add esi, dword [ebp - 8]
mov ebx, 0xa2e48802
add ebx, 0x8ac0f65a
sub dword [ebp - 4], 0x3c11bcf2
mov edi, dword [esi]
add dword [ebp - 4], eax
xor edi, ebx
add dword [ebp - 4], ebx
mov dword [edx], edi
xor dword [ebp - 4], edi
add edx, 0x5324a3e3
sub edx, 0x5324a3df
add esi, 0x866ca6d1
sub esi, 0x866ca6cd
loop 0x100408d8
add eax, 0x1728b
mov ebx, eax
add eax, 0x1f5b03d9
sub eax, 0x1f5b03d4
mov ecx, 0x13e38516
sub ecx, 0x3e38516
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x40354c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004057e8
test esi, esi
jne 0x403582
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004058d8
jmp 0x4035a0
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004033f0
mov edi, eax
test esi, esi
je 0x4035a0
cmp dword [ebx], 0
je 0x4035a0
dec esi
jmp 0x403589
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4035b0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x568008], 0x8088405
inc edx
mov dword [ebx + 0x568008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x4035cc
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x568008], 0x8088405
inc edx
mov dword [ebx + 0x568008], edx
fld qword [ebx + 0x568760]
push 0
push edx
fild qword [esp]
add esp, 8
fmulp st(1)
pop ebx
ret

Function at 0x4046a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x568024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x404738
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x404718
xor eax, eax
push ebp
push 0x404711
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x404754
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404718
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x568024]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x568024], ax
mov esp, ebp
pop ebp
ret

Function at 0x405594
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x57104c], 0
je 0x4055f5
cmp word [0x571220], 0xd7b2
jne 0x4055bd
cmp dword [0x571228], 0
jbe 0x4055bd
mov eax, 0x57121c
call dword [0x571238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40561c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x568030], 0
jne 0x405611
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x40576c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x568038], 0
je 0x405792
mov edx, esi
mov eax, ebx
call dword [0x568038]
jmp 0x4057a1
mov eax, 8
call fcn.004030c8
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x57104d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x405734
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc