joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45f5d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
push 0x45f1a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 8]
mov dword [edx + 0x230], eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x230]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp

Function at 0x466e60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push 2
movzx eax, word [ebp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 8]
call fcn.00466dc0
mov esp, ebp
pop ebp
ret 4
Function at 0x468ba0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46cca9
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x48d800]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x27c], ecx
mov ecx, dword [ebp - 0x27c]
call fcn.00468530
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x270]
call fcn.004035c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x270]
push ecx
mov ecx, dword [ebp - 0x27c]
call fcn.00468990
push 0x479288
lea edx, [ebp - 0x270]
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.00404790
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 1
lea ecx, [ebp - 0x26c]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00405060
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x468cf4
mov dword [ebp - 0x274], 1
cmp dword [ebp - 0x274], 0
je 0x468ce8
mov edx, dword [ebp - 0x26c]
and edx, 0x10
je 0x468cba
push 0x47928c
lea eax, [ebp - 0x240]
push eax
call fcn.00428c42
add esp, 8
test eax, eax
je 0x468cba
push 0x479290
lea ecx, [ebp - 0x240]
push ecx
call fcn.00428c42
add esp, 8
test eax, eax
je 0x468cba
lea edx, [ebp - 0x240]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00404320
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 0x27c]
call fcn.00404350
cmp dword [ebp - 0x274], 0
je 0x468cdc
lea ecx, [ebp - 0x26c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x274], eax
jmp 0x468ce3
mov dword [ebp - 0x18], 0
jmp 0x468c51
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x468d11
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x27c]
call fcn.00468aa0
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x278], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00401a90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x270]
call fcn.00401a90
mov eax, dword [ebp - 0x278]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00427b2d
mov esp, ebp
pop ebp
ret 8
Function at 0x468d60
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ccfa
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x48d800]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x284], ecx
mov ecx, dword [ebp - 0x284]
call fcn.00468530
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x270]
call fcn.004035c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x270]
push ecx
mov ecx, dword [ebp - 0x284]
call fcn.00468990
push 0x479278
lea edx, [ebp - 0x270]
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.00404790
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 1
lea ecx, [ebp - 0x26c]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00405060
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x468f50
mov dword [ebp - 0x274], 1
cmp dword [ebp - 0x274], 0
je 0x468f44
mov edx, dword [ebp - 0x26c]
and edx, 0x10
je 0x468f16
push 0x47927c
lea eax, [ebp - 0x240]
push eax
call fcn.00428c42
add esp, 8
test eax, eax
je 0x468f16
push 0x479280
lea ecx, [ebp - 0x240]
push ecx
call fcn.00428c42
add esp, 8
test eax, eax
je 0x468f16
lea edx, [ebp - 0x240]
push edx
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x278]
push ecx
call fcn.00404790
mov byte [ebp - 4], 2
lea edx, [ebp - 0x240]
push edx
mov ecx, dword [ebp - 0x284]
call fcn.00404350
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x278]
push ecx
mov ecx, dword [ebp - 0x284]
call fcn.00468d60
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x468ebe
mov dword [ebp - 0x274], 0
push 0x5c
lea edx, [ebp - 0x278]
push edx
lea eax, [ebp - 0x27c]
push eax
call fcn.004048f0
mov dword [ebp - 0x288], eax
mov ecx, dword [ebp - 0x288]
mov dword [ebp - 0x28c], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x28c]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00403150
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x27c]
call fcn.00401a90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x278]
call fcn.00401a90
cmp dword [ebp - 0x274], 0
je 0x468f38
lea eax, [ebp - 0x26c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x274], eax
jmp 0x468f3f
mov dword [ebp - 0x18], 0
jmp 0x468e11
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x468f6d
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x284]
call fcn.00468aa0
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x280], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00401a90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x270]
call fcn.00401a90
mov eax, dword [ebp - 0x280]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00427b2d
mov esp, ebp
pop ebp
ret 8
Function at 0x10acb000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0x10acb00a
jmp 0x10acd00f
jmp fcn.10857058
Function at 0x10009a90
Capabilities:
Create thread
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017aa00
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x101e40b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], eax
lea esi, [eax + 0xc]
mov dword [ebp - 0x44], esi
mov dword [eax], vtable.RCThreadPoolManage.0
mov dword [eax + 8], 0
push 8
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.10177d89
mov dword [esi], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov dword [ebp - 4], 2
lea eax, [esi + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push eax
call edi
mov dword [ebp - 4], 3
mov esi, dword [ebp - 0x38]
add esi, 0x38
mov dword [ebp - 0x3c], esi
push 0
push 0
mov dword [ebp - 0x40], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10009960
mov dword [esi], eax
mov byte [ebp - 4], 6
lea eax, [esi + 8]
push eax
call edi
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x38]
add esi, 0x58
mov dword [ebp - 0x3c], esi
push 8
mov dword [ebp - 0x40], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.10177d89
mov dword [esi], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov byte [ebp - 4], 9
lea eax, [esi + 0x14]
push eax
call edi
mov byte [ebp - 4], 0xa
xorps xmm0, xmm0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x14], 0
push eax
movups xmmword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x38]
push 0x30
mov byte [eax + 4], 0
call fcn.10177d89
mov esi, eax
add esp, 4
mov dword [ebp - 0x3c], esi
mov byte [ebp - 4], 0xb
lea eax, [esi + 0x14]
push eax
mov dword [esi + 4], 0xffffffff
mov byte [esi + 8], 0
mov dword [esi + 0x10], 0
call edi
mov edi, dword [ebp - 0x38]
push 0
push 0
push 0
push 0
mov dword [esi + 0x2c], edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0xc], eax
mov byte [ebp - 4], 0xa
lea ecx, [edi + 0xc]
push esi
call fcn.100093f0
push esi
push 0
push esi
push 0x1000a4d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10177d47
mov esp, ebp
pop ebp
ret
Function at 0x10017f50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017cfb0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x101e40b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, edi
lea eax, [edi + 0x2c]
neg esi
sbb esi, esi
and esi, eax
mov eax, dword [0x101e9a3c]
test al, 1
jne 0x10017fc7
or eax, 1
mov dword [0x101e9a3c], eax
mov dword [ebp - 4], 0
push 0x1f8
call fcn.10177d89
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.10119d70
mov byte [ebp - 4], 0
mov dword [0x101e9a38], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x101e9a38]
mov dword [eax + 0xc], esi
call fcn.10104ab0
mov edx, dword [edi]
mov ecx, edi
push eax
call dword [edx + 0x90]
push eax
lea ecx, [edi + 0x30]
call fcn.100ff940
push str.userinfobk
lea ecx, [edi + 0x30]
call fcn.100f7210
push str.btnAvatar
lea ecx, [edi + 0x30]
mov dword [edi + 0x7f4], eax
call fcn.100f7210
push str.headoutline
lea ecx, [edi + 0x30]
mov dword [edi + 0x7f8], eax
call fcn.100f7210
push str.usercenterVIPLogo
lea ecx, [edi + 0x30]
mov dword [edi + 0x7fc], eax
call fcn.100f7210
push str.userCenterTabLayoutPage
lea ecx, [edi + 0x30]
mov dword [edi + 0x800], eax
call fcn.100f7210
push str.userCenterUnVipUserName
lea ecx, [edi + 0x30]
mov dword [edi + 0x804], eax
call fcn.100f7210
push str.userCenterUnVipID
lea ecx, [edi + 0x30]
mov dword [edi + 0x808], eax
call fcn.100f7210
push str.userCenterVipUserName
lea ecx, [edi + 0x30]
mov dword [edi + 0x80c], eax
call fcn.100f7210
push str.userCenterVipID
lea ecx, [edi + 0x30]
mov dword [edi + 0x810], eax
call fcn.100f7210
push str.userCenterPdfEditor
lea ecx, [edi + 0x30]
mov dword [edi + 0x814], eax
call fcn.100f7210
push str.userCenterPdfConverter
lea ecx, [edi + 0x30]
mov dword [edi + 0x81c], eax
call fcn.100f7210
push str.userCenterPicEdit
lea ecx, [edi + 0x30]
mov dword [edi + 0x820], eax
call fcn.100f7210
push str.userCenterPicDesigner
lea ecx, [edi + 0x30]
mov dword [edi + 0x824], eax
call fcn.100f7210
push str.userCenterOCR
lea ecx, [edi + 0x30]
mov dword [edi + 0x828], eax
call fcn.100f7210
push str.userCenterLogin
lea ecx, [edi + 0x30]
mov dword [edi + 0x82c], eax
call fcn.100f7210
mov dword [edi + 0x830], eax
lea ecx, [edi + 0x30]
lea eax, [ebp - 0x18]
push eax
call fcn.100f7d70
lea eax, [ebp - 0x18]
push eax
lea ecx, [edi + 0x30]
call fcn.100f7330
mov ecx, eax
call fcn.10104e30
push 1
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [edi + 0x7ec]
push dword [edi + 0x7e0]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001aa10
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017d603
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101e40b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor eax, eax
mov dword [esi + 0x10], 0
push eax
mov dword [esi + 0x14], 7
push 0x101a842c
mov word [esi], ax
call fcn.100056d0
mov dword [ebp - 4], 0
xor eax, eax
lea ecx, [esi + 0x18]
mov dword [ecx + 0x10], 0
push eax
mov dword [ecx + 0x14], 7
push 0x101a842c
mov word [ecx], ax
call fcn.100056d0
mov byte [ebp - 4], 1
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 2
mov dword [esi + 0x48], 3
mov dword [esi + 0x4c], 0x64
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001b7f0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017d7f4
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x101e40b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 4], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 2
lea ecx, [esi + 0x24]
call fcn.10019160
mov byte [ebp - 4], 3
lea edi, [esi + 0x54]
mov dword [ebp - 0x2c], edi
lea ecx, [ebp - 0x28]
push 0x35
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push str.RCHistoryFiles_31F06099_91F2_4157_85EC_7A7F8332F587
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.100056d0
mov byte [ebp - 4], 4
cmp dword [ebp - 0x18], 0
mov dword [edi], 0
mov word [edi + 4], 0
je 0x1001b8d5
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
jmp 0x1001b8d7
xor eax, eax
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi], eax
test eax, eax
je 0x1001b8f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1001b8f9
mov byte [edi + 5], 1
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.10005660
mov byte [ebp - 4], 7
mov edx, dword [esi + 0x1c]
push ecx
mov ecx, dword [esi + 0x18]
call fcn.10014e60
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], eax
mov edx, dword [esi + 4]
mov ecx, dword [esi]
call fcn.10014e60
mov eax, dword [esi]
mov dword [esi + 4], eax
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
call fcn.10014e60
mov ecx, dword [esi + 0xc]
add esp, 4
mov dword [esi + 0x10], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10177d47
mov esp, ebp
pop ebp
ret
Function at 0x1001c0d0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017d958
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x101e40b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x2c], edi
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x10], 0
je 0x1001c260
mov edx, ebx
lea ecx, [ebp - 0x28]
call fcn.10031f90
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov edx, str..pdf
cmovae ecx, dword [ebp - 0x28]
call fcn.100308b0
test al, al
jne 0x1001c179
push ebx
lea ecx, [edi + 0x54]
call fcn.100a9260
mov esi, dword [edi + 0x18]
cmp esi, dword [edi + 0x1c]
je 0x1001c1f2
nop dword [eax]
push ebx
lea ecx, [esi + 0x18]
call fcn.1001eb30
test eax, eax
je 0x1001c16a
add esi, 0x50
cmp esi, dword [edi + 0x1c]
jne 0x1001c150
jmp 0x1001c1f2
push esi
lea eax, [ebp - 0x2c]
push eax
lea ecx, [edi + 0x18]
call fcn.1001adb0
jmp 0x1001c1f2
cmp dword [ebx + 0x10], 0
lea eax, [edi + 0x24]
mov dword [ebp - 0x30], eax
je 0x1001c1ce
mov esi, dword [eax]
mov edi, dword [eax + 4]
cmp esi, edi
je 0x1001c1b6
nop
push ebx
lea ecx, [esi + 0x18]
call fcn.1001eb30
test eax, eax
je 0x1001c1a6
add esi, 0x50
cmp esi, edi
jne 0x1001c190
jmp 0x1001c1b3
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x34]
push esi
push eax
call fcn.1001adb0
mov eax, dword [ebp - 0x30]
mov ecx, eax
call fcn.100197a0
push dword [ebp - 0x30]
push 0x10019670
call dword [sym.imp.USER32.dll_EnumWindows]
mov edi, dword [ebp - 0x2c]
mov esi, dword [edi]
mov edi, dword [edi + 4]
cmp esi, edi
je 0x1001c1ef
push ebx
lea ecx, [esi + 0x18]
call fcn.1001eb30
test eax, eax
je 0x1001c27e
add esi, 0x50
cmp esi, edi
jne 0x1001c1d7
mov edi, dword [ebp - 0x2c]
mov edx, dword [edi + 0x10]
lea esi, [edi + 0xc]
push ecx
mov ecx, dword [esi]
call fcn.10014e60
mov eax, dword [esi]
lea ecx, [ebp - 0x34]
mov dword [esi + 4], eax
push esi
push dword [edi + 0x1c]
push dword [edi + 0x18]
call fcn.1001c3c0
push esi
push dword [edi + 4]
lea ecx, [ebp - 0x34]
push dword [edi]
call fcn.1001c3c0
mov ecx, dword [esi]
add esp, 0x1c
mov edi, dword [esi + 4]
cmp ecx, edi
je 0x1001c251
push dword [ebp - 0x34]
mov esi, edi
mov eax, 0x66666667
sub esi, ecx
imul esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, edi
push eax
call fcn.1001c480
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10005660
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10177d47
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x34]
push esi
push eax
mov ecx, edi
call fcn.1001adb0
jmp 0x1001c1f2
Function at 0x10031d70
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017f6c0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x101e40b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x10], 0
jne 0x10031daa
xor al, al
jmp 0x10031f65
call fcn.100317c0
test al, al
je 0x10031dba
mov al, 1
jmp 0x10031f65
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x10031dc4
mov eax, dword [esi]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push eax
call ebx
test eax, eax
jne 0x10031e17
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.100478b0
test al, al
je 0x10031e08
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10005660
mov ecx, esi
call fcn.100317c0
test al, al
jne 0x10031db3
mov eax, dword [esi + 0x10]
xor edi, edi
mov dword [ebp - 0x44], eax
test eax, eax
je 0x10031ef8
mov ecx, dword [esi + 0x14]
mov eax, esi
cmp ecx, 8
jb 0x10031e3e
mov eax, dword [esi]
mov edx, 0x2f
cmp dx, word [eax + edi*2]
mov edx, 0x5c
je 0x10031e61
mov eax, esi
cmp ecx, 8
jb 0x10031e57
mov eax, dword [esi]
cmp dx, word [eax + edi*2]
jne 0x10031eee
push edi
push 0
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.100088a0
mov dword [ebp - 4], 1
cmp dword [ebp - 0x30], 0
je 0x10031edf
lea ecx, [ebp - 0x40]
call fcn.100315f0
test al, al
jne 0x10031edf
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push eax
call ebx
test eax, eax
jne 0x10031edf
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 2
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.100478b0
test al, al
je 0x10031ed3
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call ebx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.10005660
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10005660
inc edi
cmp edi, dword [ebp - 0x44]
jb 0x10031e32
mov ecx, esi
call fcn.100315f0
test al, al
jne 0x10031f5e
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x10031f0d
mov eax, dword [esi]
push 0
push eax
call ebx
test eax, eax
jne 0x10031f5e
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 3
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.100478b0
test al, al
je 0x10031f4f
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10005660
mov ecx, esi
call fcn.100317c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10177d47
mov esp, ebp
pop ebp
ret
Function at 0x10034c70
Capabilities:
Check os version
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x140
mov eax, dword [0x101e40b0]
xor eax, esp
mov dword [esp + 0x13c], eax
push esi
mov esi, ecx
push 0x118
push 0
lea eax, [esi + 4]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esi], 0x11c
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10034db2
cmp dword [esi + 4], 6
push edi
ja 0x10034cc6
jne 0x10034d4e
cmp dword [esi + 8], 2
jb 0x10034d4e
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
je 0x10034d4e
push 0x10
push 1
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x10034d4e
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10034d4e
movups xmm0, xmmword [0x101b3438]
push eax
movups xmmword [esp + 0x128], xmm0
movups xmm0, xmmword [0x101b3448]
movups xmmword [esp + 0x138], xmm0
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x10034d4e
lea eax, [esp + 0x124]
push eax
lea ecx, [edi + 6]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10034d4e
cmp word [edi + 2], ax
jbe 0x10034d4e
movzx edx, word [edi + 0x32]
movzx ecx, word [edi + 0x30]
movzx eax, word [edi + 0x36]
mov dword [esi + 4], edx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.RtlGetVersion
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x10034d99
push 0x118
lea eax, [esp + 0x10]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 8], 0x11c
lea eax, [esp + 8]
push eax
call edi
test eax, eax
jne 0x10034d99
mov eax, dword [esp + 0x14]
mov dword [esi + 0xc], eax
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x13c]
xor ecx, esp
call fcn.10177d47
add esp, 0x140
ret
mov ecx, dword [esp + 0x140]
xor al, al
pop esi
xor ecx, esp
call fcn.10177d47
add esp, 0x140
ret
Function at 0x10035420
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x101e40b0]
xor eax, esp
mov dword [esp + 0x128], eax
push esi
push 0x110
lea eax, [esp + 0x18]
mov esi, ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x10], 0x114
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1003549e
cmp dword [esp + 0x14], 6
jb 0x1003549e
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x207
push eax
push esi
push str.Progid
mov edx, str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
mov ecx, reloc.gdiplus.dll_Ordinal_1
call fcn.10035280
add esp, 0xc
test al, al
je 0x1003549e
cmp word [esi], 0
jne 0x100354f6
lea eax, [esp + 8]
mov dword [esp + 8], 0x207
push eax
push esi
push 0
mov edx, str.http_shellopencommand
mov ecx, SysReAllocString
call fcn.10035280
add esp, 0xc
test al, al
je 0x100354ca
cmp word [esi], 0
jne 0x100354f6
lea eax, [esp + 8]
mov dword [esp + 8], 0x207
push eax
push esi
push 0
mov edx, str.SoftwareClasses.html
mov ecx, reloc.gdiplus.dll_Ordinal_1
call fcn.10035280
add esp, 0xc
test al, al
je 0x1003550b
cmp word [esi], 0
je 0x1003550b
mov al, 1
pop esi
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.10177d47
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x12c]
xor al, al
pop esi
xor ecx, esp
call fcn.10177d47
mov esp, ebp
pop ebp
ret