joyce8/EMBER2024-capa huggingface dataset:
Function at 0x60ba8af4
Capabilities:
Encode data using xor

Disassembly:
sar byte [edi - 0x5d49fcfe], 0x8e
add esi, dword [eax]
mov edi, 0xd0b60302
mov edi, 0xa2b60302
mov es, word [ebx]
xor byte [edi - 0x2f49fcfe], bh
std
jg 0x60ba8af5
insb byte es:[edi], dx
sbb eax, dword [esi + esi*4]
adc byte [eax + 7], 0xe0
pushfd
and dword [ebx], eax
mov esi, 0x300045a2
retf

Function at 0x60bcd10c
Capabilities:
Encode data using xor

Disassembly:
xor cl, byte [ebp + 0x3b1ba829]
lds ebx, [edi + 0x231e9ea9]
dec ecx
invalid
int3
loopne 0x60bcd0c4
pop ebp
in eax, dx
sub al, 0x27
inc eax
ret 0xba66
insb byte es:[edi], dx
push esi
movsb byte es:[edi], byte [esi]
test byte [eax + 0x7c], 0x32
mov eax, 0xafba8df4
popfd
popfd
out 0xd9, al
and eax, 0x372ca309
aas
dec eax
into
add al, 0x1c
sbb al, 0x40
adc dword [edi + 0x468d4bf], edx
adc eax, 0xad8d8731
je 0x60bcd12b
test eax, 0x41bb93d
jno 0x60bcd0aa
sbb edx, dword [edx + 0x4dac1209]
je 0x60bcd0ea
adc dword [ecx], esi
out dx, al
stosb byte es:[edi], al
mov esp, 0xdcf982e2
push cs
loope 0x60bcd191
push ds
ja 0x60bcd0c9
sbb byte [esi - 0x66918b50], dh
in eax, dx
or dword [ebx + 0x16], ebx
pop ebx
push ss
loope 0x60bcd140
out dx, eax
mov dl, 5
enter 0xffffffffffff8edb, 0x48
fisttp dword [esi - 0x1cc689b8]
jae 0x60bcd0f2
dec eax
jbe 0x60bcd171
jecxz 0x60bcd1ad
mov bh, 0x43
inc ebx
push ds
retf
loope 0x60bcd0dd
stosb byte es:[edi], al
invalid
cdq
adc eax, 0x3ac05741
push ds
vmovlpd qword [ecx + 0x3d7177b6], xmm4
lahf
jno 0x60bcd135
int1
ja 0x60bcd12f
push ss
pop ecx
push ds
dec ebp
aam 0xfd
push edx
fbld tbyte [edi - 0x69]
fadd qword [edi + 0x4b]
inc edi
dec ebx
jg 0x60bcd133
mov dword [ebp + 0x5b], ebp
sbb esi, dword es:[edi + 0x5d]
mov dword [edx - 0x1a923f0c], ecx
ret
invalid

Function at 0x60bd2af1
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
xor eax, eax
cmp edx, eax
je 0x60bd2b21
xor ecx, ecx
cmp dword [ebp + 0xc], eax
jbe 0x60bd2b17
push esi
movzx esi, byte [ecx + edx]
xor esi, 0x55
add eax, esi
inc ecx
cmp ecx, dword [ebp + 0xc]
jb 0x60bd2b07
pop esi
xor edx, edx
div dword [0x74a0b318]
mov eax, edx
pop ebp
ret 8

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 0x4040f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
lea esi, [eax + 0x5e0]
mov ebx, 0xc
mov edi, esi
xor cl, cl
xor edx, edx
cmp eax, edi
je 0x404118
xor cl, byte [eax]
inc eax
inc edx
cmp edx, 0x80
jl 0x404108
mov byte [esi], cl
inc esi
dec ebx
jne 0x404104
xor cl, cl
mov edx, 0xc
mov bl, byte [eax]
xor cl, bl
inc eax
dec edx
jne 0x404125
mov byte [esi], cl
pop edi
pop esi
pop ebx
ret

Function at 0x408700
Capabilities:
Inspect section memory permissions

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
xor edi, edi
mov eax, dword [esi + 0x14]
test eax, eax
jbe 0x40873e
mov eax, dword [esi]
push 0
push 0x7fffffff
mov ecx, dword [eax + edi*4]
push ecx
call fcn.00446550
mov edx, dword [esi]
push 0
push 0x400000
mov eax, dword [edx + edi*4]
push eax
call fcn.00446520
mov eax, dword [esi + 0x14]
add esp, 0x18
inc edi
cmp edi, eax
jb 0x40870f
mov ecx, dword [esi]
push 0
push 0x10000000
mov edx, dword [ecx]
push edx
call fcn.00446520
mov eax, dword [esi + 0x14]
mov edi, 2
add esp, 0xc
cmp eax, edi
jbe 0x408828
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x28]
mov ebx, dword [ecx + edi*4 - 8]
test bl, 0x20
je 0x40878c
mov edx, dword [esi]
push 0
push 0x8000000
mov eax, dword [edx + edi*4]
push eax
call fcn.00446520
add esp, 0xc
test bl, 0x10
je 0x4087b2
mov ecx, dword [esp + 0x14]
test dword [ecx], 0x20000000
jne 0x4087b2
mov edx, dword [esi]
push 0
push 0x40000000
mov eax, dword [edx + edi*4]
push eax
call fcn.00446520
add esp, 0xc
test bl, 6
je 0x4087d5
test ebp, ebp
jne 0x40882b
test bl, 4
je 0x4087d5
mov ecx, dword [esi]
push 0
push 0x40000000
mov edx, dword [ecx + edi*4]
push edx
call fcn.00446520
add esp, 0xc
test bl, 0x40
je 0x408800
mov eax, dword [esi]
push 0
push 0x20000
mov ecx, dword [eax + edi*4]
push ecx
call fcn.00446520
mov edx, dword [esi]
push 0x14
push 0x14
push 0x14
mov eax, dword [edx + edi*4]
push eax
call fcn.00446580
add esp, 0x1c
test bh, 4
je 0x40881a
mov ecx, dword [esi]
push 0
push 0x40000000
mov edx, dword [ecx + edi*4]
push edx
call fcn.00446520
add esp, 0xc
mov eax, dword [esi + 0x14]
inc edi
cmp edi, eax
jb 0x408768
pop ebp
pop ebx
pop edi
pop esi
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
dec ecx
cmp ebp, ecx
jne 0x4087c0
test bl, 2
je 0x4087d5
mov edx, dword [esi]
push 0
push 0x40000000
mov eax, dword [edx + edi*4]
push eax
jmp 0x4087cd
Function at 0x460190
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
push ecx
push edx
call fcn.00492d2a
add esp, 0xc
ret

Function at 0x460510
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push 0x54
call fcn.004924f4
mov esi, eax
xor ebx, ebx
add esp, 4
cmp esi, ebx
jne 0x46052a
pop esi
or eax, 0xffffffff
pop ebx
ret
push ebp
mov ebp, dword [esp + 0x10]
cmp ebp, 0xffffffff
jne 0x46055f
mov eax, dword [0x658968]
lea ebp, [eax - 1]
cmp ebp, ebx
jl 0x460545
mov ebp, 0xfffffffe
mov eax, dword [0x78d35c]
cmp dword [eax + 4], ebp
jne 0x460552
dec ebp
jmp 0x460555
mov eax, dword [eax + 0xc]
cmp eax, ebx
jne 0x46054a
mov dword [0x658968], ebp
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi + 0x24], ecx
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x1c], edx
mov eax, ecx
xor edx, edx
mov dword [esi + 4], ebp
sar eax, 8
mov byte [esi + 1], cl
je 0x460591
and ecx, 0xff
mov edx, 4
mov byte [0x658964], cl
inc eax
mov byte [esi], dl
mov word [esi + 8], ax
lea eax, [esi + 0x54]
mov word [esi + 0xa], bx
mov word [esi + 2], bx
mov dword [esi + 0x20], eax
mov dword [esi + 0x14], ebx
mov eax, dword [0x78d35c]
cmp eax, ebx
je 0x4605f7
xor edx, edx
push edi
mov dl, byte [eax + 1]
mov edi, dword [eax + 0xc]
cmp edx, ecx
jg 0x4605d1
cmp edi, ebx
je 0x4605d1
mov eax, edi
mov edi, dword [edi + 0xc]
xor edx, edx
mov dl, byte [eax + 1]
cmp edx, ecx
jle 0x4605bf
xor edx, edx
pop edi
mov dl, byte [eax + 1]
cmp edx, ecx
jle 0x4605ec
mov edx, dword [eax + 0x10]
mov dword [eax + 0x10], esi
mov dword [edx + 0xc], esi
mov dword [esi + 0x10], edx
mov dword [esi + 0xc], eax
jmp 0x460603
mov dword [eax + 0xc], esi
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], ebx
jmp 0x460603
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [0x78d35c], esi
push ecx
push ebp
lea eax, [esi + 0x30]
push str.TASK:_03d:_03d
push eax
call fcn.004923c0
add esp, 0x10
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push esi
push ebx
push 0x460320
mov dword [esi + 0x2c], eax
call fcn.00493230
add esp, 0xc
mov dword [esi + 0x28], eax
mov eax, ebp
pop ebp
pop esi
pop ebx
ret

Function at 0x4612d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push esi
push ecx
push 0
push edx
push eax
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x461305
mov ecx, dword [esp + 0x18]
mov dword [esi], ecx
xor eax, eax
pop esi
pop ecx
ret
Function at 0x461310
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push esi
push ecx
push 0
push edx
push eax
mov dword [esp + 0x1c], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x461359
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov dword [esi], edx
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov edx, dword [ecx + 8]
mov dword [esi + 8], edx
mov eax, dword [ecx + 0xc]
mov dword [esi + 0xc], eax
xor eax, eax
pop esi
pop ecx
ret

Function at 0x461700
Capabilities:
Create thread

Disassembly:
push 0x6f515c
push 0
push 0
push 0x4617b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 1
push 1
push 0
mov dword [0x6f5158], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x6f5160], eax
mov eax, 1
ret
Function at 0x465310
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
lea eax, [esp]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
push eax
push 0x20019
push 0
push str.SoftwareTAITO_
push 0x80000001
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne case.default.0x4653a3
mov ecx, dword [0x6057c0]
mov edx, dword [esp + 8]
push ecx
push 0x6057c0
push str.controller
push edx
call fcn.004612d0
mov eax, dword [0x6057e4]
mov ecx, dword [esp + 0x18]
push eax
push 0x6057e4
push 0x605804
push ecx
call fcn.004612d0
mov edx, dword [esp + 0x28]
push 0x6057c4
push 0x6057c4
push str.guidProduct
push edx
call fcn.00461310
mov eax, dword [esp + 0x38]
add esp, 0x30
push eax
call edi
mov eax, dword [0x6057c0]
cmp eax, 4
ja case.default.0x4653a3
jmp dword [eax*4 + 0x46542c]
mov dword [0x7764a8], 0
jmp case.default.0x4653a3
mov dword [0x7764a8], 3
jmp case.default.0x4653a3
mov dword [0x7764a8], 1
jmp case.default.0x4653a3
mov dword [0x7764a8], 2
lea ecx, [esp + 8]
push ecx
push 0x20019
push 0
push str.SoftwareTAITO_
push 0x80000002
call esi
test eax, eax
jne 0x46541f
lea edx, [esp + 0xc]
mov dword [esp + 0xc], 0x10
push edx
push 0x6057d4
push eax
push eax
mov eax, dword [esp + 0x18]
push str.joystick.dat
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 8]
push ecx
call edi
pop edi
mov eax, 1
pop esi
add esp, 8
ret
Function at 0x469480
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4a08b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [esp + 0x2c]
mov esi, edi
mov dword [esp + 0xc], 0x4b30dc
shl esi, 6
lea ebx, [esi + 0x786998]
push ebx
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x30]
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x24], ecx
je 0x469588
push ebp
lea ecx, [esp + 0x18]
lea eax, [edi*4 + 0x786fd4]
mov edx, 2
mov ebp, dword [eax]
add eax, 0x64
mov dword [ecx], ebp
add ecx, 4
dec edx
jne 0x4694e0
mov eax, dword [esi + 0x786970]
pop ebp
test eax, eax
je 0x469520
push edi
call fcn.004696d0
add esp, 4
test eax, eax
jne 0x469520
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov ecx, dword [esp + 0x30]
call fcn.00468450
test eax, eax
mov dword [esi + 0x786970], eax
jne 0x46954e
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x1c0], edi
lea eax, [esp + 0x14]
push eax
push ecx
mov ecx, dword [esi + 0x786970]
call fcn.004687c0
test eax, eax
jne 0x4695a2
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov eax, dword [esi + 0x786970]
cmp eax, ecx
je 0x4695a2
mov dword [eax + 0x1c0], 0x19
mov dword [esi + 0x786970], ecx
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret

Function at 0x46ca90
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [0x7886d0]
test eax, eax
jne 0x46ca9c
xor eax, eax
ret
mov ecx, dword [esp + 4]
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ecx
push 0x7881c8
call fcn.004924a3
mov edi, 0x7881c8
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov al, byte [0x7886d0]
not ecx
dec ecx
test al, 1
mov esi, ecx
je 0x46cada
push 0x7881c8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test byte [0x7886d0], 2
je 0x46cafb
mov eax, dword [0x606730]
test eax, eax
jle 0x46cafb
push esi
push 0x7881c8
push eax
call fcn.004601b0
add esp, 0xc
mov eax, esi
pop edi
pop esi
ret

Function at 0x46cb00
Capabilities:
Get graphical window text

Disassembly:
mov ecx, dword [esp + 8]
lea eax, [esp + 0xc]
push esi
push eax
push ecx
push 0x787d48
call fcn.004924a3
mov esi, dword [sym.imp.USER32.dll_GetActiveWindow]
add esp, 0xc
push 0x80
push 0x787cc8
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov al, byte [0x787cc8]
test al, al
jne 0x46cb4a
push 0x605e78
push 0x787cc8
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 8]
push edx
push 0x787cc8
push 0x787d48
call esi
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
ret
Function at 0x46fdd0
Capabilities:
Get common file path

Disassembly:
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 8]
push eax
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x46fdeb
xor eax, eax
pop ecx
ret
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
jne 0x46fe01
pop ecx
ret
lea ecx, [esp]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
je 0x46fe14
xor eax, eax
pop ecx
ret
mov eax, dword [esp]
mov ecx, dword [esp + 8]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [esp]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, 1
pop ecx
ret

Function at 0x46feb0
Capabilities:
Create directory

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
push 0x1a
call fcn.0046fdd0
add esp, 8
test eax, eax
jne 0x46fec9
or eax, 0xffffffff
pop esi
ret
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.TAITO
push esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
push esi
call ebx
push str.dgopro2
push esi
call edi
push 0
push esi
call ebx
mov eax, dword [esp + 0x14]
push eax
push esi
call fcn.0046fe40
add esp, 8
xor eax, eax
pop edi
pop ebx
pop esi
ret
Function at 0x46ff10
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x268
lea ecx, [esp + 0x164]
push ebx
push ebp
push esi
push edi
push eax
push ecx
call fcn.0046feb0
add esp, 8
test eax, eax
jge 0x46ff43
pop edi
pop esi
pop ebp
mov eax, 0x13
pop ebx
add esp, 0x268
ret
lea edx, [esp + 0x174]
push str..
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x34]
lea ecx, [esp + 0x174]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x46ff82
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x268
ret
mov eax, dword [esp + 0x284]
xor edi, edi
test eax, eax
jle 0x4700db
mov edx, dword [esp + 0x288]
mov ebp, dword [esp + 0x28c]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea esi, [edx + 5]
lea eax, [esp + 0x60]
push 0x606774
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x4700ba
lea ecx, [esp + 0x60]
push 0x606770
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x4700ba
lea edx, [esp + 0x38]
lea eax, [esp + 0x38]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x4700f3
lea ecx, [esp + 0x48]
lea edx, [esp + 0x48]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x4700f3
lea eax, [esp + 0x24]
lea ecx, [esp + 0x38]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x4700f3
lea edx, [esp + 0x14]
lea eax, [esp + 0x48]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x4700f3
mov al, byte [esp + 0x2a]
mov cx, word [esp + 0x24]
mov dl, byte [esp + 0x26]
mov byte [esi - 1], al
mov al, byte [esp + 0x30]
mov word [esi + 1], cx
mov cl, byte [esp + 0x2c]
mov byte [esi], dl
mov dl, byte [esp + 0x2e]
mov byte [esi - 4], al
mov al, byte [esp + 0x1a]
mov byte [esi - 2], cl
mov cx, word [esp + 0x14]
mov byte [esi - 3], dl
mov dl, byte [esp + 0x16]
mov byte [esi + 7], al
mov al, byte [esp + 0x20]
mov word [esi + 9], cx
mov cl, byte [esp + 0x1c]
mov byte [esi + 8], dl
mov dl, byte [esp + 0x1e]
mov byte [esi + 4], al
mov eax, dword [esp + 0x34]
mov byte [esi + 6], cl
mov ecx, dword [esp + 0x54]
mov byte [esi + 5], dl
cmp eax, 0x10
lea edx, [esp + 0x60]
lea eax, [esi + 0x13]
mov dword [esi + 0xb], ecx
push edx
mov word [esi + 0xf], 0
push eax
mov byte [eax], 0
call ebx
inc edi
add esi, 0x38
mov dword [ebp], edi
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x34]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x4700db
cmp edi, dword [esp + 0x284]
jl 0x46ffaa
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x268
ret
pop edi
pop esi
pop ebp
mov eax, 0xfffffff5
pop ebx
add esp, 0x268
ret
Function at 0x47cdd5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x47ce2d
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x47ce2d
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jne 0x47ce2d
xor eax, eax
inc eax
leave
ret
xor eax, eax
leave
ret

Function at 0x47ce56
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x47cec4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push str.DisableMMX
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x47cebb
cmp dword [ebp - 0xc], 4
jne 0x47cebb
cmp dword [ebp - 0x10], edi
je 0x47cebb
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x607360], edi
xor eax, eax
jmp 0x47ceec
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x607360], edi
jge 0x47cee7
mov dword [0x607360], edi
call fcn.0047ce31
test eax, eax
je 0x47cee7
emms
mov dword [0x607360], 1
mov eax, dword [0x607360]
pop edi
leave
ret

Function at 0x47cfcc
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x98
push ebx
push edi
push 0x25
pop ecx
xor eax, eax
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
xor bl, bl
and byte [ebp + 0x73], bl
push eax
mov dword [ebp - 0x24], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x47d003
inc bl
mov byte [ebp + 0x73], 1
cmp dword [ebp - 0x14], 1
jne 0x47d025
cmp dword [ebp - 0x20], 4
ja 0x47d02f
jne 0x47d01f
cmp dword [ebp - 0x1c], 0xa
jb 0x47d01f
cmp word [ebp - 0x18], 0x55d
jae 0x47d02f
mov byte [ebp + 0x73], 1
jmp 0x47d02f
cmp dword [ebp - 0x14], 2
jne 0x47d045
test bl, bl
je 0x47d060
mov eax, dword [ebp + 0x7c]
sub eax, 6
je 0x47d050
dec eax
je 0x47d049
sub eax, 3
jne 0x47d045
cmp byte [ebp + 0x73], 0
je 0x47d071
xor eax, eax
jmp 0x47d079
call fcn.0047ceef
jmp 0x47d079
cmp byte [ebp + 0x73], 0
jne 0x47d045
call fcn.0047cf27
and eax, 4
jmp 0x47d079
cmp dword [ebp + 0x7c], 0xa
je 0x47d071
push dword [ebp + 0x7c]
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
jmp 0x47d079
call fcn.0047cf27
and eax, 8
pop edi
pop ebx
add ebp, 0x74
leave
ret
Function at 0x47d1ed
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x18], eax
jae 0x47d30e
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
jae 0x47d2f2
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 0xc], edi
shr edi, 2
and edi, esi
mov dword [ebp - 4], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp - 4]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 0xc]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp - 4]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 0xc]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp - 4]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 8]
add dword [ebp - 8], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0x10]
add ecx, 8
dec dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov esi, 0xffc03fc0
jne 0x47d244
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x18]
mov dword [ebp + 0xc], edx
jb 0x47d222
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret
Function at 0x49a744
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x60d570
cmp edx, dword [eax]
je 0x49a766
add eax, 8
inc ecx
cmp eax, 0x60d600
jl 0x49a757
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x60d570]
jne 0x49a894
mov eax, dword [0x78ce28]
cmp eax, 1
je 0x49a86e
test eax, eax
jne 0x49a797
cmp dword [0x60ad94], 1
je 0x49a86e
cmp edx, 0xfc
je 0x49a894
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x49a7ce
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0049b050
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00498c30
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x49a811
lea eax, [ebp - 0x1a4]
push eax
call fcn.00498c30
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c3b54
push edi
call fcn.00492830
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0049b050
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0049b060
lea eax, [ebp - 0xa0]
push 0x4c3b34
push eax
call fcn.0049b060
push dword [esi + 0x60d574]
lea eax, [ebp - 0xa0]
push eax
call fcn.0049b060
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0049ef30
add esp, 0x2c
pop edi
jmp 0x49a894
lea eax, [ebp + 8]
lea esi, [esi + 0x60d574]
push 0
push eax
push dword [esi]
call fcn.00498c30
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret