joyce8/EMBER2024-capa huggingface dataset:
Function at 0x102007b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
mov eax, dword [edi]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 4]
test eax, eax
jne 0x102007fa
cmp dword [esi], eax
jne 0x102007fa
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x102008c8
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.102007b0
test al, al
jne 0x1020085d
xor bl, bl
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [esp + 0x10]
push ecx
push dword [ebp + 0xc]
lea ecx, [esp + 0x24]
push ecx
push 0
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
sub eax, 0
je 0x1020085d
mov ecx, dword [esi]
xor bl, bl
test ecx, ecx
je 0x102008af
cmp byte [0x11d213c0], bl
je 0x1020086a
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.100f6950
test al, al
je 0x1020085f
cmp dword [esp + 0x14], 2
jne 0x1020085f
push dword [edi]
mov eax, dword [ebp + 0xc]
push eax
push dword [esp + 0x20]
call fcn.100f77d0
test al, al
je 0x1020085f
mov bl, 1
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 8]
call fcn.101ff260
mov esi, eax
test esi, esi
je 0x1020085f
xor bl, bl
cmp word [esi + 2], 1
jne 0x1020085f
movzx eax, word [esi + 4]
cmp dword [edi], eax
jbe 0x1020085f
inc eax
push eax
lea eax, [esi + 6]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.1043a5d0
movzx eax, word [esi + 4]
add esp, 0xc
inc eax
mov bl, 1
mov dword [edi], eax
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x102008c8
mov eax, dword [ebp + 0xc]
push edi
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.102007b0
test al, al
jne 0x1020085d
pop edi
xor bl, bl
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x102010d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov ebx, dword [esi + 8]
movzx eax, bl
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1020113d
and ebx, 0x700
cmp ebx, dword [0x11d0d8f4]
jne 0x1020113d
mov eax, dword [esi + 0x14]
or eax, dword [esi + 0x18]
jne 0x10201124
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push 0
push 0x2710
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.10451250
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], edx
mov eax, dword [esi + 0x10]
test eax, eax
js 0x10201135
test al, 1
jne 0x1020114f
or eax, 1
mov dword [esi + 0x10], eax
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
and dword [esi + 0x10], 0xfffffffe
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10202080
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x11ad127c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x110]
mov esi, ecx
push eax
push 0x20219
push 0
push 0x1046d000
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10202149
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 0x105
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x118]
push eax
push 0
push 0x1046d050
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x110]
test eax, eax
jne 0x10202143
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x10c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10202107
sub ecx, edx
lea eax, [ebp - 0x10c]
push esi
add eax, ecx
push 0x1046cdc0
push eax
call fcn.100086a0
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1045066c
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.1045066c
mov esp, ebp
pop ebp
ret
Function at 0x10202240
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x11ad127c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x105
lea eax, [ebp - 0x10c]
xor bl, bl
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x102022fb
lea ecx, [ebp - 0x10c]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10202280
push esi
sub ecx, edx
lea eax, [ebp - 0x10c]
push 0x1046cf10
add eax, ecx
push 0x1046cdc0
push eax
call fcn.100086a0
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x102022e9
push 0x1046cf20
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x102022e2
lea ecx, [ebp - 0x110]
push ecx
call eax
test eax, eax
js 0x102022e2
mov eax, dword [ebp - 0x110]
test eax, eax
je 0x102022e2
setne bl
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1045066c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.1045066c
mov esp, ebp
pop ebp
ret
Function at 0x10203800
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0xc], 0
je 0x102038ff
mov edx, dword [0x11d0c5b8]
xor edi, edi
mov eax, dword fs:[0x2c]
mov eax, dword [eax + edx*4]
mov dword [ebp - 8], eax
mov ecx, dword [eax + 0x10]
cmp dword [ecx + 0xf944], edi
jbe 0x102038ed
nop dword [eax + eax]
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x102038d7
mov esi, dword [ecx + 0xbe2c]
mov dword [ebp - 4], eax
mov eax, dword [esi]
cmp dword [eax + 0xd45c], 1
jne 0x102038bc
lea eax, [esi + 0x1428]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esi + 0x10d4]
lea ecx, [ebp - 4]
push ecx
push dword [esi + 0x11cc]
call eax
push eax
push ecx
mov ecx, esi
call fcn.101c9e10
lea eax, [ebp - 0x10]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [esi + 0x1428]
mov eax, dword [ebp - 0xc]
sbb eax, dword [esi + 0x142c]
add dword [esi + 0x1420], ecx
adc dword [esi + 0x1424], eax
jmp 0x102038d7
mov eax, dword [esi + 0x10d4]
lea ecx, [ebp - 4]
push ecx
push dword [esi + 0x11cc]
call eax
push eax
push ecx
mov ecx, esi
call fcn.101c9e10
mov eax, dword [ebp - 8]
inc edi
mov ecx, dword [eax + 0x10]
cmp edi, dword [ecx + 0xf944]
jb 0x10203840
push dword [ebx + 0xc]
call fcn.10450877
add esp, 4
mov dword [ebx + 0xc], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10203910
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0xc], 0
jne 0x10203a86
mov edx, dword [0x11d0c5b8]
xor ecx, ecx
mov eax, dword fs:[0x2c]
mov esi, dword [eax + edx*4]
mov edx, 4
mov dword [esp + 0x14], esi
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0xf944]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10450898
mov dword [ebx + 0xc], eax
xor edi, edi
mov eax, dword [esi + 0x10]
add esp, 4
cmp dword [eax + 0xf944], edi
jbe 0x10203a86
nop word [eax + eax]
mov esi, dword [eax + 0xbe2c]
xorps xmm0, xmm0
movlpd qword [esp + 0x28], xmm0
movlpd qword [esp + 0x30], xmm0
movlpd qword [esp + 0x38], xmm0
mov eax, dword [esi]
movlpd qword [esp + 0x40], xmm0
movlpd qword [esp + 0x48], xmm0
movlpd qword [esp + 0x50], xmm0
movlpd qword [esp + 0x58], xmm0
movlpd qword [esp + 0x60], xmm0
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0
cmp dword [eax + 0xd45c], 1
jne 0x10203a3b
lea eax, [esi + 0x1428]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esi + 0x10d0]
lea ecx, [esp + 0x20]
push ecx
push dword [esi + 0x11cc]
call eax
push eax
push ecx
mov ecx, esi
call fcn.101c9e10
mov dword [esp + 0x10], eax
xorps xmm0, xmm0
lea eax, [esp + 0x18]
movlpd qword [esp + 0x18], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0x18]
sub ecx, dword [esi + 0x1428]
mov eax, dword [esp + 0x1c]
sbb eax, dword [esi + 0x142c]
add dword [esi + 0x1420], ecx
adc dword [esi + 0x1424], eax
mov eax, dword [esp + 0x10]
jmp 0x10203a57
mov eax, dword [esi + 0x10d0]
lea ecx, [esp + 0x20]
push ecx
push dword [esi + 0x11cc]
call eax
push eax
push ecx
mov ecx, esi
call fcn.101c9e10
xor ecx, ecx
test eax, eax
mov eax, dword [ebx + 0xc]
cmove ecx, dword [esp + 0x64]
mov dword [eax + edi*4], ecx
mov eax, dword [ebx + 0xc]
cmp dword [eax + edi*4], 0
je 0x10203a98
mov eax, dword [esp + 0x14]
inc edi
mov eax, dword [eax + 0x10]
cmp edi, dword [eax + 0xf944]
jb 0x10203980
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [ecx + eax*4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, ebx
call fcn.10203800
pop edi
pop esi
mov dword [ebx + 0xc], 0
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10206e20
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x11ad127c]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [esp + 0x34]
push edi
push 0x58
push 0
push eax
mov ebx, ecx
mov dword [esp + 0x20], esi
call fcn.10425c00
mov edi, dword [ebx]
add esp, 0xc
cmp dword [0x11d0c744], 0
je 0x10206e8b
cmp dword [edi + 4], 0x58544e43
jne 0x10206e8b
mov eax, dword fs:[0x2c]
mov ecx, dword [0x11d0c5b8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [edi]
mov dword [ecx + 0x10], eax
mov dword [edi + 8], 0
jmp 0x10206e8d
xor edi, edi
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [esi]
mov esi, dword [ebx + 0x5740]
mov dword [esp + 0x68], eax
mov eax, dword [ebx + 0x53c0]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x88], eax
mov dword [esp + 0x34], ecx
or ecx, 1
mov dword [esp + 0x48], 0x1000016
mov dword [esp + 0x38], 0x4e564441
mov dword [esp + 0x3c], 0x10002
mov dword [esp + 0x44], 0x4e564458
mov dword [esp + 0x40], 0x58
mov dword [esp + 0x84], edx
mov dword [esp + 0x8c], esi
mov eax, dword [edi + 0x11cc]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0x58
mov eax, dword [edi + 0x10b4]
mov dword [esp + 0x10], eax
test eax, eax
je 0x10206fc5
mov eax, dword [edi]
test eax, eax
je 0x10206fc5
mov ecx, dword [eax + 0xbe28]
test ecx, ecx
je 0x10206fc5
mov ecx, dword [ecx + 0x14]
test ecx, ecx
je 0x10206fc5
cmp dword [eax + 0xd45c], 1
jne 0x10206fa9
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [edi + 0x1428]
push eax
call esi
mov ecx, dword [edi + 0x10b4]
lea eax, [esp + 0x24]
push eax
mov eax, dword [edi]
mov eax, dword [eax + 0xbe28]
push dword [eax + 0x14]
call ecx
mov dword [esp + 0x10], eax
xorps xmm0, xmm0
lea eax, [esp + 0x18]
movlpd qword [esp + 0x18], xmm0
push eax
call esi
mov ecx, dword [esp + 0x18]
sub ecx, dword [edi + 0x1428]
mov eax, dword [esp + 0x1c]
sbb eax, dword [edi + 0x142c]
add dword [edi + 0x1420], ecx
adc dword [edi + 0x1424], eax
mov eax, dword [esp + 0x10]
jmp 0x10206fb3
lea eax, [esp + 0x24]
push eax
push ecx
call dword [esp + 0x18]
test eax, eax
jne 0x10206fd7
mov esi, dword [esp + 0x8c]
mov edx, dword [esp + 0x84]
cmp dword [ebp + 8], 2
jne 0x10206fd7
mov eax, dword [esp + 0x14]
mov dword [eax], edx
mov dword [ebx + 0x5740], esi
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1045066c
mov esp, ebp
pop ebp
ret 8
Function at 0x10206ff0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x58
mov eax, dword [0x11ad127c]
xor eax, esp
mov dword [esp + 0x54], eax
xorps xmm0, xmm0
mov dword [esp + 0x48], 0
xor edx, edx
movlpd qword [esp + 0x30], xmm0
push esi
push edi
mov edi, dword [ecx]
movlpd qword [esp + 0x40], xmm0
movlpd qword [esp + 0x48], xmm0
mov dword [esp + 0x58], edx
cmp dword [0x11d0c744], edx
je 0x1020705c
cmp dword [edi + 4], 0x58544e43
jne 0x1020705c
mov eax, dword fs:[0x2c]
mov ecx, dword [0x11d0c5b8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [edi]
mov dword [ecx + 0x10], eax
mov dword [edi + 8], edx
mov edx, dword [esp + 0x58]
jmp 0x1020705e
xor edi, edi
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x20], ecx
or ecx, 1
mov dword [esp + 0x34], 0x10000f1
mov dword [esp + 0x24], 0x4e564441
mov dword [esp + 0x28], 0x10002
mov dword [esp + 0x30], 0x4e564458
mov dword [esp + 0x2c], 0x38
mov eax, dword [edi + 0x11cc]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0x38
mov esi, dword [edi + 0x10b4]
test esi, esi
je 0x1020717f
mov eax, dword [edi]
test eax, eax
je 0x1020717f
mov ecx, dword [eax + 0xbe28]
test ecx, ecx
je 0x1020717f
mov ecx, dword [ecx + 0x14]
test ecx, ecx
je 0x1020717f
cmp dword [eax + 0xd45c], 1
jne 0x10207160
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [edi + 0x1428]
push eax
call esi
lea eax, [esp + 0x10]
push eax
mov eax, dword [edi]
mov eax, dword [eax + 0xbe28]
push dword [eax + 0x14]
mov eax, dword [edi + 0x10b4]
call eax
lea eax, [esp + 8]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0xc], xmm0
call esi
mov ecx, dword [esp + 8]
sub ecx, dword [edi + 0x1428]
mov eax, dword [esp + 0xc]
sbb eax, dword [edi + 0x142c]
add dword [edi + 0x1420], ecx
adc dword [edi + 0x1424], eax
mov eax, dword [esp + 0x58]
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.1045066c
mov esp, ebp
pop ebp
ret 4
lea eax, [esp + 0x10]
push eax
push ecx
call esi
mov eax, dword [esp + 0x58]
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.1045066c
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0x5c]
mov eax, edx
pop edi
pop esi
xor ecx, esp
call fcn.1045066c
mov esp, ebp
pop ebp
ret 4
Function at 0x1020d840
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x11ad127c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov al, cl
xor bl, bl
mov byte [ebp - 0x10e], al
mov byte [ebp - 0x10d], bl
push edi
lea edi, [edx + 0x53c8]
test al, al
je 0x1020d88d
mov eax, dword [edi]
test eax, eax
je 0x1020d87b
test byte [eax + 4], 1
jne 0x1020d88d
pop edi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1045066c
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
test eax, eax
je 0x1020d897
and dword [eax + 4], 0xfffffffe
push 0x105
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1020d997
lea ecx, [ebp - 0x10c]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1020d8c0
sub ecx, edx
lea eax, [ebp - 0x10c]
push 0x1046cf10
add eax, ecx
push 0x1046cdc0
push eax
call fcn.100086a0
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x118], eax
test eax, eax
je 0x1020d997
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1046cf20
push eax
call esi
push 0x1046e430
push dword [ebp - 0x118]
mov ebx, eax
call esi
mov esi, eax
test ebx, ebx
je 0x1020d984
test esi, esi
je 0x1020d984
cmp byte [ebp - 0x10e], 0
jne 0x1020d95a
lea eax, [ebp - 0x114]
push eax
call ebx
test eax, eax
js 0x1020d95e
push 0
call esi
test eax, eax
js 0x1020d95e
cmp dword [ebp - 0x114], 0
je 0x1020d95e
mov eax, dword [edi]
test eax, eax
je 0x1020d95e
or dword [eax + 4], 1
jmp 0x1020d95e
push 1
call esi
lea eax, [ebp - 0x114]
push eax
call ebx
test eax, eax
js 0x1020d984
movzx eax, byte [ebp - 0x10e]
xor ecx, ecx
cmp dword [ebp - 0x114], ecx
setne cl
cmp eax, ecx
sete bl
jmp 0x1020d98a
mov bl, byte [ebp - 0x10d]
push dword [ebp - 0x118]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
xor ecx, ebp
pop ebx
call fcn.1045066c
mov esp, ebp
pop ebp
ret
Function at 0x10223500
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x11ad127c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x11d0c744], 0
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ecx]
mov dword [ebp - 0x48], esi
mov byte [ebp - 0x41], 0
je 0x10223550
cmp dword [edi + 4], 0x58544e43
jne 0x10223550
mov eax, dword fs:[0x2c]
mov ecx, dword [0x11d0c5b8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [edi]
mov dword [ecx + 0x10], eax
mov dword [edi + 8], 0
jmp 0x10223552
xor edi, edi
xor ecx, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x54], ecx
and ecx, 0xfffffffe
mov eax, dword [edi + 0x11cc]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], 0x3c
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
mov dword [ebp - 0x30], 0x700011f
mov dword [ebp - 0x40], 0x4e564441
mov dword [ebp - 0x3c], 0x10002
mov dword [ebp - 0x34], 0x4e564458
mov dword [ebp - 0x38], 0x3c
mov edx, dword [edi + 0x10b4]
test edx, edx
je 0x1022366c
mov eax, dword [edi]
test eax, eax
je 0x1022366c
mov ecx, dword [eax + 0xbe28]
test ecx, ecx
je 0x1022366c
mov ecx, dword [ecx + 0x14]
test ecx, ecx
je 0x1022366c
cmp dword [eax + 0xd45c], 1
push ebx
jne 0x10223649
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [edi + 0x1428]
push eax
call esi
mov ecx, dword [edi + 0x10b4]
lea eax, [ebp - 0x64]
push eax
mov eax, dword [edi]
mov eax, dword [eax + 0xbe28]
push dword [eax + 0x14]
call ecx
mov ebx, eax
xorps xmm0, xmm0
lea eax, [ebp - 0x50]
movlpd qword [ebp - 0x50], xmm0
push eax
call esi
mov ecx, dword [ebp - 0x50]
sub ecx, dword [edi + 0x1428]
mov eax, dword [ebp - 0x4c]
sbb eax, dword [edi + 0x142c]
add dword [edi + 0x1420], ecx
mov esi, dword [ebp - 0x48]
adc dword [edi + 0x1424], eax
jmp 0x10223652
lea edi, [ebp - 0x64]
push edi
push ecx
call edx
mov ebx, eax
test ebx, ebx
pop ebx
jns 0x1022366c
mov al, byte [ebp - 0x41]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1045066c
mov esp, ebp
pop ebp
ret 8
cmp dword [ebp - 0x10], 1
mov ecx, dword [ebp - 4]
sete al
xor ecx, ebp
mov byte [esi], al
mov al, 1
pop edi
pop esi
call fcn.1045066c
mov esp, ebp
pop ebp
ret 8
Function at 0x102236c0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x11ad127c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x11d0c744], 0
push ebx
push edi
mov edi, dword [ecx]
je 0x10223706
cmp dword [edi + 4], 0x58544e43
jne 0x10223706
mov eax, dword fs:[0x2c]
mov ecx, dword [0x11d0c5b8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [edi]
mov dword [ecx + 0x10], eax
mov dword [edi + 8], 0
jmp 0x10223708
xor edi, edi
xor ecx, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x50], ecx
xor ebx, ebx
mov dword [ebp - 0x44], ecx
and ecx, 0xfffffffe
mov eax, dword [edi + 0x11cc]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x4c], eax
movzx eax, byte [ebp + 0xc]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x48], 0x34
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0x14], xmm0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x28], 0x7000120
mov dword [ebp - 0x38], 0x4e564441
mov dword [ebp - 0x34], 0x10002
mov dword [ebp - 0x2c], 0x4e564458
mov dword [ebp - 0x30], 0x34
mov dword [ebp - 8], eax
mov edx, dword [edi + 0x10b4]
test edx, edx
je 0x10223800
mov eax, dword [edi]
test eax, eax
je 0x10223800
mov ecx, dword [eax + 0xbe28]
test ecx, ecx
je 0x10223800
mov ecx, dword [ecx + 0x14]
test ecx, ecx
je 0x10223800
cmp dword [eax + 0xd45c], 1
jne 0x102237f7
lea eax, [edi + 0x1428]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [edi + 0x10b4]
lea eax, [ebp - 0x54]
push eax
mov eax, dword [edi]
mov eax, dword [eax + 0xbe28]
push dword [eax + 0x14]
call ecx
mov ebx, eax
xorps xmm0, xmm0
lea eax, [ebp - 0x40]
movlpd qword [ebp - 0x40], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x40]
sub ecx, dword [edi + 0x1428]
mov eax, dword [ebp - 0x3c]
sbb eax, dword [edi + 0x142c]
add dword [edi + 0x1420], ecx
adc dword [edi + 0x1424], eax
jmp 0x10223800
lea eax, [ebp - 0x54]
push eax
push ecx
call edx
mov ebx, eax
mov ecx, dword [ebp - 4]
shr ebx, 0x1f
xor ecx, ebp
xor bl, 1
pop edi
mov al, bl
pop ebx
call fcn.1045066c
mov esp, ebp
pop ebp
ret 8
Function at 0x10229090
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
xor eax, eax
cmp byte [edi + 0x4008], al
lea esi, [edi + 0x4008]
je 0x102290af
inc eax
cmp byte [eax + esi], 0
jne 0x102290a8
add eax, esi
mov edx, 0x1046f2c0
mov cl, 0xd
sub edx, eax
nop word [eax + eax]
mov byte [eax], cl
lea eax, [eax + 1]
mov cl, byte [edx + eax]
test cl, cl
jne 0x102290c0
mov byte [eax], cl
xor eax, eax
cmp byte [esi], al
je 0x102290db
inc eax
cmp byte [esi + eax], 0
jne 0x102290d4
push 0
lea ecx, [ebp - 4]
push ecx
push eax
push esi
push dword [edi + 0x3fe4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x102290f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [edi + 0x3fe4]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
pop edi
mov byte [esi], 0
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10229390
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc74
mov eax, dword [0x11ad127c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x11d0c744], 0
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0xc54], ebx
mov esi, dword [ebx]
je 0x102293e2
cmp dword [esi + 4], 0x58544e43
jne 0x102293e2
mov eax, dword fs:[0x2c]
mov ecx, dword [0x11d0c5b8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [esi]
mov dword [ecx + 0x10], eax
mov dword [esi + 8], 0
jmp 0x102293e4
xor esi, esi
xor ecx, ecx
mov dword [ebp - 0xc70], ecx
mov dword [ebp - 0xc64], ecx
and ecx, 0xfffffffe
mov eax, dword [esi + 0x11cc]
xor edi, edi
mov dword [ebp - 0xc74], eax
lea eax, [ebp - 0xc50]
mov dword [ebp - 0xc70], ecx
mov dword [ebp - 0xc6c], eax
mov dword [ebp - 0xc68], 0xc48
nop
push 0xc48
lea eax, [ebp - 0xc50]
push 0
push eax
call fcn.10425c00
mov eax, dword [ebx + 0x9b4]
add esp, 0xc
mov dword [ebp - 0xc50], 0x4e564441
mov dword [ebp - 0xc4c], 0x10002
mov dword [ebp - 0xc48], 0xc48
mov dword [ebp - 0xc44], 0x4e564458
mov dword [ebp - 0xc40], 0x7000104
mov dword [ebp - 0xc30], 0
mov dword [ebp - 0xc20], edi
mov dword [ebp - 0xbc0], eax
mov edx, dword [esi + 0x10b4]
test edx, edx
je 0x10229535
mov eax, dword [esi]
test eax, eax
je 0x10229535
mov ecx, dword [eax + 0xbe28]
test ecx, ecx
je 0x10229535
mov ecx, dword [ecx + 0x14]
test ecx, ecx
je 0x10229535
cmp dword [eax + 0xd45c], 1
jne 0x10229525
lea eax, [esi + 0x1428]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esi + 0x10b4]
lea eax, [ebp - 0xc74]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0xbe28]
push dword [eax + 0x14]
call ecx
mov ebx, eax
xorps xmm0, xmm0
lea eax, [ebp - 0xc60]
movlpd qword [ebp - 0xc60], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0xc60]
sub ecx, dword [esi + 0x1428]
mov eax, dword [ebp - 0xc5c]
sbb eax, dword [esi + 0x142c]
add dword [esi + 0x1420], ecx
adc dword [esi + 0x1424], eax
jmp 0x10229531
lea eax, [ebp - 0xc74]
push eax
push ecx
call edx
mov ebx, eax
test ebx, ebx
jne 0x1022953e
cmp dword [ebp - 0xbec], 0
jne 0x10229561
mov ebx, dword [ebp - 0xc54]
inc edi
cmp edi, 4
jb 0x10229420
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1045066c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1045066c
mov esp, ebp
pop ebp
ret