joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1008e090
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
add eax, 0x44
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x30], 0
je 0x1008e0d7
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x30]
push eax
call fcn.1008dfd0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x30]
push edx
call fcn.1008e050
add esp, 4
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], 0
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 8], 0
je 0x1008e0f9
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 8]
push eax
call fcn.1008d680
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 8], 0
mov edx, dword [ebp - 0xc]
cmp dword [edx + 4], 0
je 0x1008e11b
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
push ecx
call fcn.1008d680
add esp, 4
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x38], 0
je 0x1008e13b
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x38], 0
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x34], 0
je 0x1008e15b
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x34], 0
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x3c], 0
je 0x1008e17b
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x3c], 0
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x40], 0
je 0x1008e1ca
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
push 0xbb8
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x40], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 4]
mov dword [ebp - 8], eax
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0xc]
add eax, 0x44
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esp, ebp
pop ebp
ret
Function at 0x1008f0c0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x100df3e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x128], 0
push 0x118
push 0
lea eax, [ebp - 0x124]
push eax
call fcn.10070d10
add esp, 0xc
mov dword [ebp - 0x128], 0x11c
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x1008f115
mov eax, 1
jmp 0x1008f160
cmp dword [ebp - 0x124], 5
jne 0x1008f14e
cmp dword [ebp - 0x120], 1
jne 0x1008f136
movzx edx, word [ebp - 0x14]
cmp edx, 1
jge 0x1008f136
xor eax, eax
jmp 0x1008f160
cmp dword [ebp - 0x120], 0
jne 0x1008f14c
movzx eax, word [ebp - 0x14]
cmp eax, 3
jge 0x1008f14c
xor eax, eax
jmp 0x1008f160
jmp 0x1008f15b
cmp dword [ebp - 0x124], 5
jae 0x1008f15b
xor eax, eax
jmp 0x1008f160
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006e071
mov esp, ebp
pop ebp
ret

Function at 0x1008f640
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b1cf7
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x100df3e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10001748
mov byte [ebp - 4], 1
mov ecx, dword [0x100c92e8]
mov dword [ebp - 0x30], ecx
mov edx, dword [0x100c92e8]
push edx
push 0x5c
lea ecx, [ebp - 0x2c]
call fcn.10037241
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [0x100c92e8]
je 0x1008f6fa
mov ecx, dword [ebp - 0x30]
push ecx
push 0
lea edx, [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x2c]
call fcn.1000193a
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10001795
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.10001780
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x50], esp
lea edx, [ebp - 0x2c]
push edx
call fcn.10001748
mov dword [ebp - 0x64], eax
call fcn.1008f640
add esp, 0x1c
push 0
lea ecx, [ebp + 8]
call fcn.10004e35
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1008f71c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1008f745
mov dword [ebp - 0x54], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.10001780
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10001780
mov eax, dword [ebp - 0x54]
jmp 0x1008f787
mov dword [ebp - 0x58], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.10001780
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10001780
mov eax, dword [ebp - 0x58]
jmp 0x1008f787
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006e071
mov esp, ebp
pop ebp
ret
Function at 0x1008f7a0
Capabilities:
Check if file exists
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x100df3e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x228], ecx
mov word [ebp - 0x218], 0
push 0x208
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.10070d10
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x218]
push edx
call fcn.10071ecc
add esp, 8
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1008f840
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x224], esp
lea edx, [ebp - 0x218]
push edx
call fcn.10001712
mov dword [ebp - 0x22c], eax
call fcn.1008f640
add esp, 0x1c
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x220], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x228]
add ecx, 0x2c
call fcn.10004e35
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp + 0xc], 0
je 0x1008f87c
mov ecx, dword [ebp - 0x228]
add ecx, 0x2c
call fcn.10004e35
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006e071
mov esp, ebp
pop ebp
ret 8

Function at 0x1008ff30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x100df3e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov word [ebp - 0x420], 0
push 0x410
push 0
lea eax, [ebp - 0x41e]
push eax
call fcn.10070d10
add esp, 0xc
lea ecx, [ebp - 0x420]
push ecx
push 0x208
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x2f
mov edx, dword [ebp + 8]
push edx
call fcn.1006e487
add esp, 8
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0
je 0x10090002
push str.QMDownload
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x428], esp
lea edx, [ebp - 0x420]
push edx
call fcn.10001712
mov dword [ebp - 0x42c], eax
call fcn.1008f640
add esp, 0x1c
mov eax, dword [ebp - 0x424]
add eax, 2
push eax
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x420]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.10009fb8
mov eax, dword [ebp - 0x424]
add eax, 2
push eax
mov ecx, dword [ebp + 0x10]
call fcn.10009fb8
jmp 0x1009001c
push 0x100c0e78
mov ecx, dword [ebp + 0xc]
call fcn.10009fb8
push 0x100c0e7c
mov ecx, dword [ebp + 0x10]
call fcn.10009fb8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006e071
mov esp, ebp
pop ebp
ret
Function at 0x10090030
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x8c], 0
je 0x1009004c
xor eax, eax
jmp 0x10090209
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 4], 0
jne 0x1009005c
xor eax, eax
jmp 0x10090209
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x20]
add ecx, 0x10
call fcn.10009fb8
mov eax, dword [ebp - 0x20]
cmp dword [eax + 8], 0
jne 0x10090088
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x20]
cmp dword [edx + 8], 0
jne 0x10090098
xor eax, eax
jmp 0x10090209
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0x88], 0
je 0x100900f0
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x88]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
je 0x100900dc
push 1
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x24], eax
jmp 0x100900e3
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x88], 0
call fcn.1008f0c0
test eax, eax
je 0x1009013e
call fcn.1008f0a0
cmp eax, 1
jne 0x1009013e
push 0x5c
call fcn.1006dddd
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x10090123
mov ecx, dword [ebp - 0x14]
call fcn.1008e550
mov dword [ebp - 0x28], eax
jmp 0x1009012a
mov dword [ebp - 0x28], 0
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x88], ecx
jmp 0x10090177
push 0x30
call fcn.1006dddd
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x1009015e
mov ecx, dword [ebp - 0x1c]
call fcn.1008dd90
mov dword [ebp - 0x2c], eax
jmp 0x10090165
mov dword [ebp - 0x2c], 0
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x88], ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.STATIC
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x64], eax
push 0x1008f170
push 0xfffffffffffffffc
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x64]
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x8c], 1
mov dword [ebp - 4], 0
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp - 0x20]
push edx
push 0x1008f8d0
push 0
push 0
call fcn.1007217d
add esp, 0x18
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0xc], 0
jne 0x100901fd
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x8c], 0
mov ecx, dword [ebp - 0x20]
xor eax, eax
cmp dword [ecx + 0xc], 0
setne al
mov esp, ebp
pop ebp
ret 4
Function at 0x10090530
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 0x3c], ecx
cmp dword [ebp + 0x10], 0
jne 0x10090546
xor eax, eax
jmp 0x10090685
mov dword [ebp - 0xc], 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp - 0x3c]
add ecx, 0x2c
call fcn.10047f80
lea edx, [ebp - 0x38]
push edx
mov ecx, dword [ebp - 0x3c]
add ecx, 0x2c
call fcn.10047320
push eax
lea ecx, [ebp - 8]
call fcn.10048030
movzx eax, al
test eax, eax
je 0x100905c9
lea ecx, [ebp - 0x18]
call fcn.10047090
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
lea edx, [ebp + 8]
push edx
mov ecx, dword [ebp - 0x3c]
add ecx, 0x2c
call fcn.10047ec0
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov edx, dword [ebp - 0x14]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x10]
mov dword [eax + 8], ecx
mov dword [ebp - 0xc], 0
jmp 0x10090682
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 8]
call fcn.10048070
add eax, 4
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
sub eax, dword [edx]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ecx]
jbe 0x10090679
cmp dword [ebp - 0x20], 0x12c
jbe 0x10090679
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [eax + 8]
jbe 0x10090679
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], 0
fild qword [ebp - 0x44]
fdiv qword [0x100cda98]
fstp qword [ebp - 0x30]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0xc]
sub ecx, dword [eax + 8]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], 0
fild qword [ebp - 0x4c]
fdiv qword [ebp - 0x30]
fnstcw word [ebp - 0x4e]
movzx eax, word [ebp - 0x4e]
or eax, 0xc00
mov dword [ebp - 0x54], eax
fldcw word [ebp - 0x54]
fistp qword [ebp - 0x5c]
fldcw word [ebp - 0x4e]
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
mov dword [ecx], edx
jmp 0x10090682
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10090c67
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
je 0x10090c76
cmp dword [ebp + 0x10], 0
jg 0x10090c7e
mov eax, dword [ebp + 8]
jmp 0x10090e01
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jl 0x10090dc7
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x100c0fd8]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x100c0fd8]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x100c0fd8]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x100c0fd8]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x100c0fd8]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x100c0fd8]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x100c0fd8]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x100c0fd8]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x10090c87
cmp dword [ebp + 0x10], 0
je 0x10090dfb
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x100c0fd8]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
dec eax
mov dword [ebp + 0x10], eax
jne 0x10090dcd
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x10090e03
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x100df3e0]
xor eax, ebp
mov dword [ebp - 8], eax
and dword [ebp - 0x228], 0
and dword [ebp - 0x224], 0
and dword [ebp - 0x230], 0
and dword [ebp - 0x220], 0
and dword [ebp - 0x218], 0
and dword [ebp - 0x22c], 0
and word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.10070d10
add esp, 0xc
and dword [ebp - 4], 0
or dword [ebp - 0x21c], 0xffffffff
and dword [ebp - 0x214], 0
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x10090e95
xor eax, eax
jmp 0x10090fa0
push dword [ebp - 0x230]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
jne 0x10090eba
xor eax, eax
jmp 0x10090fa0
push dword [ebp - 0x230]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
jne 0x10090edf
xor eax, eax
jmp 0x10090fa0
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jne 0x10090f01
xor eax, eax
jmp 0x10090fa0
push 0
push 0x80
push 2
push 0
push 1
push 0x10000000
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0xffffffff
jne 0x10090f3b
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x10090fa0
push 0
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x22c]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x10090f87
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_FreeResource]
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x10090fa0
mov dword [ebp - 0x228], 1
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1006e071
leave
ret

Function at 0x10090fac
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
add ecx, 0x74
call fcn.100018df
movzx eax, al
test eax, eax
jne 0x10090fdb
push 4
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x74
call fcn.10004e35
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor eax, eax
leave
ret 4
Function at 0x10091b9c
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x100df3e0]
xor eax, ebp
mov dword [ebp - 8], eax
and dword [ebp - 0x228], 0
and dword [ebp - 0x224], 0
and dword [ebp - 0x230], 0
and dword [ebp - 0x220], 0
and dword [ebp - 0x218], 0
and dword [ebp - 0x22c], 0
and word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.10070d10
add esp, 0xc
and dword [ebp - 4], 0
or dword [ebp - 0x21c], 0xffffffff
and dword [ebp - 0x214], 0
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x10091c2e
xor eax, eax
jmp 0x10091d39
push dword [ebp - 0x230]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
jne 0x10091c53
xor eax, eax
jmp 0x10091d39
push dword [ebp - 0x230]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
jne 0x10091c78
xor eax, eax
jmp 0x10091d39
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jne 0x10091c9a
xor eax, eax
jmp 0x10091d39
push 0
push 0x80
push 2
push 0
push 1
push 0x10000000
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0xffffffff
jne 0x10091cd4
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x10091d39
push 0
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x22c]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x10091d20
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_FreeResource]
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x10091d39
mov dword [ebp - 0x228], 1
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1006e071
leave
ret
Function at 0x1009258d
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x54], 0
jne 0x100925af
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x5c], 0
jne 0x100925af
xor al, al
jmp 0x10092761
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0x34
call fcn.1003d813
jmp 0x100925ce
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 8]
call fcn.100155ff
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0x34
call fcn.1003d836
push eax
lea ecx, [ebp - 8]
call fcn.100422e7
movzx eax, al
test eax, eax
je 0x1009275f
lea ecx, [ebp - 8]
call fcn.1003792b
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x10092606
jmp 0x100925c0
mov eax, dword [ebp - 0xc]
cmp dword [eax + 8], 4
ja 0x1009275a
mov eax, dword [ebp - 0xc]
cmp dword [eax + 4], 0x186a0
jne 0x1009275a
lea ecx, [ebp - 8]
call fcn.1003792b
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x10092639
jmp 0x100925c0
mov ecx, dword [ebp - 0x14]
add ecx, 0x1c
call fcn.10004e35
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x5c], 0
je 0x10092677
push dword [ebp - 0xc]
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x5c]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx + 0x5c]
mov eax, dword [eax]
call dword [eax + 4]
mov dword [ebp - 0x10], eax
jmp 0x10092691
push dword [ebp - 0xc]
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x54]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx + 0x54]
mov eax, dword [eax]
call dword [eax + 4]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x100926cd
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
mov dword [eax + 0x90], ecx
mov eax, dword [ebp - 0x3c]
and dword [eax + 0xc4], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 8], 5
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx + 0xc4]
mov dword [eax + 0xc], ecx
jmp 0x1009275a
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0xc4], 2
mov eax, dword [ebp - 0xc]
mov dword [eax + 8], 7
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx + 0xc4]
mov dword [eax + 0xc], ecx
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0x60
call fcn.10042d96
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0x60
call fcn.1003d9d3
push eax
lea ecx, [ebp - 0x1c]
call fcn.100422e7
movzx eax, al
test eax, eax
je 0x10092752
lea ecx, [ebp - 0x1c]
call fcn.1003db8a
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x10092748
mov eax, dword [ebp - 0x3c]
push dword [eax + 0xc4]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
push dword [ebp - 0x20]
call dword [eax + 0xc]
lea ecx, [ebp - 0x1c]
call fcn.1003dbcf
jmp 0x10092702
xor eax, eax
jne 0x100926f3
xor al, al
jmp 0x10092761
jmp 0x100925c0
mov al, 1
leave
ret