joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413870
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43553c
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x44600c]
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
test esi, esi
je 0x413a47
cmp word [esi], 0
je 0x413a47
lea ecx, [ebp - 0x244]
call fcn.004050a0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x238], 0
test eax, eax
je 0x4138e7
push eax
mov eax, dword [ebp - 0x234]
lea ecx, [ebp - 0x234]
call dword [eax + 0xc]
movzx eax, word [esi]
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 0
cmp eax, 0x5c
je 0x413920
test ax, ax
je 0x413952
cmp word [esi + 2], 0x3a
jne 0x413952
cmp word [esi + 4], 0x5c
jne 0x413952
push 0x5c
push esi
call fcn.00420e2b
add esp, 8
test eax, eax
je 0x413952
cmp eax, esi
jbe 0x41393e
cmp word [eax - 2], 0x3a
lea ecx, [eax - 2]
cmovne eax, ecx
sub eax, esi
lea ecx, [ebp - 0x244]
add eax, 2
sar eax, 1
push eax
push esi
call fcn.00415990
mov edi, dword [ebp - 0x238]
test edi, edi
jne 0x413975
cmp dword [ebp - 0x220], edi
jne 0x41396b
mov edi, 0x43be60
jmp 0x413975
mov edi, dword [ebp - 0x228]
test edi, edi
je 0x4139a5
cmp word [edi], 0
je 0x4139a5
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x4139a5
cmp word [edi], 0
je 0x41399e
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov edi, 1
jmp 0x4139a7
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test edi, edi
je 0x4139cb
cmp word [ebp - 0x218], 0
je 0x4139cb
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [ebp - 4], 1
lea eax, [ebp - 0x234]
mov dword [ebp - 0x248], eax
mov dword [ebp - method.CWConstString.virtual_0], vtable.CVolMem.0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x228]
test eax, eax
je 0x413a06
push eax
mov eax, dword [ebp - 0x234]
lea ecx, [ebp - 0x234]
call dword [eax + 0xc]
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 0
mov byte [ebp - 4], 1
mov dword [ebp - method.CWConstString.virtual_0], vtable.CVolObject.0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov dword [ebp - method.CWConstString.virtual_0], vtable.CVolObject.0
jmp 0x413a49
xor eax, eax
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.0041fa7d
mov esp, ebp
pop ebp
ret
Function at 0x414430
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
cmp ecx, dword [esi + 0x14]
jne 0x414449
mov eax, dword [esi + 0xc]
pop esi
mov esp, ebp
pop ebp
ret 4
push edi
mov edi, dword [esi + 0xc]
test ecx, ecx
jne 0x41447c
test edi, edi
je 0x41445d
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0xc]
pop edi
mov dword [esi + 0xc], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
pop esi
mov esp, ebp
pop ebp
ret 4
test edi, edi
jne 0x414490
push ecx
mov ecx, esi
call fcn.004143d0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push ebx
mov ebx, dword [esi + 0x18]
mov eax, 0x40
test ebx, ebx
cmovle ebx, eax
mov eax, dword [esi + 0x10]
cmp eax, ecx
jl 0x4144b9
sub eax, ecx
cmp eax, ebx
jg 0x4144b9
pop ebx
mov eax, edi
mov dword [esi + 0x14], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, ecx
cdq
idiv ebx
mov eax, dword [esi]
sub ebx, edx
add ebx, ecx
mov edx, dword [eax + 8]
cmp eax, vtable.CVolMem.0
jne 0x41456c
cmp edi, dword [0x44824c]
jb 0x414537
cmp edi, dword [0x448250]
jae 0x414537
cmp ebx, dword [0x448258]
jle 0x41454a
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 4], eax
test eax, eax
je 0x414565
push dword [0x448258]
push edi
push eax
call fcn.004235e0
push 0x44825c
call fcn.00414c70
mov eax, dword [0x448254]
add esp, 0x10
mov dword [edi], eax
mov dword [0x448254], edi
mov edi, dword [ebp - 4]
mov dword [0x44825c], 1
jmp 0x41454a
push ebx
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edi, eax
test edi, edi
je 0x414565
mov eax, dword [ebp + 8]
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], eax
mov eax, edi
pop ebx
mov dword [esi + 0xc], edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0xffffffffffffffff
call fcn.00423ea3
push ebx
push edi
mov ecx, esi
call edx
mov edi, eax
jmp 0x41454e
Function at 0x417610
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x435a56
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x44600c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov byte [ebp - 4], 1
push 0x60
push 0
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
call ebx
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x4176bc
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x4176bc
call fcn.004169e0
mov edi, eax
jmp 0x4177f1
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4176df
call fcn.004169e0
jmp 0x4177e4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x4176fd
call fcn.004169e0
jmp 0x4177e4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x41c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x41771e
mov edi, 0x8007000e
jmp 0x4177e6
mov byte [ebp - 4], 2
mov ecx, 2
mul ecx
mov dword [ebp - 0x438], eax
mov dword [ebp - 0x434], edx
test edx, edx
ja 0x417835
jb 0x417748
cmp eax, 0xffffffff
ja 0x417835
cmp eax, 0x400
jbe 0x417764
push eax
lea ecx, [ebp - 0x418]
call fcn.00419b30
mov dword [ebp - 4], 1
jmp 0x417798
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 1
jmp 0x417798
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x4177a9
mov edi, 0x8007000e
jmp 0x4177e6
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x4177c4
call fcn.004169e0
jmp 0x4177e4
xor edx, edx
mov eax, dword [ebp - 0x418]
mov word [eax + ecx*2], dx
push dword [ebp + 0x14]
push dword [ebp - 0x418]
lea ecx, [ebp - 0x42c]
call fcn.004184e0
mov edi, eax
test esi, esi
je 0x4177f1
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x41780e
lea ecx, [ebp - 0x418]
call fcn.00419b20
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041fa7d
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.0040e620
int3
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x431072
nop
nop
mov ebx, 0x40915c
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x6b56696
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x431060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4310d2
nop
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x1fbe2385
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x10009470
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c05e0
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x100e716c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0x30]
or eax, 0xffffffff
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100094b0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, esi
call fcn.10009340
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1000a2c0
Capabilities:
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c0806
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x100e716c]
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 ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
xor eax, eax
mov dword [ebp - 4], 0
cmp dword [ecx + 0x2c], eax
lea ecx, [ebp - 0x230]
push 0x2001f
setne al
push str.SoftwareMicrosoftWindowsCurrentVersionRun
add eax, 0x80000001
push eax
call fcn.1000d820
mov edi, dword [ebp - 0x230]
test eax, eax
jne 0x1000a457
call fcn.1000d330
mov ecx, eax
test ecx, ecx
je 0x1000a484
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
push dword [esi + 8]
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 1
push dword [esi]
push str.__s___s
push eax
call fcn.1000d240
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1009cb00
add esp, 0x1c
mov dword [ebp - 0x21c], 0x208
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x224]
push eax
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000a3e6
mov eax, dword [ebp - 0x224]
cmp eax, 1
je 0x1000a3d4
cmp eax, 2
jne 0x1000a3e6
cmp dword [ebp - 0x21c], 0
jne 0x1000a3e6
xor eax, eax
mov word [ebp - 0x218], ax
mov esi, dword [ebp - 0x220]
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.100a0356
add esp, 8
test eax, eax
je 0x1000a434
test esi, esi
je 0x1000a434
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000a410
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1000a450
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 1
jmp 0x1000a459
xor esi, esi
test edi, edi
je 0x1000a464
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
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.1007a7c6
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.1000ca10
int3
Function at 0x1000d410
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c0d18
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100e716c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp word [0x1010f1c0], 0
jne 0x1000d454
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x100
push eax
push 0x1010f1c0
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
call fcn.1000d330
mov ecx, eax
test ecx, ecx
je 0x1000d4c0
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
push 0x1010f1c0
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.1000ca30
test al, al
jne 0x1000d4ac
mov ecx, 0x1010f1c0
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000d490
sub ecx, edx
sar ecx, 1
push ecx
push 0x1010f1c0
mov ecx, esi
call fcn.1000dd30
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.1000ca10
int3
Function at 0x1000d560
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c0d61
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x100e716c]
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 ebx, ecx
push str.YxhGametray
push dword [ebx]
call fcn.100a0356
add esp, 8
test eax, eax
je 0x1000d5d1
push str.LeyouGametray
push dword [ebx]
call fcn.100a0356
add esp, 8
test eax, eax
je 0x1000d5d1
push dword [ebx + 0x14]
push 0xffffffffffffffff
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
neg eax
sbb eax, eax
inc eax
jmp 0x1000d740
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1009cb00
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [ebx + 0x14]
push 0x104
push eax
push str.true
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push str.false
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
xor ecx, ecx
test eax, eax
setne cl
mov dword [ebp - 0x24c], ecx
test eax, eax
je 0x1000d73e
call fcn.10079320
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000d738
push 0x57
push str.d:jenkins.jenkinsworkspacepets_helpercommonhelper_autorunmanger_autorunmanager.cpp
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.1000f640
push 3
push 0x100c7a08
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1000f640
mov byte [ebp - 4], 1
call fcn.10079320
mov edi, eax
lea ecx, [ebp - 0x2e4]
push 0x32c
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.10008620
mov esi, eax
push str.IsDisable_
push esi
mov byte [ebp - 4], 2
call fcn.10009ce0
mov ecx, dword [ebx + 0x14]
mov edx, 0x100c7968
test ecx, ecx
cmovne edx, ecx
push edx
push esi
call fcn.10007550
push 0x100c7fec
push esi
call fcn.10009ce0
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.10007550
mov edx, dword [edi]
add esp, 0x20
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x2e4]
call fcn.10009e10
lea ecx, [ebp - 0x230]
call fcn.100090a0
lea ecx, [ebp - 0x248]
call fcn.100090a0
mov ecx, dword [ebp - 0x24c]
mov eax, ecx
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.1007a7c6
mov esp, ebp
pop ebp
ret
Function at 0x1000e020
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1000e079
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1000e079
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x1000e06a
cmp esi, edx
jae 0x1000e079
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x1000e058
cmp esi, edx
jae 0x1000e079
cmp word [esi], 0
je 0x1000e079
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x10013340
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x100e716c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x6c], 0x490044
push ebx
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x6c]
mov eax, 0x1010f690
mov dword [ebp - 0x68], 0x410044
push edi
mov dword [ebp - 0x64], 0x410057
mov edx, 0x33
mov dword [ebp - 0x60], 0x4c004c
sub esi, eax
mov dword [ebp - 0x5c], 0x410050
mov dword [ebp - 0x58], 0x450050
mov dword [ebp - 0x54], 0x5f0052
mov dword [ebp - 0x50], 0x430042
mov dword [ebp - 0x4c], 0x300042
mov dword [ebp - 0x48], 0x390041
mov dword [ebp - 0x44], 0x330035
mov dword [ebp - 0x40], 0x37002d
mov dword [ebp - 0x3c], 0x370035
mov dword [ebp - 0x38], 0x2d0039
mov dword [ebp - 0x34], 0x380034
mov dword [ebp - 0x30], 0x330062
mov dword [ebp - 0x2c], 0x38002d
mov dword [ebp - 0x28], 0x440034
mov dword [ebp - 0x24], 0x2d0043
mov dword [ebp - 0x20], 0x390037
mov dword [ebp - 0x1c], 0x390041
mov dword [ebp - 0x18], 0x330034
mov dword [ebp - 0x14], 0x460038
mov dword [ebp - 0x10], 0x440033
mov dword [ebp - 0xc], 0x390037
nop word [eax + eax]
lea ecx, [edx + 0x7fffffcb]
test ecx, ecx
je 0x1001343e
movzx ecx, word [esi + eax]
test cx, cx
je 0x1001343e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x10013420
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007a7c6
mov esp, ebp
pop ebp
ret
Function at 0x10017520
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x100e716c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
push 0x30
push 0
push esi
call fcn.1009cb00
push 0x110
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], 0x114
push 0
push eax
call fcn.1009cb00
add esp, 0x18
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10017583
cmp dword [ebp - 0x114], 6
mov eax, 0x30
jae 0x10017588
mov eax, 0x2c
mov ecx, dword [ebp + 0x10]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
test ecx, ecx
jne 0x100175a6
push edi
call dword [sym.imp.USER32.dll_GetParent]
or dword [esi + 4], 1
mov ecx, edi
jmp 0x100175a8
mov eax, edi
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0xc], ecx
test eax, eax
je 0x100175bc
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x10], xmm0
mov ecx, dword [0x101133e0]
mov eax, esi
mov dword [esi + 0x20], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esi + 0x24], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esi + 0x28], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1007a7c6
mov esp, ebp
pop ebp
ret 0x18
Function at 0x1001a2d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c1656
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x100e716c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push esi
mov byte [ebp - 4], 1
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x1001a37c
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x1001a37c
call fcn.10018440
mov esi, eax
jmp 0x1001a46c
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x1001a39f
call fcn.10018440
jmp 0x1001a45f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x1001a3bd
call fcn.10018440
jmp 0x1001a45f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x1001a3de
mov esi, 0x8007000e
jmp 0x1001a461
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.10018240
jmp 0x1001a408
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x1001a41f
mov esi, 0x8007000e
jmp 0x1001a461
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x1001a43f
call fcn.10018440
jmp 0x1001a45f
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.1001a130
mov esi, eax
test edi, edi
je 0x1001a46c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1001a490
lea ecx, [ebp - 0x418]
call fcn.10018ac0
nop word [eax + eax]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1007a7c6
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1001efc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c1938
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100e716c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0xc], 0
je 0x1001f04c
lea ecx, [ebp - 0xd]
call fcn.1001eee0
mov edx, eax
test edx, edx
jne 0x1001f01c
xor ecx, ecx
push ecx
push edx
lea ecx, [edi + 0x10]
call fcn.1000dd30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001f021
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x10]
call fcn.1000dd30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 4]
sub eax, 0x10
push eax
call fcn.1000cb70
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001f0b0
lea ecx, [ebp - 0xd]
call fcn.1001ee00
mov edx, eax
lea ebx, [edi + 0x10]
test edx, edx
jne 0x1001f091
xor ecx, ecx
push ecx
push edx
mov ecx, ebx
call fcn.1000dd30
jmp 0x1001f0d0
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001f096
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, ebx
call fcn.1000dd30
jmp 0x1001f0d0
push esi
call fcn.1006e5f0
add esp, 4
test eax, eax
je 0x1001f0d0
mov eax, dword [edi]
push 0
push 0
push esi
push 1
push eax
push eax
call fcn.1001f3a0
add esp, 0x18
or eax, 0xffffffff
add esi, 0xfffffff0
mov dword [ebp - 4], eax
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1001f0eb
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret