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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4b1bc3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4b1baa
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b8550
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e6aae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004b8e70
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x512dfc
call fcn.004d7821
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4b85e3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004d7821
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4b85dc
push 0
mov ecx, eax
call fcn.004af680
mov dword [esi + 0xc], eax
jmp 0x4b85e5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4b85e5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x4d9eae
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4d9ee6
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004d7f3b
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004d7f13
jmp 0x4d9ef2
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4db5a5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4db5e7
call fcn.004e109b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4db5e7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4db5de
xor eax, eax
jmp 0x4db5ef
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004db5f5
pop edi
pop esi
pop ebx
ret 4
Function at 0x4e15cb
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4e15f9
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4e1617
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004e1531
jmp 0x4e1617
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4e1617
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004e1531
test edi, edi
mov eax, edi
jne 0x4e1601
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x1378058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.013781a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x137807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x137806a
add dl, dl
jne 0x1378089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x13780dc
xor eax, eax
add dl, dl
jne 0x1378096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x137817d
add dl, dl
jne 0x13780a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x13780b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x13780bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x13780c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x13780d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1378075
mov eax, 1
add dl, dl
jne 0x13780ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x13780f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x13780e1
sub eax, ebx
mov ebx, 1
jne 0x1378128
mov ecx, 1
add dl, dl
jne 0x137810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1378119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1378105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1378075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x137813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x137814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1378136
cmp eax, 0x7d00
jae 0x137816d
cmp eax, 0x500
jb 0x1378168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1378075
cmp eax, 0x7f
ja 0x1378170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1378075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x137819e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1378075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x51d950
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x111000]
push edi
or ebp, 0xffffffff
jmp 0x51d972
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x51d979
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51d968
mov eax, 1
add ebx, ebx
jne 0x51d98b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x51d99c
jne 0x51d9bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51d9bb
dec eax
add ebx, ebx
jne 0x51d9a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x51d980
add ebx, ebx
jne 0x51d9b7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x51da0d
xor ecx, ecx
sub eax, 3
jb 0x51d9d3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x51da42
sar eax, 1
mov ebp, eax
jmp 0x51d9de
add ebx, ebx
jne 0x51d9de
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51d9ac
inc ecx
add ebx, ebx
jne 0x51d9ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51d9ac
add ebx, ebx
jne 0x51d9f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x51d9ee
jne 0x51da0a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x51d9ee
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x51da2c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x51da1e
jmp 0x51d96e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x51da2c
add edi, ecx
jmp 0x51d96e
pop esi
mov edi, esi
mov ecx, 0x192
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x51da4a
cmp byte [edi], 1
jne 0x51da4a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x51da4f
lea edi, [esi + 0x11b000]
mov eax, dword [edi]
or eax, eax
je 0x51dac7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12dab8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12db88]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x51da7c
mov ecx, edi
jns 0x51daab
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12db90]
or eax, eax
je 0x51dac1
mov dword [ebx], eax
add ebx, 4
jmp 0x51da99
call dword [esi + 0x12db8c]
mov ebp, dword [esi + 0x12db94]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x51dafb
sub esp, 0xffffff80
jmp 0x408186
Function at 0x402f11
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4082a0
cmp edx, dword [eax]
je 0x402f33
add eax, 8
inc ecx
cmp eax, 0x408330
jl 0x402f24
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4082a0]
jne 0x403061
mov eax, dword [0x40a924]
cmp eax, 1
je 0x40303b
test eax, eax
jne 0x402f64
cmp dword [0x408070], 1
je 0x40303b
cmp edx, 0xfc
je 0x403061
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x402f9b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004030b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00403260
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x402fde
lea eax, [ebp - 0x1a4]
push eax
call fcn.00403260
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x407488
push edi
call fcn.00405b70
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004030b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004030c0
lea eax, [ebp - 0xa0]
push 0x407468
push eax
call fcn.004030c0
push dword [esi + 0x4082a4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004030c0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00405adf
add esp, 0x2c
pop edi
jmp 0x403061
lea eax, [ebp + 8]
lea esi, [esi + 0x4082a4]
push 0
push eax
push dword [esi]
call fcn.00403260
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

Function at 0x403064
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x403084
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004014b0
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x4030a5
test byte [esp + 8], 2
je 0x4030a5
mov dword [0x40a928], 0xd
mov dword [0x40a92c], 5
jmp 0x403080
xor eax, eax
ret
Function at 0x100025d0
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push 8
mov eax, 0x1007e20d
call fcn.10057c6e
call fcn.10002060
push eax
lea ecx, [ebp - 0x10]
call fcn.10001827
push dword [ebp + 0x10]
xor esi, esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], esi
call fcn.10001a8b
push 0x104
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.10001c05
push esi
push esi
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x10002640
mov ecx, dword [ebp + 8]
push esi
call fcn.10001a8b
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.1000210b
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.1000210b
mov eax, dword [ebp + 8]
jmp 0x10002715
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.100029e4
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
mov eax, dword [eax - 0xc]
dec eax
push eax
call fcn.100029c0
cmp ax, 0x5c
je 0x10002676
mov esi, 0x100960f8
push esi
call fcn.10001954
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.10001584
push dword [ebp + 0xc]
call fcn.10001954
pop ecx
push eax
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.10001584
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
push dword [eax - 0xc]
mov ecx, dword [esi - 0xc]
sub ecx, dword [eax - 0xc]
lea eax, [ebp + 0xc]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.100028df
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
push dword [ebp - 0x14]
call fcn.1000214e
mov byte [ebp - 4], 1
mov edi, eax
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.1000210b
test edi, edi
je 0x100026dd
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
push dword [eax - 0xc]
push eax
call fcn.10001584
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100026ef
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edi, [esi - 0x10]
push edi
call fcn.1000122a
mov esi, dword [ebp + 8]
add eax, 0x10
pop ecx
mov ecx, dword [ebp - 0x14]
mov dword [esi], eax
lea ecx, [ecx - 0x10]
call fcn.1000210b
mov ecx, edi
call fcn.1000210b
mov eax, esi
call fcn.10057c37
ret 0xc
Function at 0x100087c4
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x100a3330]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x234], eax
push edi
test esi, esi
je 0x10008890
push 0x228
xor edi, edi
lea eax, [ebp - 0x22c]
push edi
push eax
call fcn.10058f90
add esp, 0xc
push edi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10008890
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x10008850
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.1005c9a1
pop ecx
pop ecx
test eax, eax
je 0x10008856
lea eax, [ebp - 0x230]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1000882f
jmp 0x10008885
push dword [ebp - 0x228]
push edi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push dword [ebp - 0x234]
mov esi, eax
push 0xf01ff
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x10008892
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10056bff
leave
ret 8

Function at 0x100088a8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x100088ba
push 0xd
pop eax
jmp 0x100088ec
mov ecx, edx
push ebx
push edi
xor ebx, ebx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x100088c3
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc
Function at 0x10009baf
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
xor esi, esi
push 0x10096ce8
push dword [ebp + 8]
mov dword [eax], esi
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], esi
mov dword [ebx], esi
call fcn.100624ba
add esp, 0xc
test eax, eax
je 0x10009be3
xor eax, eax
jmp 0x10009d09
push edi
mov edi, esi
push dword [ebp - 4]
lea eax, [ebp + 0x10]
push 1
add eax, edi
push 1
push eax
call fcn.100628f8
add esp, 0x10
inc edi
cmp edi, 4
jl 0x10009be6
mov eax, dword [ebp + 0x10]
movzx ecx, al
shl ecx, 8
movzx eax, ah
or ecx, eax
movzx eax, byte [ebp + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp + 0x13]
shl ecx, 8
or ecx, eax
cmp ecx, 0x89504e47
jne 0x10009d06
mov edi, esi
push dword [ebp - 4]
lea eax, [ebp + 0x10]
push 1
add eax, edi
push 1
push eax
call fcn.100628f8
add esp, 0x10
inc edi
cmp edi, 4
jl 0x10009c2f
mov eax, dword [ebp + 0x10]
movzx ecx, al
shl ecx, 8
movzx eax, ah
or ecx, eax
movzx eax, byte [ebp + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp + 0x13]
shl ecx, 8
or ecx, eax
cmp ecx, 0xd0a1a0a
jne 0x10009d06
push esi
push 0x10
push dword [ebp - 4]
call fcn.10062ce3
add esp, 0xc
mov edi, esi
push dword [ebp - 4]
lea eax, [ebp + 0x10]
push 1
add eax, edi
push 1
push eax
call fcn.100628f8
add esp, 0x10
inc edi
cmp edi, 4
jl 0x10009c86
mov eax, dword [ebp + 0x10]
movzx ecx, al
shl ecx, 8
movzx eax, ah
or ecx, eax
movzx eax, byte [ebp + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp + 0x13]
shl ecx, 8
or ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
push dword [ebp - 4]
lea eax, [ebp + 0x10]
push 1
add eax, esi
push 1
push eax
call fcn.100628f8
add esp, 0x10
inc esi
cmp esi, 4
jl 0x10009cc6
mov eax, dword [ebp + 0x10]
xor esi, esi
movzx ecx, al
shl ecx, 8
movzx eax, ah
or ecx, eax
movzx eax, byte [ebp + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp + 0x13]
shl ecx, 8
or ecx, eax
inc esi
mov dword [ebx], ecx
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x10009d0f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 4]
push edi
mov edi, dword [ebp + 0x10]
push 0x10096ce8
push dword [ebp + 8]
and dword [esi], 0
and dword [edi], 0
push eax
call fcn.100624ba
add esp, 0xc
test eax, eax
jne 0x10009edb
push ebx
xor ebx, ebx
inc ebx
push dword [ebp - 4]
lea eax, [ebp + 0xb]
push ebx
push ebx
push eax
call fcn.100628f8
add esp, 0x10
test eax, eax
je 0x10009ed1
cmp byte [ebp + 0xb], 0xff
jne 0x10009ed1
push dword [ebp - 4]
lea eax, [ebp + 0xb]
push ebx
push ebx
push eax
call fcn.100628f8
add esp, 0x10
test eax, eax
je 0x10009ed1
mov cl, byte [ebp + 0xb]
lea eax, [ecx + 0x20]
cmp al, 0xf
ja 0x10009dc9
push dword [ebp - 4]
lea eax, [ebp + 0xf]
push ebx
push ebx
push eax
call fcn.100628f8
push dword [ebp - 4]
lea eax, [ebp + 0x13]
push ebx
push ebx
push eax
call fcn.100628f8
movzx eax, byte [ebp + 0xf]
shl ax, 8
movzx ecx, ax
movzx eax, byte [ebp + 0x13]
or ecx, eax
push ebx
sub ecx, 2
push ecx
push dword [ebp - 4]
call fcn.10062ce3
add esp, 0x2c
jmp 0x10009d41
movzx eax, cl
mov ecx, 0xd8
cmp eax, ecx
ja 0x10009e68
je 0x10009d41
sub eax, 0
je 0x10009ed1
sub eax, 0xc0
je 0x10009df7
sub eax, 4
jmp 0x10009e86
push ebx
push 3
push dword [ebp - 4]
call fcn.10062ce3
push dword [ebp - 4]
lea eax, [ebp + 0xf]
push ebx
push ebx
push eax
call fcn.100628f8
push dword [ebp - 4]
lea eax, [ebp + 0x13]
push ebx
push ebx
push eax
call fcn.100628f8
movzx eax, byte [ebp + 0xf]
push dword [ebp - 4]
shl ax, 8
movzx ecx, ax
movzx eax, byte [ebp + 0x13]
or ecx, eax
lea eax, [ebp + 0xf]
push ebx
push ebx
push eax
mov dword [edi], ecx
call fcn.100628f8
push dword [ebp - 4]
lea eax, [ebp + 0x13]
push ebx
push ebx
push eax
call fcn.100628f8
movzx eax, byte [ebp + 0xf]
add esp, 0x4c
shl ax, 8
movzx ecx, ax
movzx eax, byte [ebp + 0x13]
or ecx, eax
mov dword [esi], ecx
jmp 0x10009d41
cmp eax, 0xd9
jb 0x10009e8c
cmp eax, 0xda
jbe 0x10009ed1
cmp eax, 0xdd
jbe 0x10009d87
cmp eax, 0xfe
je 0x10009d87
push dword [ebp - 4]
lea eax, [ebp + 0xf]
push ebx
push ebx
push eax
call fcn.100628f8
push dword [ebp - 4]
lea eax, [ebp + 0x13]
push ebx
push ebx
push eax
call fcn.100628f8
movzx eax, byte [ebp + 0xf]
shl ax, 8
movzx ecx, ax
movzx eax, byte [ebp + 0x13]
or ecx, eax
push ebx
sub ecx, 2
push ecx
push dword [ebp - 4]
call fcn.10062ce3
add esp, 0x2c
test eax, eax
je 0x10009d41
push dword [ebp - 4]
call fcn.1006258e
pop ecx
pop ebx
pop edi
xor eax, eax
pop esi
leave
ret 0xc
Function at 0x1000a11e
Capabilities:
Check if file exists
Create directory

Disassembly:
push 0xc
mov eax, 0x1007e6c2
call fcn.10057c6e
push ecx
lea ecx, [ebp - 0x10]
call fcn.10001a8b
and dword [ebp - 4], 0
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000a1b2
push eax
jmp 0x1000a1a1
call fcn.10002060
push eax
lea ecx, [ebp - 0x14]
call fcn.10001827
inc edi
mov byte [ebp - 4], 1
push edi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.10002819
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.10002970
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.1000210b
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000a194
push esi
call fcn.10062702
pop ecx
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0
call fcn.1000210b
push edi
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.1000a0ea
mov edi, eax
cmp edi, 0xffffffff
jne 0x1000a147
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.1000210b
call fcn.10057c37
ret

Function at 0x1000a1c3
Capabilities:
Get common file path

Disassembly:
push 8
mov eax, 0x1007e6e5
call fcn.10057c6e
mov edi, ecx
mov dword [ebp - 0x14], edi
call fcn.10002060
push eax
lea ecx, [ebp - 0x10]
call fcn.10001827
xor esi, esi
lea ecx, [ebp - 0x10]
push esi
push 0x1a
push 0x200
mov dword [ebp - 4], esi
call fcn.10001c05
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.100029e4
mov esi, dword [ebp - 0x10]
mov eax, dword [esi - 0xc]
test eax, eax
jne 0x1000a224
push 0x10095fe8
mov ecx, edi
call fcn.10001a8b
lea ecx, [esi - 0x10]
jmp 0x1000a27b
dec eax
lea ecx, [ebp - 0x10]
push eax
call fcn.100029c0
cmp ax, 0x5c
je 0x1000a24a
mov esi, 0x100960f8
push esi
call fcn.10001954
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.10001584
mov esi, str.2019Zip_
push esi
call fcn.10001954
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.10001584
mov esi, dword [ebp - 0x10]
mov ecx, esi
call fcn.1000a11e
add esi, 0xfffffff0
push esi
call fcn.1000122a
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.1000210b
mov eax, edi
call fcn.10057c37
ret
Function at 0x1000d710
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x100a3330]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_IsWindow]
mov esi, ecx
push 4
pop eax
test esi, esi
mov dword [ebp - 0x18], esi
lea ebx, [esi - 0x740]
cmove ebx, eax
push dword [ebx]
call edi
test eax, eax
je 0x1000d813
push dword [esi + 8]
call edi
test eax, eax
je 0x1000d813
push dword [ebx]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x1000d808
push dword [ebx]
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x1000d808
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1000d808
lea eax, [ebp - 0x14]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x14]
lea edi, [ebp - 0x2c]
add esi, 0x358
mov edx, dword [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub eax, dword [ebp - 0x2c]
lea esi, [ebp - 0x14]
add edx, dword [ebp - 0x20]
lea edi, [ebp - 0x2c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x28]
cmp dword [ebp + 8], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x18]
je 0x1000d7e8
push 1
lea eax, [ebp - 0x2c]
push eax
lea ecx, [edi + 8]
call fcn.10008528
jmp 0x1000d813
mov esi, dword [ebp - 0x10]
sub edx, esi
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
push 0x50
push edx
sub eax, ecx
push eax
push esi
push ecx
push dword [ebx]
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x1000d813
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10056bff
leave
ret 4