joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003e720
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], 0
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x100a4dbc], eax
je 0x1003e744
mov eax, 0x10dd
jmp 0x1003e8ec
cmp dword [0x100a4dc0], 0
je 0x1003e757
mov eax, dword [0x100a4dc0]
jmp 0x1003e8ec
cmp dword [ebp + 0xc], 0
jne 0x1003e767
mov eax, 0x57
jmp 0x1003e8ec
cmp dword [ebp + 8], 0
jne 0x1003e777
mov eax, 6
jmp 0x1003e8ec
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x1003e7a0
mov dword [ebp - 8], 6
mov ecx, dword [ebp - 8]
mov dword [0x100a4dc0], ecx
mov edx, dword [ebp + 8]
mov dword [0x100a4dc4], edx
mov eax, dword [ebp - 8]
jmp 0x1003e8ec
push 0x18
call fcn.1003fdd6
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1003e7fb
mov dword [ebp - 8], 8
mov ecx, dword [ebp - 8]
mov dword [0x100a4dc0], ecx
cmp dword [ebp - 4], 0
je 0x1003e7ea
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
push 0x18
mov eax, dword [ebp - 0x20]
push eax
call fcn.10040488
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov dword [0x100a4dc4], ecx
mov eax, dword [ebp - 8]
jmp 0x1003e8ec
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.1003e700
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1003e700
mov dword [ebp + 0xc], eax
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x36]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x40]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0xc], 0
je 0x1003e83b
cmp dword [ebp - 0xc], 0x1e
jbe 0x1003e857
mov dword [ebp - 8], 9
cmp dword [0x100a4db4], 0
je 0x1003e852
jmp 0x1003e7c9
jmp 0x1003e7c0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [ebp + 0xc]
je 0x1003e87e
mov dword [ebp - 8], 9
cmp dword [0x100a4db4], 0
je 0x1003e879
jmp 0x1003e7c9
jmp 0x1003e7c0
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1003e8a9
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x1003e7c0
mov edx, dword [ebp - 4]
mov dword [edx + 4], 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 4]
mov eax, dword [0x100a4dcc]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x100a4dcc], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x1003e900
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x100a4dbc], eax
je 0x1003e91d
mov eax, 0x10dd
jmp 0x1003ea00
mov eax, dword [0x100a4dcc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1003e99c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call sub.KERNEL32.dll_VirtualProtect
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x1003e978
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x1003e978
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.1003d7a0
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
push 0x18
mov edx, dword [ebp - 0xc]
push edx
call fcn.10040488
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x1003e925
mov dword [0x100a4dcc], 0
call fcn.1003e080
mov ecx, dword [0x100a4dc8]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x1003e9ea
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call sub.KERNEL32.dll_ResumeThread
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
push 8
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.10040488
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x1003e9b4
mov dword [0x100a4dc8], 0
mov dword [0x100a4dbc], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1003eee0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x100a4dc0], 0
je 0x1003eef9
mov eax, dword [0x100a4dc0]
jmp 0x1003ef98
call sub.KERNEL32.dll_GetCurrentThread
cmp dword [ebp + 8], eax
jne 0x1003ef0a
xor eax, eax
jmp 0x1003ef98
push 8
call fcn.1003fdd6
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1003ef62
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x1003ef4b
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
push 8
mov edx, dword [ebp - 0x10]
push edx
call fcn.10040488
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x100a4dc0], eax
mov dword [0x100a4dc4], 0
mov eax, dword [ebp - 8]
jmp 0x1003ef98
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x1003ef7a
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x1003ef2a
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x100a4dc8]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x100a4dc8], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x1004fba1
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1004fa20

Function at 0x10057679
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10057339
Function at 0x10061cdb
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
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 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x48c004]
jne 0x401010
repz ret
jmp fcn.004017c6
Function at 0x408167
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004033ee
and dword [ebp - 4], 0
cmp dword [0x4907ac], 0
mov ebx, eax
jne 0x408218
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4082c9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4082c9
push eax
call fcn.0040337c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4907ac], eax
call esi
push eax
call fcn.0040337c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4907b0], eax
call esi
push eax
call fcn.0040337c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4907b4], eax
call esi
push eax
call fcn.0040337c
pop ecx
mov dword [0x4907bc], eax
test eax, eax
je 0x408218
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040337c
pop ecx
mov dword [0x4907b8], eax
mov eax, dword [0x4907b8]
cmp eax, ebx
je 0x408270
cmp dword [0x4907bc], ebx
je 0x408270
push eax
call fcn.004033f7
push dword [0x4907bc]
mov esi, eax
call fcn.004033f7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408270
test edi, edi
je 0x408270
call esi
test eax, eax
je 0x408267
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408267
test byte [ebp - 0xc], 1
jne 0x408270
or dword [ebp + 0x10], 0x200000
jmp 0x4082a9
mov eax, dword [0x4907b0]
cmp eax, ebx
je 0x4082a9
push eax
call fcn.004033f7
pop ecx
test eax, eax
je 0x4082a9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4082a9
mov eax, dword [0x4907b4]
cmp eax, ebx
je 0x4082a9
push eax
call fcn.004033f7
pop ecx
test eax, eax
je 0x4082a9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4907ac]
call fcn.004033f7
pop ecx
test eax, eax
je 0x4082c9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4082cb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x484d50
Capabilities:
Get hostname

Disassembly:
sub esp, 0x414
mov eax, dword [0x48c004]
xor eax, esp
mov dword [esp + 0x410], eax
cmp edi, 0x182
jne 0x484d86
push 0
push 0
push 0
push str.rijetinibahelohahuluru
push str.mifehiduwacirutadalorimadiwim
push 0
call dword [sym.imp.KERNEL32.dll_UpdateResourceA]
jmp 0x484db0
cmp edi, 0x19f
jne 0x484db0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaNodeProcessorMask]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push 0
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
push esi
xor esi, esi
test edi, edi
jle 0x484e32
jmp 0x484dc0
lea ecx, [esp + 0xc]
mov dword [esp + 4], 5
mov dword [esp + 0xc], 0
call fcn.00484d40
mov eax, dword [esp + 0xc]
add eax, 0x46
mov dword [esp + 4], eax
sub dword [esp + 4], 0x46
movsx eax, byte [ebx + esi]
mov dword [esp + 8], eax
mov eax, dword [esp + 4]
xor dword [esp + 8], eax
mov cl, byte [esp + 8]
mov byte [ebx + esi], cl
cmp edi, 0xf
jne 0x484e2d
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaNodeProcessorMask]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
inc esi
cmp esi, edi
jl 0x484dc0
pop esi
cmp edi, 0x2d
jne 0x484e4c
mov dword [0x2b8e9c8], 0xa62e7790
mov dword [0x2b8e9cc], 0xffffffff
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.00401006
add esp, 0x414
ret
Function at 0xd06058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00d061a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xd0607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd0606a
add dl, dl
jne 0xd06089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd060dc
xor eax, eax
add dl, dl
jne 0xd06096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd0617d
add dl, dl
jne 0xd060a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd060b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd060bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd060c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xd060d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xd06075
mov eax, 1
add dl, dl
jne 0xd060ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd060f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd060e1
sub eax, ebx
mov ebx, 1
jne 0xd06128
mov ecx, 1
add dl, dl
jne 0xd0610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xd06119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd06105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd06075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xd0613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xd0614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd06136
cmp eax, 0x7d00
jae 0xd0616d
cmp eax, 0x500
jb 0xd06168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd06075
cmp eax, 0x7f
ja 0xd06170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd06075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xd0619e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xd06075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4026d0
Capabilities:
Delete file

Disassembly:
push ebp
mov eax, 0x2010
mov ebp, esp
push esi
push ebx
call fcn.005e3260
sub esp, eax
cmp byte [0x843041], 0
jne 0x402783
cmp byte [0x845042], 0
jne 0x402700
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
call fcn.00402250
mov dword [esp + 4], 0x72e3d6
mov dword [esp], 0x843042
lea ebx, [ebp - 0x2008]
call dword [sym.imp.msvcrt.dll__wfopen]
test eax, eax
mov esi, eax
jne 0x402748
jmp 0x402850
mov dword [esp + 4], 0x845044
mov dword [esp], ebx
call sub.msvcrt.dll_wcsstr
test eax, eax
jne 0x402840
mov dword [esp + 8], esi
mov dword [esp + 4], 0x1000
mov dword [esp], ebx
call sub.msvcrt.dll_fgetws
test eax, eax
jne 0x402730
mov dword [esp], esi
call sub.msvcrt.dll_fclose
or dword [0x8671a0], 0x210
mov dword [0x8671a4], 2
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
call fcn.00402250
lea eax, [ebp - 0x1ff6]
lea ecx, [ebp - 0x2008]
mov dword [esp], 0x843042
mov dword [ebp - 0x2004], 0
mov dword [ebp - 0x1ffc], pe_nt_image_headers32
mov dword [ebp - 0x2000], eax
xor eax, eax
mov byte [ebp - 0x1ff8], 0
mov dword [ebp - method.Pg.virtual_0], vtable.Pg.0
mov word [ebp - 0x1ff6], ax
call fcn.00403e10
mov eax, dword [ebp - 0x2000]
sub esp, 4
mov ecx, 0x869458
mov dword [esp], eax
call sub.SHLWAPI.dll_PathRemoveFileSpecW
mov eax, dword [ebp - 0x2000]
sub esp, 4
mov ecx, 0x869458
mov dword [esp], eax
call fcn.00442210
sub esp, 4
mov ecx, 0x869458
mov dword [esp], 0x843042
call sub.KERNEL32.dll_DeleteFileW
mov eax, dword [ebp - 0x2004]
sub esp, 4
mov dword [ebp - method.nInst.virtual_0], vtable.nInst.0
test eax, eax
je 0x4026f7
mov dword [esp], eax
call fcn.006febd0
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
mov dword [0x869440], 1
jmp 0x402760
mov dword [esp + 8], 0x843042
mov dword [esp + 4], 0x72e3dc
mov dword [esp], 0x849160
call fcn.0041f010
jmp 0x402768

Function at 0x403810
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
mov edx, dword [esp + 8]
test ebx, ebx
je 0x403840
add ebx, edx
mov eax, 0x1505
mov ecx, eax
add edx, 1
shl ecx, 5
add eax, ecx
movsx ecx, byte [edx - 1]
xor eax, ecx
cmp edx, ebx
jne 0x403824
pop ebx
ret
mov eax, 0x1505
pop ebx
ret
Function at 0x404280
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub esp, 0xc
call fcn.0046f7e0
call fcn.0046f880
call fcn.0046f830
call fcn.0046fb10
call fcn.0046fb80
call fcn.0046fc20
call fcn.0046fbd0
add esp, 0xc
jmp 0x45e6b0
push ebx
xor edx, edx
sub esp, 8
lea esi, [esi]
lea edi, [edi]
mov eax, edx
mov ecx, edx
and eax, 1
shr ecx, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and eax, 1
neg eax
shr ecx, 1
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and eax, 1
neg eax
shr ecx, 1
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and eax, 1
neg eax
shr ecx, 1
and eax, 0xedb88320
xor ecx, eax
mov eax, ecx
and ecx, 1
neg ecx
shr eax, 1
and ecx, 0xedb88320
xor eax, ecx
mov ecx, eax
and eax, 1
neg eax
shr ecx, 1
and eax, 0xedb88320
xor ecx, eax
mov eax, ecx
and ecx, 1
shr eax, 1
neg ecx
and ecx, 0xedb88320
xor eax, ecx
mov ecx, eax
and eax, 1
neg eax
shr ecx, 1
and eax, 0xedb88320
xor eax, ecx
mov dword [edx*4 + 0x86d080], eax
add edx, 1
cmp edx, 0x100
jne 0x45e6c0
mov edx, 0x86d080
mov ebx, 0x86ec80
mov eax, dword [edx]
add edx, 4
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x86d080]
mov dword [edx + 0x3fc], eax
cmp ebx, edx
jne 0x45e764
mov dword [0x86d060], 0x45e7c0
mov dword [0x86f080], 0x45e7c0
mov dword [0x86f084], 0x45e890
call fcn.004612d0
test eax, eax
jne 0x45e7b1
mov dword [0x86f080], 0x45e890
add esp, 8
pop ebx
ret
Function at 0x406800
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x14c
mov eax, dword [ebp + 8]
test eax, eax
je 0x406819
cmp word [eax], 0
jne 0x406823
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov ebx, ecx
lea edx, [ebp - 0x12c]
lea ecx, [ebp - 0x11a]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x8591a0
mov dword [ebp - 0x124], ecx
mov dword [esp + 4], str._s_themes_s
xor ecx, ecx
mov dword [esp], edx
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x120], pe_nt_image_headers32
mov byte [ebp - 0x11c], 0
mov dword [ebp - method.Pg.virtual_0], vtable.Pg.0
mov word [ebp - 0x11a], cx
call fcn.00403a60
mov eax, dword [ebp - 0x124]
mov dword [esp + 4], 0x72eab6
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__wfopen]
test eax, eax
mov esi, eax
je 0x406974
mov dword [esp + 0xc], 2
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp], eax
call fcn.005e9f50
mov dword [esp], esi
call fcn.005e9c30
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0
mov edi, eax
mov dword [esp + 8], 0
mov dword [esp], esi
call fcn.005e9f50
mov dword [esp], edi
mov dword [ebp - 0x13c], edi
call fcn.006fec20
mov edi, eax
mov eax, dword [ebp - 0x13c]
mov dword [esp + 0xc], esi
mov dword [esp + 4], 1
mov dword [esp], edi
mov dword [esp + 8], eax
call sub.msvcrt.dll_fread
test eax, eax
mov dword [ebp - 0x13c], eax
jne 0x406994
mov eax, dword [ebp - 0x124]
mov dword [esp + 4], str.ERROR_in_image_loadFile__:_cannnot_read_from_file__S_n
mov dword [esp], 0x849160
mov dword [esp + 8], eax
call fcn.0041f010
mov dword [esp], edi
call fcn.006febd0
mov eax, dword [ebp - 0x128]
mov dword [ebp - method.nInst.virtual_0], vtable.nInst.0
test eax, eax
je 0x406819
mov dword [esp], eax
call fcn.006febd0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov eax, dword [ebp - 0x124]
mov dword [esp + 4], str.ERROR_in_image_loadFile__:_file__S_not_found_n
mov dword [esp], 0x849160
mov dword [esp + 8], eax
call fcn.0041f010
jmp 0x40694a
mov dword [esp], esi
call sub.msvcrt.dll_fclose
mov eax, dword [ebp - 0x13c]
mov dword [esp], edi
mov ecx, ebx
mov dword [esp + 4], eax
call fcn.004065b0
sub esp, 8
jmp 0x406942
Function at 0x408520
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, ecx
sub esp, 0x18
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp dword [0x867218], eax
je 0x408540
add esp, 0x18
pop ebx
ret
mov eax, dword [0x867238]
mov byte [ebx + 0x10], 0
test eax, eax
jne 0x408534
mov eax, dword [ebx + 0x18]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebx + 4]
sub esp, 0xc
mov edx, 4
test eax, eax
cmovne eax, edx
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_ShowWindow]
sub esp, 8
add esp, 0x18
pop ebx
ret

Function at 0x4085a0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x1c
mov eax, dword [ecx + 0x18]
mov byte [ecx + 0x10], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.USER32.dll_ShowWindow]
sub esp, 8
add esp, 0x1c
ret

Function at 0x409330
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x6c]
lea edi, [esp + 0x3c]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x3c], 0
mov dword [ebp], 0
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], eax
call esi
sub esp, 0x18
cmp eax, 2
je 0x4093e3
test eax, eax
mov dword [esp + 0x2c], eax
jne 0x4093f0
mov eax, dword [esp + 0x64]
lea ecx, [eax + 0x80c]
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.00403230
sub esp, 4
mov dword [ebp], eax
mov edx, dword [esp + 0x64]
mov dword [esp + 0x14], edi
add eax, dword [edx + 0x828]
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp + 0x10], eax
lea eax, [esp + 0x38]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call esi
sub esp, 0x18
test eax, eax
jne 0x409430
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Key__S_n
mov dword [esp], 0x849160
call fcn.0041f010
mov dword [esp + 4], str.RegQueryValueEx__
mov eax, dword [esp + 0x2c]
mov ecx, 0x849160
mov dword [esp], eax
call fcn.0041f8f0
sub esp, 8
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Key__S_n
mov dword [esp], 0x849160
mov dword [esp + 0x2c], eax
call fcn.0041f010
mov dword [esp + 4], str.read_reg_val__
jmp 0x409410