joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10417be
Capabilities:
Write file on windows

Disassembly:
push 8
mov eax, 0x11a9b44
call fcn.010b13ca
xor esi, esi
cmp dword [0x11fc3b4], esi
je 0x10418b6
mov eax, dword [0x11f200c]
cmp eax, 0x11f200c
je 0x1041818
test dword [eax + 0x5c], 0x4000
je 0x1041818
mov ecx, 0x1002db4
cmp dword [ebp + 0x14], esi
jne 0x10417fc
mov ecx, 0x1002da8
push dword [ebp + 0x18]
push ecx
push dword [ebp + 0x10]
push dword [ebp + 8]
push 0x1002c80
push 0x1c
push dword [eax + 0x54]
push dword [eax + 0x50]
call fcn.0103c36c
cmp dword [ebp + 0x18], esi
je 0x104182c
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10418cb
mov edi, 0x11fc3b8
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0115214a
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
mov dword [ebp - 4], esi
call fcn.0103e92e
mov ebx, eax
cmp ebx, esi
je 0x10418af
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp + 0xc]
call fcn.01041156
mov esi, eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x1041868
mov dword [eax], esi
mov eax, dword [ebp - 0x10]
add dword [eax], esi
mov ecx, ebx
adc dword [eax + 4], 0
call fcn.0103cb1e
mov eax, dword [0x11f200c]
cmp eax, 0x11f200c
je 0x10418a3
test dword [eax + 0x5c], 0x4000
je 0x10418a3
push esi
push dword [ebp + 8]
push 0x1002c80
push 0x1d
push dword [eax + 0x54]
push dword [eax + 0x50]
call fcn.01043f86
mov ecx, edi
call fcn.01152173
xor eax, eax
inc eax
jmp 0x10418cb
mov ecx, edi
call fcn.01152173
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
call fcn.010b14b6
ret 0x14

Function at 0x104292e
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x11fc3e4]
push esi
mov esi, dword [eax]
cmp esi, eax
je 0x1042953
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esi]
cmp esi, dword [0x11fc3e4]
jne 0x1042940
mov ecx, 0x11fc404
call fcn.01042850
mov eax, dword [0x11fc464]
mov esi, dword [eax]
mov dword [ebp - 4], esi
cmp esi, eax
je 0x10429d6
cmp dword [esi + 0x24], 8
jb 0x1042976
mov eax, dword [esi + 0x10]
jmp 0x1042979
lea eax, [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10429c3
call fcn.011565b2
test eax, eax
jge 0x10429c3
mov ecx, dword [0x11f200c]
cmp ecx, 0x11f200c
je 0x10429c3
test byte [ecx + 0x5c], 1
je 0x10429c3
cmp dword [esi + 0x24], 8
jb 0x10429ac
mov esi, dword [esi + 0x10]
jmp 0x10429af
add esi, 0x10
push eax
push esi
push 0x1002c80
push 0x2c
push dword [ecx + 0x54]
push dword [ecx + 0x50]
call fcn.01044214
lea ecx, [ebp - 4]
call fcn.01148178
mov esi, dword [ebp - 4]
cmp esi, dword [0x11fc464]
jne 0x104296b
pop esi
leave
ret
Function at 0x1043fb8
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push edi
xor edi, edi
inc edi
cmp dword [eax + 4], 0x100
jne 0x1043ffb
mov eax, dword [eax + 8]
cmp eax, 9
je 0x1043fda
cmp eax, 0x75
jne 0x1043ffb
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
test ax, ax
jl 0x1043ffa
push 0x10
call esi
test ax, ax
jge 0x1043ff7
xor edi, edi
jmp 0x1043ffa
push 2
pop edi
pop esi
mov eax, edi
pop edi
pop ebp
ret 4

Function at 0x104c5eb
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 4]
push eax
xor ebx, ebx
push ebx
push dword [ebp + 0x14]
mov dword [ebp - 4], ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
mov esi, eax
cmp esi, ebx
je 0x104c648
mov eax, dword [0x11f200c]
cmp eax, 0x11f200c
je 0x104c6b0
test byte [eax + 0x5c], 1
je 0x104c6b0
push dword [ebp + 0xc]
push esi
push 0x1003c8c
push 0x16
push dword [eax + 0x54]
push dword [eax + 0x50]
call fcn.01049409
jmp 0x104c6b0
mov esi, dword [ebp + 0x10]
push dword [ebp - 4]
mov ecx, esi
call fcn.0104b729
mov ecx, dword [esi + 4]
cmp ecx, ebx
jne 0x104c660
xor eax, eax
jmp 0x104c665
mov eax, dword [esi + 0xc]
sub eax, ecx
push ebx
push eax
mov ecx, esi
call fcn.0103f619
mov esi, dword [esi + 4]
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp + 0x14]
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
mov esi, eax
cmp esi, ebx
je 0x104c6b0
mov eax, dword [0x11f200c]
cmp eax, 0x11f200c
je 0x104c6b0
test byte [eax + 0x5c], 1
je 0x104c6b0
push esi
push dword [ebp + 0xc]
push 0x1003c8c
push 0x17
push dword [eax + 0x54]
push dword [eax + 0x50]
call fcn.01044214
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x10

Function at 0x1053391
Capabilities:
Delete registry key

Disassembly:
cmp dword [ecx + 0x20], 8
jb 0x105339c
mov ecx, dword [ecx + 0xc]
jmp 0x105339f
add ecx, 0xc
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
ret
Function at 0x1055098
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x58
mov eax, 0x11ab984
call fcn.010b13ca
xor esi, esi
push esi
push esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edi, eax
cmp edi, esi
jne 0x1055232
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
push esi
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], esi
call fcn.0103f619
cmp dword [ebp - 0x34], esi
jne 0x10550ec
mov dword [ebp - 0x10], esi
jmp 0x10550f5
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x34]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov eax, dword [ebp - 0x20]
inc eax
push esi
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.010efc01
mov edi, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x40]
cmp edi, esi
jne 0x105511f
mov dword [ebp - 0x14], esi
jmp 0x1055128
mov eax, ebx
sub eax, edi
sar eax, 1
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x34]
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x14]
push eax
push edi
push dword [ebp + 0xc]
mov dword [ebp - 0x18], esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov ecx, eax
mov dword [ebp + 0xc], ecx
cmp ecx, esi
jne 0x10551f0
mov eax, dword [ebp + 0x14]
cmp eax, esi
je 0x1055161
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
cmp edi, esi
jne 0x1055169
xor eax, eax
jmp 0x105516f
sub ebx, edi
sar ebx, 1
mov eax, ebx
lea eax, [edi + eax*2]
push eax
push edi
lea ecx, [ebp - 0x64]
call fcn.010387d0
mov edi, dword [ebp + 0x10]
push edi
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0104af23
push esi
push 1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.010362ea
lea eax, [ebp + 0x14]
push eax
mov ecx, edi
mov dword [ebp + 8], esi
call fcn.01035f4a
mov esi, eax
lea eax, [ebp + 0x10]
push eax
mov ecx, edi
call fcn.01035f4a
mov ebx, eax
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
call fcn.0103cf9d
lea ecx, [ebp + 8]
push ecx
push dword [ebx]
push dword [eax]
lea eax, [ebp - 0x28]
push eax
call fcn.0104a0b2
push dword [esi]
mov ecx, edi
push dword [eax]
lea eax, [ebp + 8]
push eax
call fcn.010368c0
mov ecx, dword [ebp + 0x18]
lea eax, [ebp - 0x38]
push eax
call fcn.010f90fb
jmp 0x105521d
cmp ecx, 0x103
je 0x105521d
mov eax, dword [0x11f200c]
cmp eax, 0x11f200c
je 0x105521d
test byte [eax + 0x5c], 1
je 0x105521d
push ecx
push 0x10041e0
push 0x1a
push dword [eax + 0x54]
push dword [eax + 0x50]
call fcn.01034bae
lea ecx, [ebp - 0x48]
call fcn.0112c1e2
lea ecx, [ebp - 0x38]
call fcn.0112c1e2
mov edi, dword [ebp + 0xc]
jmp 0x1055257
mov eax, dword [0x11f200c]
cmp eax, 0x11f200c
je 0x1055257
test byte [eax + 0x5c], 1
je 0x1055257
push edi
push 0x10041e0
push 0x1b
push dword [eax + 0x54]
push dword [eax + 0x50]
call fcn.01034bae
mov eax, edi
call fcn.010b14b6
ret 0x14
Function at 0x1056cd4
Capabilities:
Capture webcam image

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [ebp + 0xc]
push 0x419
push dword [ebp + 8]
call esi
push dword [ebp + 0x10]
push eax
push 0x41d
push dword [ebp + 8]
call esi
pop esi
pop ebp
ret 0xc

Function at 0x105a679
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
test eax, eax
je 0x105a6aa
cmp dword [eax + 0x18], 8
jb 0x105a693
mov eax, dword [eax + 4]
jmp 0x105a696
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esi]
test ecx, ecx
je 0x105a6aa
push 1
call fcn.01053a6d
pop esi
pop ebp
ret 4
Function at 0x1060cc8
Capabilities:
Create thread

Disassembly:
push 0x20
mov eax, 0x11acc4c
call fcn.010b1402
mov esi, ecx
xor ebx, ebx
lea eax, [esi + 0x9bc]
cmp dword [eax], 1
mov dword [ebp - 4], ebx
jne 0x1060df8
push 0x24
mov dword [eax], 2
call fcn.010b0174
pop ecx
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x1060d28
push dword [esi + 0xc]
mov eax, dword [esi]
push dword [esi + 0x70]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push ecx
mov ecx, esi
call dword [eax + 0xac]
mov ecx, dword [ebp - 0x18]
call fcn.0105b01a
mov dword [ebp - 0x18], eax
jmp 0x1060d2b
mov dword [ebp - 0x18], ebx
push dword [ebp - 0x18]
lea edi, [esi + 0x9c4]
push edi
mov byte [ebp - 4], bl
call fcn.0105f36a
push 8
call fcn.010b0174
pop ecx
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x1060d67
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push edi
call fcn.0116000e
mov ecx, dword [ebp - 0x14]
call fcn.010ee911
jmp 0x1060d69
xor eax, eax
mov dword [ebp - 0x14], ebx
cmp eax, ebx
je 0x1060d73
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
push ebx
push dword [ebp - 0x14]
mov byte [ebp - 4], 3
push 0x105e18f
push ebx
push ebx
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x18
push eax
lea ecx, [ebp - 0x28]
call fcn.010a3994
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 4
call fcn.01073456
movzx eax, al
neg eax
sbb eax, eax
and eax, dword [fcn.0107a9df]
cmp eax, ebx
je 0x1060dd9
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x28]
push eax
add ecx, 0x1c
mov dword [ebp - 0x14], ebx
call fcn.010683ac
lea eax, [ebp - 0x28]
push eax
lea ecx, [esi + 0x9e8]
call fcn.010805ce
jmp 0x1060ddf
push edi
call fcn.0105fc61
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 3
call fcn.01076e36
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], bl
call fcn.0105d0a4
xor eax, eax
call fcn.010b14b6
ret 8
Function at 0x1067b99
Capabilities:
Write clipboard data

Disassembly:
push 0xc
mov eax, 0x11ad5e5
call fcn.010b13ca
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0x14]
xor ebx, ebx
mov byte [ebp - 0xd], 1
cmp eax, ebx
je 0x1067ccf
inc eax
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp + 0xc], ebx
cmp eax, ebx
je 0x1067bcd
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x1067ca6
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
cmp edi, ebx
je 0x1067c93
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.010bf5e8
mov ebx, eax
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.010bf4ed
push edi
push dword [ebx]
push dword [eax]
call fcn.01067ac3
mov eax, dword [esi + 0x14]
add esp, 0xc
push dword [ebp + 0xc]
mov byte [edi + eax], 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test eax, eax
jne 0x1067c80
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jne 0x1067c80
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetClipboardData]
cmp eax, dword [ebp + 0xc]
jne 0x1067c48
and dword [ebp + 0xc], 0
jmp 0x1067cc6
call esi
test eax, eax
je 0x1067c7a
mov eax, dword [0x11f200c]
cmp eax, 0x11f200c
je 0x1067c7a
test byte [eax + 0x5c], 1
je 0x1067c7a
call esi
push eax
mov eax, dword [0x11f200c]
push 0x10051f8
push 0x1e
push dword [eax + 0x54]
push dword [eax + 0x50]
call fcn.01034bae
mov byte [ebp - 0xd], 0
jmp 0x1067cc6
push 1
push 0x8000ffff
push 0x3fd
push 0x51c
jmp 0x1067cb7
push 1
push 0x8000ffff
push 0x3fc
push 0x51f
jmp 0x1067cb7
push 1
push 0x8000ffff
push 0x3fb
push 0x522
push 0x100528c
push 0x1002780
call fcn.010ae68e
lea eax, [ebp + 0xc]
push eax
call fcn.01067680
mov al, byte [ebp - 0xd]
call fcn.010b14b6
ret 8
Function at 0x1067cdf
Capabilities:
Write clipboard data

Disassembly:
push 0xc
mov eax, 0x11ad5e5
call fcn.010b13ca
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0x14]
xor ebx, ebx
mov byte [ebp - 0xd], 1
cmp eax, ebx
je 0x1067e1a
lea eax, [eax + eax + 2]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp + 0xc], ebx
cmp eax, ebx
je 0x1067d16
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x1067df1
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
cmp edi, ebx
je 0x1067dde
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.01035f4a
mov ebx, eax
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.0103cf9d
push edi
push dword [ebx]
push dword [eax]
call fcn.01067aef
mov eax, dword [esi + 0x14]
add esp, 0xc
push dword [ebp + 0xc]
xor ecx, ecx
mov word [edi + eax*2], cx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test eax, eax
jne 0x1067dcb
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jne 0x1067dcb
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetClipboardData]
cmp eax, dword [ebp + 0xc]
jne 0x1067d93
and dword [ebp + 0xc], 0
jmp 0x1067e11
call esi
test eax, eax
je 0x1067dc5
mov eax, dword [0x11f200c]
cmp eax, 0x11f200c
je 0x1067dc5
test byte [eax + 0x5c], 1
je 0x1067dc5
call esi
push eax
mov eax, dword [0x11f200c]
push 0x10051f8
push 0x1e
push dword [eax + 0x54]
push dword [eax + 0x50]
call fcn.01034bae
mov byte [ebp - 0xd], 0
jmp 0x1067e11
push 1
push 0x8000ffff
push 0x3fd
push 0x51c
jmp 0x1067e02
push 1
push 0x8000ffff
push 0x3fc
push 0x51f
jmp 0x1067e02
push 1
push 0x8000ffff
push 0x3fb
push 0x522
push 0x100528c
push 0x1002780
call fcn.010ae68e
lea eax, [ebp + 0xc]
push eax
call fcn.01067680
mov al, byte [ebp - 0xd]
call fcn.010b14b6
ret 8
Function at 0x1068dc6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x14
mov eax, 0x11ad7dd
call fcn.010b13ca
mov ebx, ecx
and dword [ebp - 4], 0
and dword [ebp - 0x20], 0
movzx eax, word [ebp + 0xc]
push 0xa
push eax
push dword [ebx + 0x70]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0xc], eax
mov edi, 0x1005368
mov esi, 0x1005230
test eax, eax
jne 0x1068e15
push 1
push 0x8000ffff
push 0x3f9
push 0x1b2
push edi
push esi
call fcn.010ae68e
push dword [ebp + 0xc]
push dword [ebx + 0x70]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
push dword [ebx + 0x70]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
mov ebx, 0x8000ffff
test eax, eax
jne 0x1068e57
push 1
push ebx
push 0x3fa
push 0x1bc
push edi
push esi
call fcn.010ae68e
push dword [ebp - 0x14]
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
and dword [ebp + 0xc], 0
test eax, eax
je 0x1068e6d
mov dword [ebp + 0xc], eax
xor eax, eax
inc eax
cmp dword [ebp + 0xc], 0
mov dword [ebp - 4], eax
jne 0x1068e8c
push eax
push ebx
push 0x3fb
push 0x1c2
push edi
push esi
call fcn.010ae68e
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x1068eb0
push 1
push ebx
push 0x3fc
push 0x1c8
push edi
push esi
call fcn.010ae68e
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call sub.msvcrt.dll_memcpy
add esp, 0xc
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test eax, eax
jne 0x1068eec
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1068eec
push 1
push ebx
push 0x3fd
push 0x1d1
push edi
push esi
call fcn.010ae68e
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 2
call fcn.0113ec0f
mov ecx, dword [ebp + 0xc]
and dword [ebp + 0xc], 0
push eax
push 1
push ecx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jge 0x1068f2b
push 1
call fcn.011565b2
push eax
push 0x3fe
push 0x1d9
push edi
push esi
call fcn.010ae68e
push 0x10
call sub.gdiplus.dll_GdipAlloc
test eax, eax
je 0x1068f44
push 0
push dword [ebp - 0x10]
mov ecx, eax
call fcn.01066be0
jmp 0x1068f46
xor eax, eax
push eax
call fcn.011150e5
mov ecx, dword [ebp + 8]
push eax
call fcn.01181412
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
and dword [eax + 8], 0
xor edx, edx
inc edx
mov dword [ebp - 0x20], edx
test ecx, ecx
je 0x1068f7f
push edx
push ebx
push 0x44c
push 0x1df
push edi
push esi
call fcn.010ae68e
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 1
call fcn.010e7ead
lea eax, [ebp + 0xc]
push eax
call fcn.01067680
mov eax, dword [ebp + 8]
call fcn.010b14b6
ret 8
Function at 0x108227d
Capabilities:
Create thread
Get system information on windows
Resume thread

Disassembly:
push 0x34
mov eax, 0x11af152
call fcn.010b13ca
mov esi, ecx
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
call edi
lea ecx, [esi + 0x1c]
push eax
push ecx
call fcn.010771c9
cmp dword [esi + 0x1c], ebx
jne 0x10822c6
push 1
call fcn.011565b2
push eax
push 0x443
push 0x6b
push 0x1007494
push 0x100745c
call fcn.010ae68e
push ebx
push ebx
push 1
push ebx
call edi
lea ecx, [esi + 0x20]
push eax
push ecx
call fcn.010771c9
cmp dword [esi + 0x20], ebx
jne 0x10822fa
push 1
call fcn.011565b2
push eax
push 0x443
push 0x71
push 0x1007494
push 0x100745c
call fcn.010ae68e
push ebx
push ebx
push ebx
push ebx
call edi
push eax
lea edi, [esi + 0x24]
push edi
call fcn.010771c9
cmp dword [edi], ebx
jne 0x108232c
push 1
call fcn.011565b2
push eax
push 0x443
push 0x77
push 0x1007494
push 0x100745c
call fcn.010ae68e
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x40]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x2c]
push 4
pop ecx
mov dword [ebp - 0x14], eax
cmp eax, ecx
mov dword [ebp - 0x10], ecx
lea eax, [ebp - 0x10]
ja 0x1082356
lea eax, [ebp - 0x14]
mov edi, dword [eax]
lea ecx, [esi + 0xc]
push edi
call fcn.0107ef07
cmp edi, ebx
jbe 0x1082421
mov dword [ebp - 0x10], edi
xor eax, eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push eax
push 4
push esi
push 0x10774ce
push ebx
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.010a3c6c
lea eax, [ebp - 0x1c]
push eax
call fcn.01073456
test al, al
jne 0x10823ff
push 1
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea ecx, [esi + 0xc]
xor edi, edi
call fcn.0107a2db
test eax, eax
jbe 0x10823df
mov eax, dword [esi + 0x10]
push dword [eax + edi*8 + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
lea ecx, [esi + 0xc]
inc edi
call fcn.0107a2db
cmp edi, eax
jb 0x10823c5
push 1
push 0x8000ffff
push 0x444
push 0x94
push 0x1007494
push 0x100745c
call fcn.010ae68e
lea eax, [ebp - 0x1c]
push eax
lea ecx, [esi + 0xc]
call fcn.010805ce
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x1c]
push eax
call fcn.01076e36
dec dword [ebp - 0x10]
jne 0x108236c
lea edi, [esi + 0xc]
mov ecx, edi
call fcn.0107a2db
test eax, eax
jbe 0x1082448
mov eax, dword [esi + 0x10]
push dword [eax + ebx*8 + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, edi
inc ebx
call fcn.0107a2db
cmp ebx, eax
jb 0x108242f
mov al, 1
call fcn.010b14b6
ret
Function at 0x10a3529
Capabilities:
Check if file exists

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x270
mov eax, dword [0x11f2910]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x210], eax
push esi
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x214], 0x104
call sub.WINSPOOL.DRV_Ordinal_203
xor ebx, ebx
inc ebx
test eax, eax
jne 0x10a367b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x10a367b
push edi
push 0x50
xor esi, esi
lea eax, [ebp - 0x26c]
push esi
push eax
call sub.msvcrt.dll_memset
or dword [ebp - 0x224], 0xffffffff
xor eax, eax
mov dword [ebp - 0x21c], esi
lea edi, [ebp - 0x218]
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x26c], eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x248], eax
add esp, 0xc
lea eax, [ebp - 0x270]
push eax
mov dword [ebp - 0x270], 0x54
mov dword [ebp - 0x268], esi
mov dword [ebp - 0x264], esi
mov dword [ebp - 0x260], esi
mov dword [ebp - 0x25c], 0x110
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x254], esi
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x24c], 0xa
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x240], 0x3e8
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x220], esi
call dword [sym.imp.COMDLG32.dll_PrintDlgExW]
mov ecx, dword [ebp - 0x260]
mov dword [ebp - 0x210], esi
pop edi
cmp ecx, esi
je 0x10a3663
mov dword [ebp - 0x210], ecx
cmp eax, esi
jl 0x10a368d
cmp dword [ebp - 0x220], esi
je 0x10a368d
lea eax, [ebp - 0x210]
push eax
call fcn.01049e9a
mov al, bl
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.010b13b5
leave
ret 4
lea eax, [ebp - 0x210]
push eax
call fcn.01049e9a
xor al, al
jmp 0x10a367d