joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4165c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43b248
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x44b00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x44cd94]
movzx eax, word [esi + 0x28]
push dword [esi + 0x30]
mov word [ebp - 0x48], ax
movzx eax, word [esi + 0x2a]
mov word [ebp - 0x46], ax
mov al, byte [esi + 0x2c]
mov byte [ebp - 0x44], al
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 0x58]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x38], eax
call fcn.004219a6
add esp, 4
mov dword [ebp - 0x30], eax
lea eax, [esi + 0x3c]
mov dword [ebp - 0x2c], edx
lea ecx, [ebp - 0x28]
push eax
call fcn.004086b0
mov dword [ebp - 4], 0
mov ecx, dword [esi + 8]
cmp dword [esi + 0xc], ecx
je 0x416688
movzx eax, word [ebp - 0x48]
mov word [ecx], ax
movzx eax, word [ebp - 0x46]
mov word [ecx + 2], ax
mov al, byte [ebp - 0x44]
mov byte [ecx + 4], al
mov eax, dword [ebp - 0x40]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x38]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x30]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0x2c]
mov dword [ecx + 0x1c], eax
lea eax, [ebp - 0x28]
push eax
add ecx, 0x20
call fcn.004086b0
add dword [esi + 8], 0x38
jmp 0x416695
lea eax, [ebp - 0x48]
push eax
push ecx
lea ecx, [esi + 4]
call fcn.00417490
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4166cb
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4166c1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4166e5
push edx
push ecx
call fcn.00418710
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004186cf
mov esp, ebp
pop ebp
ret
call fcn.0041fbdb
int3

Function at 0x416b70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x44b00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
cmp dword [eax + 0x14], 8
jb 0x416b8e
mov eax, dword [eax]
push 0x444a34
push eax
call fcn.004210ca
add esp, 8
mov dword [esi + 0x30], eax
test eax, eax
je 0x416c18
push ebx
push eax
push 3
lea eax, [ebp - 8]
push 1
push eax
call fcn.004212ad
mov al, byte [ebp - 8]
add esp, 0x10
cmp al, 0xff
jne 0x416bc6
cmp byte [ebp - 7], 0xfe
jne 0x416bda
mov bl, 6
jmp 0x416bf2
cmp al, 0xef
jne 0x416bda
cmp byte [ebp - 7], 0xbb
jne 0x416bda
cmp byte [ebp - 6], 0xbf
jne 0x416bda
mov bl, 5
jmp 0x416bf2
push 0
push 0
push dword [esi + 0x30]
call fcn.00421c9c
add esp, 8
mov ecx, esi
call fcn.00416d00
mov bl, al
push dword [esi + 0x30]
call fcn.00420ec0
add esp, 4
mov dword [esi + 0x30], 0
mov al, bl
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004186cf
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.004186cf
mov esp, ebp
pop ebp
ret 4
Function at 0x416c90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x44b00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov byte [ebp - 5], 0
push dword [esi + 0x30]
call fcn.00421f47
add esp, 4
test eax, eax
jne 0x416cdf
push dword [esi + 0x30]
lea eax, [ebp - 5]
push 1
push 1
push eax
call fcn.004212ad
add esp, 0x10
add dword [esi + 0x54], eax
movzx eax, byte [ebp - 5]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004186cf
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
xor ecx, ebp
pop esi
call fcn.004186cf
mov esp, ebp
pop ebp
ret
Function at 0x417800
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x44b00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x49ce40]
push esi
mov esi, dword [0x49ce3c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], esi
push edi
mov edi, dword [0x49cda0]
cmp esi, eax
je 0x4179a8
add esi, 0x24
mov ecx, eax
mov dword [ebp - 0x28], esi
push ebx
nop word [eax + eax]
mov eax, dword [esi - 4]
cmp eax, dword [esi]
je 0x417990
push edi
push 4
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x5511
push 1
push eax
call fcn.00421eef
mov eax, dword [esi]
sub eax, dword [esi - 4]
push edi
sar eax, 6
push 4
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push 1
push eax
call fcn.00421eef
push edi
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x550a
push 1
push eax
call fcn.00421eef
mov eax, dword [esi - 0x10]
push edi
push 4
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push 1
push eax
call fcn.00421eef
mov eax, dword [ebp - 0xc]
add esp, 0x40
test eax, eax
je 0x4178c7
cmp dword [esi - 0xc], 8
lea ecx, [eax + eax]
lea eax, [esi - 0x20]
jb 0x4178ba
mov eax, dword [eax]
push edi
push ecx
push 1
push eax
call fcn.00421eef
add esp, 0x10
mov eax, dword [esi]
mov ebx, dword [esi - 4]
mov dword [ebp - 0x2c], eax
cmp ebx, eax
je 0x41798d
lea esi, [ebx + 0x38]
nop word [eax + eax]
push edi
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x550a
push 1
push eax
call fcn.00421eef
mov eax, dword [esi - 0x24]
push edi
push 4
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push 1
push eax
call fcn.00421eef
mov eax, dword [ebp - 0x10]
add esp, 0x20
test eax, eax
je 0x41792e
cmp dword [esi - 0x20], 8
lea ecx, [eax + eax]
lea eax, [esi - 0x34]
jb 0x417921
mov eax, dword [eax]
push edi
push ecx
push 1
push eax
call fcn.00421eef
add esp, 0x10
push edi
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x550a
push 1
push eax
call fcn.00421eef
mov eax, dword [esi - 4]
push edi
push 4
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.00421eef
mov eax, dword [ebp - 0x14]
add esp, 0x20
test eax, eax
je 0x41797b
cmp dword [esi], 8
lea ecx, [eax + eax]
lea eax, [esi - 0x14]
jb 0x41796e
mov eax, dword [eax]
push edi
push ecx
push 1
push eax
call fcn.00421eef
add esp, 0x10
add ebx, 0x40
add esi, 0x40
cmp ebx, dword [ebp - 0x2c]
jne 0x4178e0
mov esi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
add esi, 0x2c
add eax, 0x2c
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], eax
cmp eax, ecx
jne 0x417840
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004186cf
mov esp, ebp
pop ebp
ret 4

Function at 0x430424
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004300e7

Function at 0x43042f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00430268

Function at 0x432a89
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00432737
Function at 0x1000a720
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1000a744
xor eax, eax
jmp 0x1000a7c4
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1000a75b
xor eax, eax
jmp 0x1000a7c4
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x1000a7a7
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x1000a7a7
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x1000a77e
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x1000a7b3
xor eax, eax
jmp 0x1000a7c4
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x1000a7c1
xor eax, eax
jmp 0x1000a7c4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x1000d770
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100399cb
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x1004b008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x22c], ecx
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.10022310
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [0x1004bd78]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
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_PathRemoveFileSpecW]
push str.utilsTool.exe
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call fcn.10012840
add esp, 4
test eax, eax
jne 0x1000d816
xor eax, eax
jmp 0x1000d8c7
lea ecx, [ebp - 0x21c]
call fcn.1000c1d0
mov dword [ebp - 4], 0
push str.RunConfigCenter
push str.pluginSupport.dll
push str.__dll_s___entry_s
lea ecx, [ebp - 0x21c]
push ecx
call fcn.1000cb60
add esp, 0x10
push 1
push 0
lea ecx, [ebp - 0x21c]
call fcn.10008040
push eax
lea edx, [ebp - 0x218]
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x220]
push eax
push str.Start_configcenter_by_rundll._hRet_d
call fcn.1000def0
add esp, 8
cmp dword [ebp - 0x220], 0x20
jbe 0x1000d899
mov dword [ebp - 0x224], 1
jmp 0x1000d8a3
mov dword [ebp - 0x224], 0
mov ecx, dword [ebp - 0x224]
mov dword [ebp - 0x228], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.10007bf0
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001352a
mov esp, ebp
pop ebp
ret
Function at 0x1000f170
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10039c6b
mov eax, dword fs:[0]
push eax
sub esp, 0x620
mov eax, dword [0x1004b008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x62c]
push 1
push eax
call fcn.10020cd0
add esp, 8
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push 0x1003fb64
push dword [ebp - 0x62c]
mov dword [ebp - 4], 0
push eax
call esi
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.10022310
add esp, 0xc
lea eax, [ebp - 0x218]
push str.ConfigCenter.log.on
push eax
lea eax, [ebp - 0x420]
push eax
call esi
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 0x208
mov dword [0x1004bdc8], eax
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.10022310
add esp, 0xc
lea eax, [ebp - 0x628]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, eax
push str._cfgcenter.log
push esi
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionW]
push esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000f270
sub eax, edx
lea ecx, [edi + 0x2c]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.1000a500
mov edx, dword [ebp - 0x62c]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000f2b4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.1001352a
mov esp, ebp
pop ebp
ret
Function at 0x1000f560
Capabilities:
Check if file exists
Delete file
Get file size

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 8
push esi
lea esi, [ecx + 0x2c]
mov ecx, dword [eax]
mov eax, dword [esi]
push edi
lea edx, [ecx - 0x10]
lea edi, [eax - 0x10]
cmp edx, edi
je 0x1000f5c4
cmp dword [edi + 0xc], 0
push ebx
lea ebx, [edi + 0xc]
jl 0x1000f5b6
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x1000f5b6
push edx
call fcn.100089c0
add esp, 4
mov dword [ebp + 8], eax
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x1000f5af
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
jmp 0x1000f5c3
push dword [ecx - 0xc]
push ecx
mov ecx, esi
call fcn.1000a500
mov eax, dword [esi]
pop ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000f62a
mov eax, dword [esi]
xorps xmm0, xmm0
movlpd qword [ebp - 8], xmm0
cmp dword [eax - 0xc], 0
je 0x1000f62a
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1000f611
lea eax, [ebp - 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
jl 0x1000f62a
jg 0x1000f622
cmp dword [ebp - 8], 0x40000000
jbe 0x1000f62a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x1000f870
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 8], 0
jne 0x1000f894
lea eax, [esi + 0xc]
push eax
push 0
push esi
push 0x1000f900
push 0
push 0
call fcn.100269c4
add esp, 0x18
mov dword [esi + 8], eax
pop esi
ret

Function at 0x10010ce0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push dword [ebp + 8]
mov esi, ecx
push 0
push 0
push 1
mov eax, dword [esi + 0x1c]
push 1
push 0
push 0
push 0xcf0000
push eax
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 0xe0], eax
test eax, eax
jne 0x10010d18
pop esi
pop ebp
ret 4
push esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push dword [esi + 0xe0]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
pop esi
pop ebp
ret 4
Function at 0x10010d40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
push dword [esi + 0xe0]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x10010e4a
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x10010d66
xor ecx, ecx
jmp 0x10010d80
mov ecx, edx
push ebx
lea ebx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10010d70
sub ecx, ebx
sar ecx, 1
pop ebx
push ecx
push edx
lea ecx, [esi + 0x1c]
call fcn.1000a500
mov edi, dword [ebp + 8]
test edi, edi
je 0x10010dae
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10010d96
sub ecx, edx
sar ecx, 1
push ecx
push edi
mov ecx, esi
call fcn.1000a500
push dword [0x1004be14]
mov ecx, esi
call fcn.10010c60
test ax, ax
jne 0x10010dd5
push 0x1003fc44
call fcn.1000def0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
push dword [0x1004be14]
mov ecx, esi
call fcn.10010ce0
test eax, eax
jne 0x10010dfb
push 0x1003fc54
call fcn.1000def0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
push edi
push edi
call dword [sym.imp.USER32.dll_FindWindowW]
cmp dword [esi + 0x78], 0
mov dword [esi + 0x20], eax
jne 0x10010e25
push 0
push 0
push esi
push 0x10011a20
push 0
push 0
call fcn.100269c4
add esp, 0x18
mov dword [esi + 0x78], eax
cmp dword [esi + 0xd8], 0
jne 0x10010e4a
push 0
push 0
push esi
push 0x10011020
push 0
push 0
call fcn.100269c4
add esp, 0x18
mov dword [esi + 0xd8], eax
pop edi
mov eax, 1
pop esi
pop ebp
ret 8
Function at 0x10010e60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 0xe0]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x10010ff7
mov edx, dword [ebp + 0xc]
push ebx
push edi
test edx, edx
jne 0x10010e87
xor ecx, ecx
jmp 0x10010e9f
mov ecx, edx
lea ebx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10010e90
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x1c]
call fcn.1000a500
mov edx, dword [ebp + 8]
test edx, edx
je 0x10010ece
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10010eb5
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 4]
call fcn.1000b770
mov eax, dword [esi + 0x1c]
mov ebx, dword [esi]
sub ebx, 0x10
mov dword [ebp + 8], eax
lea edi, [eax - 0x10]
cmp edi, ebx
je 0x10010f66
cmp dword [ebx + 0xc], 0
jl 0x10010f5b
mov ecx, dword [edi]
cmp ecx, dword [ebx]
jne 0x10010f5b
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
mov ecx, eax
lea eax, [edi + 0xc]
jl 0x10010f09
cmp ecx, dword [edi]
jne 0x10010f09
lock inc dword [eax]
jmp 0x10010f3d
mov eax, dword [ecx]
lea edx, [edi + 4]
push 2
push dword [edx]
mov dword [ebp + 0xc], edx
call dword [eax]
mov edi, eax
test edi, edi
je 0x10011001
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov dword [edi + 4], eax
mov eax, dword [ecx]
inc eax
push eax
push dword [ebp + 8]
push eax
lea eax, [edi + 0x10]
push eax
call fcn.10008b20
add esp, 0x10
or eax, 0xffffffff
lea ecx, [ebx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x10010f54
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [edi + 0x10]
mov dword [esi], eax
jmp 0x10010f66
push dword [eax - 0xc]
mov ecx, esi
push eax
call fcn.1000a500
push dword [0x1004be14]
mov ecx, esi
call fcn.10010c60
pop edi
pop ebx
test ax, ax
jne 0x10010f8e
push 0x1003fc44
call fcn.1000def0
add esp, 4
xor eax, eax
pop esi
pop ebp
ret 8
push dword [0x1004be14]
mov ecx, esi
call fcn.10010ce0
test eax, eax
jne 0x10010fb3
push 0x1003fc54
call fcn.1000def0
add esp, 4
xor eax, eax
pop esi
pop ebp
ret 8
cmp dword [esi + 0x78], 0
jne 0x10010fd2
push 0
push 0
push esi
push 0x10011a20
push 0
push 0
call fcn.100269c4
add esp, 0x18
mov dword [esi + 0x78], eax
cmp dword [esi + 0xd8], 0
jne 0x10010ff7
push 0
push 0
push esi
push 0x10011020
push 0
push 0
call fcn.100269c4
add esp, 0x18
mov dword [esi + 0xd8], eax
mov eax, 1
pop esi
pop ebp
ret 8
call fcn.1000a650
int3
Function at 0x10012840
Capabilities:
Check if file exists
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10048988
push 0x100225f0
mov eax, dword fs:[0]
push eax
sub esp, 0x57c
mov eax, dword [0x1004b008]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
test esi, esi
je 0x100129ba
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100129ba
push 0x118
push 0
lea eax, [ebp - 0x544]
push eax
call fcn.10022310
add esp, 0xc
mov dword [ebp - 0x548], 0x11c
lea eax, [ebp - 0x548]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x544], 6
jae 0x100128d3
mov eax, 1
jmp 0x100129bc
mov dword [ebp - 0x58c], 0x10
mov dword [ebp - 0x588], esi
mov dword [ebp - 0x584], 0
mov dword [ebp - 0x580], 0
mov dword [ebp - 0x42c], 0xaac56b
mov dword [ebp - 0x428], 0x11d0cd44
mov dword [ebp - 0x424], 0xc000c28c
mov dword [ebp - 0x420], 0xee95c24f
xor eax, eax
mov dword [ebp - 0x57c], 0x30
mov dword [ebp - 0x578], eax
mov dword [ebp - 0x574], eax
mov dword [ebp - 0x570], 2
mov dword [ebp - 0x56c], eax
mov dword [ebp - 0x568], 1
mov dword [ebp - 0x560], 1
mov dword [ebp - 0x55c], eax
mov dword [ebp - 0x558], eax
or eax, 0x1080
mov dword [ebp - 0x554], eax
mov dword [ebp - 0x550], 0
lea eax, [ebp - 0x58c]
mov dword [ebp - 0x564], eax
xor edi, edi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x57c]
push eax
lea eax, [ebp - 0x42c]
push eax
push edi
call sub.WINTRUST.dll_WinVerifyTrust
test eax, eax
je 0x100129d8
cmp eax, 0x800b0101
je 0x100129d8
cmp eax, 0x800b0109
je 0x100129d8
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1001352a
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x55c]
call sub.WINTRUST.dll_WTHelperProvDataFromStateData
test eax, eax
je 0x10012a6f
cmp dword [eax + 0x40], 0
jbe 0x10012a6f
mov eax, dword [eax + 0x44]
test eax, eax
je 0x10012a6f
mov eax, dword [eax + 0x28]
test eax, eax
je 0x10012a6f
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x10012a6f
cmp dword [eax + 0xc], 0
jbe 0x10012a6f
mov eax, dword [ecx]
test eax, eax
je 0x10012a6f
cmp dword [eax + 0xc], 0
jbe 0x10012a6f
mov eax, dword [eax + 0x10]
test eax, eax
je 0x10012a6f
mov eax, dword [eax]
test eax, eax
je 0x10012a6f
mov esi, dword [eax + 4]
test esi, esi
je 0x10012a6f
push 0x400
push 0
lea eax, [ebp - 0x41c]
push eax
call fcn.10022310
add esp, 0xc
push 0x200
lea eax, [ebp - 0x41c]
push eax
push 0
push 0
push 4
push esi
call dword [sym.imp.CRYPT32.dll_CertGetNameStringW]
dec eax
mov ecx, 1
cmp eax, 0x1fe
cmovbe edi, ecx
mov dword [ebp - 0x54c], edi
mov esi, dword [ebp - 0x55c]
push 0x30
push 0
lea eax, [ebp - 0x57c]
push eax
call fcn.10022310
add esp, 0xc
mov dword [ebp - 0x57c], 0x30
mov dword [ebp - 0x55c], esi
mov dword [ebp - 0x560], 2
lea eax, [ebp - 0x57c]
push eax
lea eax, [ebp - 0x42c]
push eax
push 0
call sub.WINTRUST.dll_WinVerifyTrust
mov dword [ebp - 4], 0xfffffffe
mov eax, edi
jmp 0x100129bc
Function at 0x10014b00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003a0e8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x1004b008]
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, dword [ebp + 8]
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x64], 0x610048
mov dword [ebp - 0x60], 0x6f006c
mov dword [ebp - 0x5c], 0x700077
mov dword [ebp - 0x58], 0x6f0043
mov dword [ebp - 0x54], 0x66006e
mov dword [ebp - 0x50], 0x670069
mov dword [ebp - 0x4c], 0x650043
mov dword [ebp - 0x48], 0x74006e
mov dword [ebp - 0x44], 0x720065
mov dword [ebp - 0x40], 0x740053
mov dword [ebp - 0x3c], 0x620075
mov dword [ebp - 0x38], 0x720050
mov dword [ebp - 0x34], 0x660065
mov dword [ebp - 0x30], 0x780069
mov dword [ebp - 0x2c], 0x6e0057
mov dword [ebp - 0x28], 0x430064
mov dword [ebp - 0x24], 0x61006c
mov dword [ebp - 0x20], 0x730073
mov dword [ebp - 0x1c], 0x61004e
mov dword [ebp - 0x18], 0x65006d
mov dword [ebp - 0x14], 0x5f
call fcn.10009540
mov ecx, eax
test ecx, ecx
je 0x10014c30
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x64]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.10008970
test al, al
jne 0x10014c10
lea ecx, [ebp - 0x64]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10014bf5
sub ecx, edx
lea eax, [ebp - 0x64]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.1000a500
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.1001352a
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.100088f0
int3