joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1059c5b0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x40
push ebx
mov bx, word [esp + 0x48]
push esi
mov esi, dword [esp + 0x50]
cmp bx, 4
mov word [esi], 0
jbe 0x1059c5d3
pop esi
xor al, al
pop ebx
add esp, 0x40
ret 8
lea eax, [esp + 0x28]
push 0x10
push eax
call fcn.1059c1a0
lea ecx, [esp + 0x38]
push 0x10
push ecx
call fcn.1059c1f0
lea edx, [esp + 0x18]
push 0x10
push edx
call fcn.1059c290
lea eax, [esp + 0x18]
add bl, 0x31
push eax
call fcn.1057a600
and eax, 0xffff
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0xc]
mov byte [esp + eax + 0x1c], bl
push 0x10
push edx
lea eax, [esp + 0x24]
push 0x1056db54
lea ecx, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x1059c67e
lea edx, [esp + 8]
push 0x2c
push edx
call fcn.1059c480
test ax, ax
je 0x1059c67e
and eax, 0xffff
mov cl, byte [esp + eax + 9]
and cl, 0xdf
cmp cl, 0x54
jne 0x1059c67e
cmp byte [esp + eax + 0xa], 0x3a
jne 0x1059c67e
lea edx, [esp + eax + 0xb]
push esi
push edx
call fcn.1057a670
test al, al
je 0x1059c679
mov ax, word [esi]
cmp ax, 1
jl 0x1059c679
cmp ax, 7
jle 0x1059c67e
mov word [esi], 0
xor eax, eax
cmp word [esi], ax
pop esi
pop ebx
setne al
add esp, 0x40
ret 8

Function at 0x1059c690
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x50
lea eax, [esp]
push esi
push 0x10
push eax
call fcn.1059c1a0
lea ecx, [esp + 0x24]
push 0x10
push ecx
call fcn.1059c1f0
lea edx, [esp + 0x14]
push 0x10
push edx
call fcn.1059c350
lea eax, [esp + 0x44]
push 0x10
push eax
call fcn.1059c310
lea ecx, [esp + 4]
lea edx, [esp + 0x34]
push ecx
push 0x10
push edx
lea eax, [esp + 0x20]
push 0x1056db54
lea ecx, [esp + 0x34]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, eax
test esi, esi
je 0x1059c700
lea edx, [esp + 0x34]
lea eax, [esp + 0x44]
push edx
push eax
call fcn.1057a4b0
mov ecx, dword [esp + 0x5c]
mov byte [ecx], al
xor eax, eax
test esi, esi
setne al
pop esi
add esp, 0x50
ret 8

Function at 0x1059c710
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x30
lea eax, [esp]
push 0x10
push eax
call fcn.1059c1a0
lea ecx, [esp + 0x20]
push 0x10
push ecx
call fcn.1059c1f0
lea edx, [esp + 0x10]
push 0x10
push edx
call fcn.1059c2d0
lea eax, [esp]
lea ecx, [esp + 0x10]
push eax
push 0
lea edx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
xor edx, edx
mov ecx, dword [esp + 0x34]
test eax, eax
setne dl
mov word [ecx], ax
mov al, dl
add esp, 0x30
ret 4
Function at 0x1059c770
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x70
lea eax, [esp]
push esi
mov esi, dword [esp + 0x78]
push 0x10
push 0
push eax
mov word [esi], 0
call fcn.1057a620
lea ecx, [esp + 0x14]
push 0x10
push ecx
call fcn.1059c1a0
lea edx, [esp + 0x34]
push 0x10
push edx
call fcn.1059c1f0
lea eax, [esp + 0x24]
push 0x10
push eax
call fcn.1059c240
lea ecx, [esp + 0x44]
push 0x10
push ecx
call fcn.1059c3a0
lea edx, [esp + 0x54]
push 0x10
push edx
call fcn.1059c430
lea eax, [esp + 0x64]
push 0x10
push eax
call fcn.1059c3f0
lea ecx, [esp + 0x14]
lea edx, [esp + 4]
push ecx
push 0x10
push edx
lea eax, [esp + 0x30]
push 0x1056db54
lea ecx, [esp + 0x44]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x1059c85e
lea edx, [esp + 0x44]
lea eax, [esp + 4]
push edx
push eax
call fcn.1057a4b0
test al, al
je 0x1059c81f
xor eax, eax
mov word [esi], 2
cmp word [esi], ax
pop esi
setne al
add esp, 0x70
ret 4
lea ecx, [esp + 0x54]
lea edx, [esp + 4]
push esp
and al, 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 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x41cf00
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cf31
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf19
add dl, dl
jne 0x41cf3c
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf8d
xor eax, eax
add dl, dl
jne 0x41cf49
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d02a
add dl, dl
jne 0x41cf58
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf63
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf6e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf79
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cf83
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cf28
mov eax, 1
add dl, dl
jne 0x41cf9b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfa6
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cf92
sub eax, ebx
mov ebx, 1
jne 0x41cfd9
mov ecx, 1
add dl, dl
jne 0x41cfbf
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cfca
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cfb6
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf28
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41cff0
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cffb
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cfe7
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf28
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41d04b
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 0x41cf28
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41f04c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x164753a
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
mov esi, ebx
xor ecx, ecx
cmp byte [eax + 0x6a], 0
je 0x41f09b
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x88]
test edx, edx
je 0x41f0ba
mov ecx, edx
add ecx, ebx
jmp 0x41f0ba
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41f0ba
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x41f12c
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x20]
add edi, ebx
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x41f115
test esi, esi
jbe 0x41f12c
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088ec
test eax, eax
jne 0x41f107
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41f12c
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41f0e4
jmp 0x41f12c
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x41f12c
mov eax, edx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1647541
ret
Function at 0x420284
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x164889f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x4202bf
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4202d8
lea eax, [ebp - 0x10]
mov edx, dword [0x1665348]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x4202eb
lea eax, [ebp - 0x10]
mov edx, dword [0x1665348]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x4202f7
adc edx, 0
mov edx, dword [edx*4 + 0x1664178]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x420471
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420464
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x420464
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ddc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420464
mov eax, edi
cmp dword [eax], 0x4550
jne 0x420464
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x420402
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x420402
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420402
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420402
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x420464
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x420464
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x420464
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420464
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420464
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x420489
inc ebx
cmp ebx, 0x19
jne 0x4202b1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x16488a6
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x40b7e0
Capabilities:
Create thread
Resume thread

Disassembly:
cmp dword [0x445b18], 0
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
jne 0x40b7f6
xor eax, eax
pop edi
pop esi
pop ebx
ret
push 0xffffffffffffffff
mov eax, dword [0x45c024]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x45c014], 0
je 0x40b822
mov eax, dword [0x45c024]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, 1
pop edi
pop esi
pop ebx
ret
mov edx, edi
mov ecx, esi
mov dword [0x45c020], 0
mov dword [0x45c01c], 0
call fcn.0040ba70
mov esi, eax
test esi, esi
jne 0x40b85c
mov eax, dword [0x45c024]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
cmp esi, 1
sbb eax, eax
pop esi
neg eax
pop ebx
ret
push 0x445b20
push 4
push 0
push 0x40c5a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x445b1c], eax
test eax, eax
jne 0x40b88f
mov eax, dword [0x45c024]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor eax, eax
pop edi
pop esi
pop ebx
ret
push eax
mov dword [0x445b1c], eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [0x45c014], 1
mov ecx, dword [0x45c024]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, 1
pop edi
pop esi
pop ebx
ret

Function at 0x40be60
Capabilities:
Create thread
Resume thread

Disassembly:
cmp dword [0x445b18], 0
push esi
push edi
jne 0x40be70
xor eax, eax
pop edi
pop esi
ret
push 0xffffffffffffffff
mov eax, dword [0x45c024]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x45c00c], 0
jne 0x40be98
mov eax, dword [0x45c024]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor eax, eax
pop edi
pop esi
ret
xor esi, esi
mov dword [0x445b08], esi
mov dword [0x45c01c], esi
cmp dword [0x445b10], esi
jne 0x40bf97
push 0x445b20
push 4
push esi
push 0x40c5a0
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x445b1c], eax
cmp eax, esi
jne 0x40bee6
mov eax, dword [0x45c024]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
call fcn.0040b8c0
xor eax, eax
pop edi
pop esi
ret
mov eax, dword [0x445b1c]
xor esi, esi
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x50000
mov eax, dword [0x45c02c]
push esi
mov ecx, dword [0x43caf0]
push eax
push ecx
push 0xffffffffffffffff
push 0x45c010
call dword [sym.imp.WINMM.dll_waveOutOpen]
xor edx, edx
movzx eax, si
inc si
lea ecx, [eax + eax*2]
cmp si, 2
mov eax, dword [ecx*4 + 0x43caf8]
lea edi, [ecx*4]
mov ecx, dword [ecx*4 + 0x43caf4]
mov dword [ecx], eax
mov eax, dword [0x445b14]
mov ecx, dword [edi + 0x43caf4]
mov dword [ecx + 4], eax
mov ecx, dword [edi + 0x43caf4]
mov dword [ecx + 0x10], edx
jb 0x40bf16
xor edi, edi
mov esi, dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
mov word [0x445b24], di
movzx eax, di
lea ecx, [eax + eax*2]
mov eax, dword [0x45c010]
inc di
push 0x20
mov edx, dword [ecx*4 + 0x43caf4]
push edx
push eax
call esi
cmp di, 2
jb 0x40bf61
mov eax, dword [0x45c02c]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [0x445b10], 1
mov eax, dword [0x45c024]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, 1
pop edi
pop esi
ret
Function at 0x40d640
Capabilities:
Encode data using xor

Disassembly:
push ebx
test edx, edx
push esi
push edi
push ebp
jle 0x40d689
test ecx, ecx
je 0x40d689
mov eax, dword [esp + 0x14]
test edx, edx
mov esi, dword [eax]
mov edi, dword [eax + 4]
jle 0x40d684
xor ebx, ebx
inc ecx
mov ebp, esi
mov bl, byte [ecx - 1]
shr ebp, 0x18
shl esi, 8
or esi, ebx
xor esi, dword [ebp*4 + 0x445b38]
mov ebp, edi
shr ebp, 0x18
shl edi, 8
or edi, ebx
xor edi, dword [ebp*4 + 0x445f38]
dec edx
jne 0x40d659
mov dword [eax], esi
mov dword [eax + 4], edi
pop ebp
pop edi
pop esi
pop ebx
ret 4
Function at 0x416ab0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x416c15
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov dword [ebp - 0x10], ecx
mov esi, ecx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
cmp dword [ebp + 8], ecx
je 0x416b1e
mov dword [esi + 4], 0x433a40
mov dword [esi + 0x84], 0x433a38
mov dword [esi + 0x78], vtable.Obj.0
mov dword [esi + 0x80], vtable.GObj.0
mov eax, dword [0x433a3c]
mov dword [ebp - 4], ecx
or dword [ebp - 0x14], 1
mov dword [eax + esi + 0x84], vtable.GObj.1.0
mov dword [esi + 0x88], 2
mov eax, dword [esi + 4]
mov dword [esi], vtable.TSprite.2.0
mov ecx, dword [eax + 4]
mov dword [ecx + esi + 4], vtable.TSprite.1.0
mov eax, dword [esi + 4]
mov edx, dword [eax + 8]
mov dword [edx + esi + 4], vtable.TSprite.0
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x30]
mov dword [esi + eax], ecx
mov edx, dword [esi + 4]
mov eax, dword [edx + 8]
lea ecx, [eax - 0x38]
mov dword [esi + eax], ecx
xor ecx, ecx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x24], ecx
mov dword [esi + 0x20], ecx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x10], ecx
mov eax, dword [esi + 4]
mov dword [esi], vtable.TSprites.2.0
mov dword [ebp - 4], 1
mov edx, dword [eax + 4]
mov dword [edx + esi + 4], vtable.TSprites.1.0
mov eax, dword [esi + 4]
mov edx, dword [eax + 8]
mov dword [edx + esi + 4], vtable.TSprites.0
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
lea edx, [eax - 0x74]
mov dword [esi + eax], edx
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
lea edx, [eax - 0x7c]
mov dword [esi + eax], edx
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], ecx
mov dword [esi + 0x38], ecx
mov dword [esi + 0x44], ecx
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x54], ecx
mov eax, esi
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x6c], ecx
mov dword [esi + 0x70], ecx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x41d9a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edx, 0x45ac98
push ebp
mov edi, ecx
push 0
mov esi, 4
mov byte [edi + 5], 4
mov ebx, 2
call fcn.0041db70
mov dword [0x45abd8], 0
call fcn.0041de10
mov cl, byte [edi + 5]
call fcn.0041ddb0
push 0
mov edx, 0x45ac98
mov ecx, edi
mov byte [edi + 5], al
call fcn.0041db70
mov ebp, dword [0x45abd8]
lea eax, [ebp + 1]
cdq
xor eax, edx
sub eax, edx
and eax, 1
xor eax, edx
sub eax, edx
mov dword [0x45abd8], eax
call fcn.0041de10
mov eax, dword [ebp*8 + 0x45abe4]
lea ecx, [ebp*8]
mov ebp, dword [0x45abd8]
sub eax, dword [ebp*8 + 0x45abe4]
lea edx, [ebp*8]
sub eax, dword [ebp*8 + 0x45abe0]
add eax, dword [ecx + 0x45abe0]
cdq
sub eax, edx
mov edx, dword [0x45acc8]
sar eax, 1
mov byte [edx], al
mov eax, dword [ecx + 0x45abf4]
mov ebp, dword [0x45abd8]
sub eax, dword [ebp*8 + 0x45abf4]
lea edx, [ebp*8]
sub eax, dword [ebp*8 + 0x45abf0]
add eax, dword [ecx + 0x45abf0]
mov ecx, dword [0x45acc8]
cdq
sub eax, edx
sar eax, 1
mov byte [ecx + 1], al
add dword [0x45acc8], ebx
dec esi
jne 0x41d9cf
push 0
mov edx, 0x45ac98
mov ecx, edi
mov esi, 4
mov byte [edi + 5], 0xfc
mov ebx, 2
call fcn.0041db70
mov dword [0x45abd8], 0
call fcn.0041de10
mov cl, byte [edi + 5]
call fcn.0041ddb0
push 0
mov edx, 0x45ac98
mov ecx, edi
mov byte [edi + 5], al
call fcn.0041db70
mov ebp, dword [0x45abd8]
lea eax, [ebp + 1]
cdq
xor eax, edx
sub eax, edx
and eax, 1
xor eax, edx
sub eax, edx
mov dword [0x45abd8], eax
call fcn.0041de10
mov eax, dword [ebp*8 + 0x45abe4]
lea ecx, [ebp*8]
mov ebp, dword [0x45abd8]
sub eax, dword [ebp*8 + 0x45abe4]
lea edx, [ebp*8]
sub eax, dword [ebp*8 + 0x45abe0]
add eax, dword [ecx + 0x45abe0]
cdq
sub eax, edx
mov edx, dword [0x45acc8]
sar eax, 1
mov byte [edx], al
mov eax, dword [ecx + 0x45abf4]
mov ebp, dword [0x45abd8]
sub eax, dword [ebp*8 + 0x45abf4]
lea edx, [ebp*8]
sub eax, dword [ebp*8 + 0x45abf0]
add eax, dword [ecx + 0x45abf0]
mov ecx, dword [0x45acc8]
cdq
sub eax, edx
sar eax, 1
mov byte [ecx + 1], al
add dword [0x45acc8], ebx
dec esi
jne 0x41dab2
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x41ea50
Capabilities:
Create thread

Disassembly:
mov dword [0x446af0], 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0x45ac28
mov dword [0x45ac04], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x45ab10
push 0
push 0
push 0x41eac0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [0x45ac04], 0
mov dword [0x45aaf8], eax
je 0x41eab2
test eax, eax
je 0x41eab2
mov dword [0x446af4], 1
mov eax, 1
ret
xor eax, eax
ret
Function at 0x421ad0
Capabilities:
Terminate thread

Disassembly:
push esi
xor esi, esi
cmp dword [0x446af4], esi
je 0x421b21
push 0x45ac28
mov dword [0x446af0], esi
mov dword [0x446af4], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
mov eax, dword [0x45aaf8]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0x45ac28
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x45ac04]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [0x45aaf8]
push ecx
call esi
pop esi
ret

Function at 0x424a20
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
lea ecx, [esp]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREZESt_Corp.XTET
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x424a81
call fcn.00424a90
push 0x16c
mov dword [0x45af18], eax
mov eax, dword [esp + 4]
push 0x45adb0
push 3
push 0
push str.scores
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 8
ret

Function at 0x424b20
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
call fcn.00424ba0
lea eax, [esp]
push eax
push 0xf003f
push 0
push str.SOFTWAREZESt_Corp.XTET
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x424b99
lea eax, [esp + 4]
lea ecx, [esp + 8]
mov edx, dword [esp]
push eax
mov dword [esp + 8], 0x16c
push 0x45adb0
push ecx
push 0
push str.scores
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x424b89
cmp dword [esp + 8], 3
jne 0x424b89
call fcn.00424a90
cmp eax, dword [0x45af18]
je 0x424b8e
call fcn.00424ba0
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0xc
ret
Function at 0x426b00
Capabilities:
Get disk size

Disassembly:
sub esp, 0x114
lea eax, [esp + 0x10]
push esi
lea edx, [esp + 0x18]
push eax
push edx
push 0x100
push ecx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
jne 0x426b2b
xor eax, eax
pop esi
add esp, 0x114
ret
xor edx, edx
cmp byte [esp + 0x18], dl
je 0x426b54
mov eax, 0x5c
xor ecx, ecx
cmp byte [esp + edx + 0x18], al
jne 0x426b46
cmp byte [esp + edx + 0x19], al
jne 0x426b4f
inc edx
cmp byte [esp + edx + 0x18], cl
jne 0x426b3a
jmp 0x426b54
mov byte [esp + edx + 0x19], 0
lea eax, [esp + 0x10]
lea ecx, [esp + 0xc]
lea edx, [esp + 4]
push eax
lea eax, [esp + 0xc]
push ecx
lea ecx, [esp + 0x20]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
jne 0x426b81
xor eax, eax
pop esi
add esp, 0x114
ret
mov eax, dword [0x446e70]
cmp dword [esp + 4], eax
jbe 0x426bc3
mov ecx, dword [esp + 4]
call fcn.00426380
mov esi, eax
test esi, esi
jne 0x426ba5
xor eax, eax
pop esi
add esp, 0x114
ret
mov ecx, dword [0x446e6c]
test ecx, ecx
je 0x426bb4
call fcn.004264c0
mov eax, dword [esp + 4]
mov dword [0x446e6c], esi
mov dword [0x446e70], eax
mov eax, dword [esp + 4]
pop esi
add esp, 0x114
ret