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

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, edx
mov dword [esp], eax
xor edi, edi
cmp dword [esp], 0
je 0x710286e6
test ebx, ebx
je 0x710286e6
mov eax, ebx
call fcn.71022c94
mov edi, eax
test edi, edi
je 0x710286e6
mov esi, ebx
dec esi
test esi, esi
jb 0x710286e6
inc esi
xor eax, eax
mov edx, ebx
dec edx
sub dl, al
mov ecx, edx
add edx, edx
add edx, edx
add edx, edx
sub edx, ecx
add dl, 0xda
mov ecx, ebx
dec ecx
sub ecx, eax
mov ebp, dword [esp]
xor dl, byte [ebp + ecx]
mov byte [edi + eax], dl
inc eax
dec esi
jne 0x710286c1
mov eax, edi
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x710287f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.71024780
xor eax, eax
push ebp
push 0x710288df
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.71024378
lea edx, [ebp - 8]
mov eax, 0x710288f8
call fcn.710262dc
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x71028843
sub ebx, 4
mov ebx, dword [ebx]
push ebx
mov eax, dword [ebp - 8]
call fcn.71024790
push eax
call fcn.71028608
mov ebx, eax
test ebx, ebx
jne 0x7102885d
mov ebx, 0x12345678
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.71026d94
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x7102887a
sub eax, 4
mov eax, dword [eax]
mov esi, eax
lea ecx, [ebp - 8]
mov edx, esi
mov eax, ebx
call fcn.71027fd4
test esi, esi
jle 0x710288c4
mov ebx, 1
mov eax, edi
call fcn.710247e8
lea eax, [eax + ebx - 1]
push eax
mov eax, dword [edi]
movzx eax, byte [eax + ebx - 1]
mov edx, dword [ebp - 8]
movzx edx, byte [edx + ebx - 1]
xor al, dl
movzx eax, al
mov ecx, 0x1a
xor edx, edx
div ecx
add dl, 0x61
pop eax
mov byte [eax], dl
inc ebx
dec esi
jne 0x71028891
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x710288e6
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.71024348
ret
Function at 0x71028b80
Capabilities:
Switch active desktop

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov ebx, eax
mov edi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x71028d7c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.71024324
mov eax, esi
call fcn.71024324
mov eax, dword [ebp + 0x14]
xor edx, edx
mov dword [eax], edx
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_GetThreadDesktop
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
mov byte [edi], 0
mov eax, dword [ebp + 8]
mov byte [eax], 0
mov edx, dword [ebx]
mov eax, 0x71028d94
call fcn.71025e9c
test al, al
je 0x71028bf3
mov eax, dword [ebp + 0x10]
mov word [eax], 5
mov edx, dword [ebx]
mov eax, 0x71028da4
call fcn.71024830
test eax, eax
je 0x71028d15
lea eax, [ebp - 4]
push eax
mov eax, dword [ebx]
mov edx, 0x71028da4
xor ecx, ecx
call fcn.710261cc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebx]
mov ecx, 0x71028da4
xor edx, edx
call fcn.710261cc
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.71024378
mov edx, dword [ebp - 4]
mov eax, 0x71028db4
call fcn.71025e9c
test al, al
je 0x71028cb8
lea eax, [ebp - 0x10]
push eax
mov edx, 0x71028db4
mov ecx, 0x71028dc4
mov eax, dword [ebp - 4]
call fcn.710261cc
mov edx, dword [ebp - 0x10]
mov eax, esi
call fcn.71024378
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x71028c77
sub eax, 4
mov eax, dword [eax]
test eax, eax
je 0x71028cb8
push 0
push 0x10000000
push 0
push 0
push 0
mov eax, dword [esi]
call fcn.71024790
push eax
call sub.user32.dll_CreateDesktopA
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0
je 0x71028cb8
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
push eax
call sub.user32.dll_SetThreadDesktop
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
push eax
call sub.user32.dll_SwitchDesktop
mov edx, dword [ebp - 4]
mov eax, 0x71028dd0
call fcn.71025e9c
test al, al
je 0x71028d15
lea eax, [ebp - 0x18]
push eax
mov edx, 0x71028dd0
mov ecx, 0x71028dc4
mov eax, dword [ebp - 4]
call fcn.710261cc
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.71024378
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x71028cfe
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x71028d15
lea eax, [ebp - 0x1c]
call fcn.710271b4
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.71024378
call fcn.710284b8
test al, al
je 0x71028d2b
mov eax, esi
mov edx, dword [0x71052c3c]
call fcn.7102451c
mov edx, dword [ebp - 4]
mov eax, 0x71028de0
call fcn.71025e9c
mov edx, dword [ebp + 8]
mov byte [edx], al
mov edx, dword [ebp - 4]
mov eax, 0x71028df0
call fcn.71025e9c
mov byte [edi], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x71028d83
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.71024348
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.71024348
lea eax, [ebp - 4]
call fcn.71024324
ret
Function at 0x71028f64
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.71024780
xor eax, eax
push ebp
push 0x71029085
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov edx, dword [ebp - 4]
mov eax, 0x710290a0
call fcn.71024830
test eax, eax
jg 0x7102906a
mov edx, dword [ebp - 4]
mov al, 0x5c
call fcn.71028efc
mov esi, eax
test esi, esi
jle 0x7102906a
lea eax, [ebp - 8]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.710247f0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x20006
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.71024790
push eax
push edi
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0x7102906a
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x71029003
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 8]
push eax
mov ecx, ebx
sub ecx, esi
lea edx, [esi + 1]
mov eax, dword [ebp - 4]
call fcn.710247f0
cmp dword [ebp - 8], 0
jne 0x7102903c
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
sete bl
jmp 0x71029061
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.71024790
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
sete bl
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7102908c
lea eax, [ebp - 8]
mov edx, 2
call fcn.71024348
ret
Function at 0x710290a4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.71024780
xor eax, eax
push ebp
push 0x710291d9
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov edx, dword [ebp - 4]
mov al, 0x5c
call fcn.71028efc
mov esi, eax
test esi, esi
jle 0x710291be
lea eax, [ebp - 8]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.710247f0
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 8]
call fcn.71024790
push eax
push edi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x710291be
mov edi, dword [ebp - 4]
test edi, edi
je 0x71029128
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 8]
push eax
mov ecx, edi
sub ecx, esi
lea edx, [esi + 1]
mov eax, dword [ebp - 4]
call fcn.710247f0
cmp dword [ebp - 8], 0
jne 0x71029145
xor edi, edi
jmp 0x7102914f
mov eax, dword [ebp - 8]
call fcn.71024790
mov edi, eax
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push edi
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x710291b5
mov eax, dword [ebp - 0x18]
call fcn.71022c94
mov esi, eax
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x10]
push eax
push 0
push edi
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x710291ae
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jne 0x710291a5
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov dword [eax], edx
mov bl, 1
jmp 0x710291b5
mov eax, esi
call fcn.71022cb0
jmp 0x710291b5
mov eax, esi
call fcn.71022cb0
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x710291e0
lea eax, [ebp - 8]
mov edx, 2
call fcn.71024348
ret
Function at 0x710296a4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.71024780
xor eax, eax
push ebp
push 0x71029773
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov edx, dword [ebp - 4]
mov al, 0x5c
call fcn.71028efc
mov esi, eax
test esi, esi
jle 0x71029758
lea eax, [ebp - 8]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.710247f0
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 8]
call fcn.71024790
push eax
push edi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x71029758
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x7102971d
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 8]
push eax
mov ecx, ebx
sub ecx, esi
lea edx, [esi + 1]
mov eax, dword [ebp - 4]
call fcn.710247f0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.71024790
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
sete bl
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7102977a
lea eax, [ebp - 8]
mov edx, 2
call fcn.71024348
ret

Function at 0x71029784
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.71024780
xor eax, eax
push ebp
push 0x7102984b
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov edx, dword [ebp - 4]
mov al, 0x5c
call fcn.71028efc
mov esi, eax
test esi, esi
jle 0x71029830
lea eax, [ebp - 8]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.710247f0
lea eax, [ebp - 0xc]
push eax
push 0x20006
push 0
mov eax, dword [ebp - 8]
call fcn.71024790
push eax
push edi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x71029830
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x710297fd
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 8]
push eax
mov ecx, ebx
sub ecx, esi
lea edx, [esi + 1]
mov eax, dword [ebp - 4]
call fcn.710247f0
mov eax, dword [ebp - 8]
call fcn.71024790
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegDeleteValueA
test eax, eax
sete bl
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x71029852
lea eax, [ebp - 8]
mov edx, 2
call fcn.71024348
ret
Function at 0x7102985c
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.71024780
xor eax, eax
push ebp
push 0x71029996
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 0xc]
call fcn.71024324
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 4]
call fcn.71024790
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x7102997b
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x18], 0x400
mov eax, dword [ebp - 0x18]
call fcn.71022c94
mov esi, eax
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x18], 0x400
cmp byte [ebp + 8], 0
je 0x710298f7
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push esi
push edi
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov ebx, eax
jmp 0x71029910
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push esi
push edi
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegEnumValueA
mov ebx, eax
test ebx, ebx
jne 0x71029963
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x18]
call fcn.71024974
lea eax, [ebp - 8]
call fcn.710247e8
mov edx, eax
mov eax, esi
mov ecx, dword [ebp - 0x18]
call fcn.71022e0c
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x71029948
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.71024378
jmp 0x71029962
mov eax, dword [ebp - 0xc]
push dword [eax]
push 0x710299b4
push dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov edx, 3
call fcn.71024694
inc edi
test ebx, ebx
je 0x710298cf
mov eax, esi
call fcn.71022cb0
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7102999d
lea eax, [ebp - 8]
mov edx, 2
call fcn.71024348
ret
Function at 0x7102b1ac
Capabilities:
Create thread

Disassembly:
push ebx
push esi
mov ebx, 0x71056808
xor esi, esi
mov dword [0x71052cdc], 0xffffffff
cmp dword [ebx + 0x44], 0
jne 0x7102b1cc
mov dword [ebx + 0x44], 0x7102b0ec
cmp dword [ebx + 0x54], 0
jne 0x7102b1df
mov eax, dword [ebx + 0x44]
push eax
push ebx
call fcn.7102a198
mov dword [ebx + 0x54], eax
cmp dword [ebx + 0x54], 0
je 0x7102b2ab
lea eax, [ebx + 0x58]
xor ecx, ecx
mov edx, 0x1c
call fcn.710231b0
mov dword [ebx + 0x58], 0x110
mov dword [ebx + 0x5c], 2
mov dword [ebx + 0x60], 7
mov dword [ebx + 0x70], 0x3e8
lea eax, [ebx + 0x58]
push eax
mov eax, dword [ebx + 0x54]
push eax
call fcn.7102a1cc
test eax, eax
je 0x7102b2ab
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x5c], 4
lea eax, [ebx + 0x58]
push eax
mov eax, dword [ebx + 0x54]
push eax
call fcn.7102a1cc
test eax, eax
je 0x7102b2ab
push 0x4b0
call sub.kernel32.dll_Sleep_1
mov esi, dword [ebx + 0x48]
test esi, esi
je 0x7102b271
lea eax, [ebx + 0x50]
push eax
push 0
push 0
push esi
push 0
push 0
call sub.kernel32.dll_CreateThread
mov dword [ebx + 0x4c], eax
cmp dword [ebx + 0x40], 0
jne 0x7102b289
push 0x7d0
call sub.kernel32.dll_Sleep_1
cmp dword [ebx + 0x74], 0
je 0x7102b277
jmp 0x7102b28c
call dword [ebx + 0x40]
mov dword [ebx + 0x5c], 1
lea eax, [ebx + 0x58]
push eax
mov eax, dword [ebx + 0x54]
push eax
call fcn.7102a1cc
cmp dword [ebx + 0x54], 0
setne al
neg al
sbb esi, esi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x7102c0f4
Capabilities:
Access peb ldr_data
Resolve function by hash
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pushal
cld
xor ebx, ebx
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov esi, dword [ebx + 0x28]
mov ecx, 0x18
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x7102c11b
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x7102c112
cmp edi, 0x6a4abc5b
mov edx, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x7102c108
mov ebx, dword [ebp + 8]
mov dword [ebx], edx
push ebp
mov ebx, edx
mov ebp, ebx
mov ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + ebp + 0x78]
mov ecx, dword [ebx + ebp + 0x18]
mov edx, dword [ebx + ebp + 0x20]
add edx, ebp
call fcn.7102c0d8
push ecx
mov edi, eax
pop ecx
dec ecx
test ecx, ecx
je 0x7102c17f
mov esi, dword [edx + ecx*4]
add esi, ebp
push ecx
mov ecx, 0xf
repe cmpsb byte [esi], byte es:[edi]
test ecx, ecx
jne 0x7102c150
pop ecx
mov esi, dword [ebx + ebp + 0x24]
add esi, ebp
movzx esi, word [esi + ecx*2]
mov edi, dword [ebx + ebp + 0x1c]
add edi, ebp
mov edi, dword [edi + esi*4]
add edi, ebp
pop ebp
mov ebx, dword [ebp + 0xc]
mov dword [ebx], edi
popal
pop ebp
ret 8

Function at 0x7102c9a8
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov eax, dword [ebp + 8]
call fcn.71024780
xor eax, eax
push ebp
push 0x7102ca69
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp + 0xc], 0
je 0x7102c9ea
call sub.kernel32.dll_GetCommandLineA_1
mov edx, eax
lea eax, [ebp - 4]
call fcn.7102451c
mov edx, dword [ebp - 4]
lea eax, [ebp + 8]
mov ecx, dword [ebp + 8]
call fcn.71024618
mov eax, dword [ebp + 8]
test eax, eax
je 0x7102c9f6
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
mov eax, ebx
add eax, eax
add eax, 2
call fcn.71026bd4
mov esi, eax
lea edx, [ebp - 8]
mov eax, dword [ebp + 8]
call fcn.71028978
mov eax, dword [ebp - 8]
call fcn.71024b60
mov edx, eax
mov ecx, ebx
add ecx, ecx
mov eax, esi
call fcn.71026488
call fcn.71028908
mov eax, dword [eax + 0x10]
add eax, 0x40
mov dword [eax + 4], esi
mov edx, ebx
add edx, edx
mov word [eax], dx
add dx, 2
mov word [eax + 2], dx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7102ca70
lea eax, [ebp - 8]
call fcn.71024a08
lea eax, [ebp - 4]
call fcn.71024324
lea eax, [ebp + 8]
call fcn.71024324
ret
Function at 0x7102d968
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.71024780
xor eax, eax
push ebp
push 0x7102dab3
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
cmp dword [edi], 0
je 0x7102d9b3
push 0x4021c
mov eax, dword [edi]
push eax
call sub.kernel32.dll_IsBadReadPtr
test eax, eax
je 0x7102da8b
push 0x7102dacc
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.7102d824
push dword [ebp - 0x2c]
push 0x7102dae0
lea eax, [ebp - 8]
mov edx, 3
call fcn.71024694
push 1
lea eax, [ebp - 0x1c]
push eax
call sub.advapi32.dll_InitializeSecurityDescriptor
push 0
push 0
push 0xffffffffffffffff
lea eax, [ebp - 0x1c]
push eax
call sub.advapi32.dll_SetSecurityDescriptorDacl
mov dword [ebp - 0x28], 0xc
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0xffffffff
mov eax, dword [ebp - 8]
call fcn.71024790
push eax
push 0x4021c
push 0
push 4
lea eax, [ebp - 0x28]
push eax
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov esi, eax
test esi, esi
jne 0x7102da75
lea eax, [ebp - 0x30]
mov ecx, 0x7102daec
mov edx, dword [ebp - 8]
call fcn.71024618
mov eax, dword [ebp - 0x30]
push eax
call fcn.710275b4
lea eax, [ebp - 8]
push eax
mov ecx, 0x7fffffff
mov edx, 8
mov eax, dword [ebp - 8]
call fcn.710247f0
mov eax, dword [ebp - 8]
call fcn.71024790
push eax
push 0x4021c
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov esi, eax
push 0
push 0
push 0
push 6
push esi
call sub.kernel32.dll_MapViewOfFile
mov dword [edi], eax
cmp dword [edi], 0
setne bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7102daba
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.71024348
lea eax, [ebp - 8]
mov edx, 2
call fcn.71024348
ret
Function at 0x7102e494
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
add esp, 0xfffffff0
call fcn.7102e490
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
push 0x64
call sub.kernel32.dll_Sleep_1
call fcn.7102e490
sub eax, dword [esp]
sbb edx, dword [esp + 4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call sub.kernel32.dll_GetTickCount_1
mov ecx, eax
sub ecx, ebx
cmp dword [esp + 0xc], 0
jne 0x7102e4e2
cmp dword [esp + 8], 0x2faf080
jb 0x7102e4ed
jmp 0x7102e4e4
jl 0x7102e4ed
cmp ecx, 0x32
jb 0x7102e4ed
xor eax, eax
jmp 0x7102e4ef
mov al, 1
add esp, 0x10
pop ebx
ret
Function at 0x710331a8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
xor eax, eax
push ebp
push 0x7103324e
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x710331c9
push 0x493e0
call sub.kernel32.dll_Sleep_1
call sub.kernel32.dll_GetTickCount_1
cmp eax, 0x493e0
jb 0x710331bf
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x71052ecc]
sub eax, dword [edx + 0x208]
cmp eax, 0x493e0
jl 0x710331bf
push dword [0x710569a4]
push 0x71033264
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x71052ecc]
sub eax, dword [edx + 0x208]
mov ecx, 0x3e8
xor edx, edx
div ecx
lea edx, [ebp - 8]
call fcn.71026c04
push dword [ebp - 8]
lea eax, [ebp - 4]
mov edx, 3
call fcn.71024694
mov eax, dword [ebp - 4]
push eax
call fcn.710275b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x71033255
lea eax, [ebp - 8]
mov edx, 2
call fcn.71024348
ret

Function at 0x71033270
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 8]
call fcn.71024780
mov eax, dword [ebp + 0xc]
call fcn.71024780
xor eax, eax
push ebp
push 0x710332ec
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp + 0xc], 0
jne 0x710332b2
push 5
push 0
mov eax, dword [ebp + 8]
call fcn.71024790
push eax
call sub.kernel32.dll_MoveFileExA
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x710332d1
push 5
mov eax, dword [ebp + 0xc]
call fcn.71024790
push eax
mov eax, dword [ebp + 8]
call fcn.71024790
push eax
call sub.kernel32.dll_MoveFileExA
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x710332f3
lea eax, [ebp + 8]
mov edx, 2
call fcn.71024348
ret