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

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 4], 0
je 0x1002d6e8
push ebx
push 0
push 0
push 0x12
push dword [esi]
mov dword [esi + 0xc], 1
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
cmp dword [esi + 8], 0
mov dword [ebp - 4], eax
je 0x1002d6d9
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax + eax]
call ebx
sub eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
jae 0x1002d6d4
push 0xa
call edi
cmp dword [esi + 8], 0
jne 0x1002d6c0
cmp dword [esi + 8], 0
pop edi
pop ebx
jne 0x1002d6e8
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x1002ff70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10153893
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x10198e28]
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
cmp dword [edi + 8], 0
mov ecx, dword [ebp + 0xc]
je 0x10030068
call fcn.1005e790
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100300ee
push 0x5e
push str.d:jenkins.jenkinsworkspacelib_commonwnd_plugin_realeasewnd_pluginmediaadmediaadmgr.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.1001dfc0
push 3
push 0x1015c718
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1001dfc0
mov byte [ebp - 4], 1
call fcn.1005e790
mov edi, eax
lea ecx, [ebp - 0xdc]
push 0x40
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10011410
mov esi, eax
push str.thread_is_running.
push esi
mov byte [ebp - 4], 2
call fcn.10013bd0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.10014090
lea ecx, [ebp - 0x28]
call fcn.10005050
lea ecx, [ebp - 0x40]
call fcn.10005050
jmp 0x100300ee
mov eax, dword [ebp + 8]
push ecx
lea ecx, [edi + 0x54]
mov dword [edi], eax
call fcn.10005210
mov ecx, edi
call fcn.10030250
push dword [edi + 0x54]
lea eax, [ebp - 0x44]
push str.ex2_s
push eax
call fcn.100354c0
add esp, 0xc
push 0
push 0
push 1
push dword [eax]
mov dword [ebp - 4], 3
push str.360ad_request
push 0xa
call fcn.100148c0
mov ecx, eax
call fcn.1005f6a0
mov edx, dword [ebp - 0x44]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100300d5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0
push edi
push 0x10031770
push 0
push 0
call fcn.1013a342
add esp, 0x18
mov dword [edi + 8], 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.1011bafc
mov esp, ebp
pop ebp
ret 8
Function at 0x10033b70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x81c
mov eax, dword [0x10198e28]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x814], ecx
mov dword [ebp - 0x810], eax
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x80c], edi
test ecx, ecx
je 0x10033c7a
test eax, eax
je 0x10033c7a
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.101293f0
add esp, 0xc
mov dword [ebp - 0x80c], 1
mov dword [ebp - 0x818], 0x200000
mov dword [ebp - 0x808], 0
test esi, esi
je 0x10033c0b
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10033bf4
sub ecx, edx
mov eax, 0
sar ecx, 1
cmove esi, eax
cmp dword [ebp + 0x1c], 0
lea eax, [ebp - 0x808]
push eax
mov ecx, 0x20019
mov eax, 0x20119
cmove eax, ecx
push eax
push 0
push dword [ebp - 0x810]
push dword [ebp - 0x814]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10033c7a
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x80c]
push eax
push 0
push esi
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x808]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x10033c7a
lea eax, [ebp - 0x804]
jmp 0x10033c84
test ebx, ebx
mov eax, 0x1015b988
cmovne eax, ebx
push eax
mov ecx, edi
call fcn.10004be0
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1011bafc
mov esp, ebp
pop ebp
ret
Function at 0x10033dc0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x101899d8
push 0x10129b00
mov eax, dword fs:[0]
push eax
sub esp, 0x848
mov eax, dword [0x10198e28]
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]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x20]
mov dword [ebp - 4], 0
test esi, esi
je 0x10033f31
cmp word [esi], 0
je 0x10033f31
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10033e20
sub ecx, edx
sar ecx, 1
cmp ecx, 0x104
ja 0x10033f31
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10033f31
push esi
call fcn.1005ae90
add esp, 4
test eax, eax
je 0x10033f31
push 0x800
push 0
lea eax, [ebp - 0x81c]
push eax
call fcn.101293f0
push esi
push str.__s_
push 0x3ff
lea eax, [ebp - 0x81c]
push eax
call fcn.10033fd0
push 0x3c
push 0
lea eax, [ebp - 0x858]
push eax
call fcn.101293f0
add esp, 0x28
mov dword [ebp - 0x858], 0x3c
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x848], eax
mov dword [ebp - 0x84c], str.runas
mov dword [ebp - 0x844], ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x83c], eax
mov dword [ebp - 0x854], 0x440
lea eax, [ebp - 0x858]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
test esi, esi
je 0x10033ef8
cmp dword [ebp + 0x1c], 0
je 0x10033ef8
push 0xffffffffffffffff
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test edi, edi
je 0x10033f0d
test esi, esi
je 0x10033f1d
push edi
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test esi, esi
je 0x10033f1d
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x10033f3a
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.1011bafc
mov esp, ebp
pop ebp
ret
Function at 0x100389b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101545d8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10198e28]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
test edi, edi
je 0x100389e8
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
push 0x38
mov dword [ebp - 4], 0
mov ebx, dword [eax]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 8], eax
call fcn.1011bb0d
mov esi, eax
add esp, 4
mov dword [ebp + 0xc], esi
test esi, esi
je 0x10038a3a
mov ecx, dword [ebp + 8]
lea eax, [esi + 0x10]
mov dword [esi + 4], 1
mov dword [esi + 8], 1
mov dword [esi], vtable.std::_Ref_count_obj_class_std::function_void____cdecl___void___.0
mov dword [eax], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8CWndPluginTrayClient__AEXXZPAV3__std__X__V_std__.0
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0x24], eax
jmp 0x10038a3c
xor esi, esi
lea eax, [esi + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], eax
test esi, esi
je 0x10038a4d
lock inc dword [esi + 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x28]
inc eax
mov byte [ebp - 4], 2
cmp ecx, eax
ja 0x10038a6f
push 1
lea ecx, [edi + 0x20]
call fcn.1003d100
mov ecx, dword [edi + 0x28]
lea eax, [ecx - 1]
and dword [edi + 0x2c], eax
mov ecx, dword [edi + 0x30]
add ecx, dword [edi + 0x2c]
mov eax, dword [edi + 0x28]
dec eax
and ecx, eax
lea eax, [ecx*4]
mov ecx, dword [edi + 0x24]
mov dword [ebp + 8], eax
cmp dword [ecx + eax], 0
jne 0x10038aac
push 0x28
call fcn.1011bb0d
mov ecx, dword [edi + 0x24]
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
mov eax, edx
mov ecx, dword [edi + 0x24]
mov eax, dword [eax + ecx]
lea ecx, [esi + 0x10]
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_430785bf20f38df64dab4dc7d2ae7828___void___.0
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0x24], eax
inc dword [edi + 0x30]
cmp dword [edi + 0x18], 0
jne 0x10038aeb
lea eax, [edi + 0x1c]
push eax
push 0
push edi
push 0x1003c690
push 0
push 0
call fcn.1013a342
add esp, 0x18
mov dword [edi + 0x18], eax
mov byte [ebp + 0xb], 1
jmp 0x10038aef
mov byte [ebp + 0xb], 0
test esi, esi
je 0x10038b14
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x10038b14
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x10038b14
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [ebp + 0xb]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1003aad0
Capabilities:
Check if file exists
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101548a6
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x10198e28]
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
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.101293f0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call ebx
mov esi, dword [ebp + 8]
test esi, esi
je 0x1003ab51
lea eax, [ebp - 0x218]
push eax
call ebx
sub esi, 1
jne 0x1003ab43
push str.NetBridge.dll
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.10003000
mov ecx, eax
test ecx, ecx
je 0x1003acb3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x21c]
call fcn.1000c940
test al, al
jne 0x1003abc8
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003aba6
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.10006430
mov esi, dword [ebp - 0x21c]
push esi
mov dword [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1003abe4
mov bl, 1
jmp 0x1003abf2
push esi
call fcn.1005ae90
add esp, 4
test eax, eax
sete bl
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1003ac11
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
jne 0x1003ac93
cmp dword [edi], 0
jne 0x1003ac7a
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x1003ac93
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HttpInit
push eax
call esi
push str.HttpUninit
push dword [edi]
mov dword [edi + 4], eax
call esi
push str.zlib_uncompress
push dword [edi]
mov dword [edi + 8], eax
call esi
push str.zlib_compress
push dword [edi]
mov dword [edi + 0x10], eax
call esi
push str.zlib_compressBound
push dword [edi]
mov dword [edi + 0x14], eax
call esi
mov dword [edi + 0x18], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x1003ac7a
call eax
mov dword [edi + 0xc], eax
cmp dword [edi + 8], 0
je 0x1003ac93
cmp dword [edi + 4], 0
je 0x1003ac93
cmp dword [edi + 0xc], 0
je 0x1003ac93
mov eax, 1
jmp 0x1003ac95
xor eax, eax
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.1011bafc
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10002c10
int3
Function at 0x1003b5d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10154916
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x10198e28]
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 edi, 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 edi
mov byte [ebp - 4], 1
call ebx
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x1003b67c
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x1003b67c
call fcn.1000c920
mov edi, eax
jmp 0x1003b79b
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x1003b69f
call fcn.1000c920
jmp 0x1003b78e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x1003b6bd
call fcn.1000c920
jmp 0x1003b78e
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 0x1003b6de
mov edi, 0x8007000e
jmp 0x1003b790
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x1003b7d4
jb 0x1003b6fc
cmp eax, 0xffffffff
ja 0x1003b7d4
cmp eax, 0x400
jbe 0x1003b711
push eax
lea ecx, [ebp - 0x418]
call fcn.10039600
jmp 0x1003b737
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x1003b737
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x1003b74e
mov edi, 0x8007000e
jmp 0x1003b790
push edi
push dword [ebp - 0x418]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x1003b76e
call fcn.1000c920
jmp 0x1003b78e
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.1003b430
mov edi, eax
test esi, esi
je 0x1003b79b
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1003b7b4
lea ecx, [ebp - 0x418]
call fcn.1003a730
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.1011bafc
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.10002c10
int3
Function at 0x1003da40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101545d8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10198e28]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
test edi, edi
je 0x1003da78
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
push 0x38
mov dword [ebp - 4], 0
mov ebx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
call fcn.1011bb0d
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
test esi, esi
je 0x1003dad6
mov ecx, dword [ebp + 8]
lea eax, [esi + 0x10]
mov dword [esi + 4], 1
mov dword [esi + 8], 1
mov dword [esi], vtable.std::_Ref_count_obj_class_std::function_void____cdecl___void___.0
mov dword [eax], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8CPopWndImpl__AEXXZPAV3__std__X__V_std__.0
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 8], ebx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x24], eax
jmp 0x1003dad8
xor esi, esi
lea eax, [esi + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], eax
test esi, esi
je 0x1003dae9
lock inc dword [esi + 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x28]
inc eax
mov byte [ebp - 4], 2
cmp ecx, eax
ja 0x1003db0b
push 1
lea ecx, [edi + 0x20]
call fcn.1003d100
mov ecx, dword [edi + 0x28]
lea eax, [ecx - 1]
and dword [edi + 0x2c], eax
mov ecx, dword [edi + 0x30]
add ecx, dword [edi + 0x2c]
mov eax, dword [edi + 0x28]
dec eax
and ecx, eax
lea eax, [ecx*4]
mov ecx, dword [edi + 0x24]
mov dword [ebp + 8], eax
cmp dword [ecx + eax], 0
jne 0x1003db48
push 0x28
call fcn.1011bb0d
mov ecx, dword [edi + 0x24]
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
mov eax, edx
mov ecx, dword [edi + 0x24]
mov eax, dword [eax + ecx]
lea ecx, [esi + 0x10]
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_4d254b612af9b7b94839583204c78899___void___.0
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0x24], eax
inc dword [edi + 0x30]
cmp dword [edi + 0x18], 0
jne 0x1003db87
lea eax, [edi + 0x1c]
push eax
push 0
push edi
push 0x1003c690
push 0
push 0
call fcn.1013a342
add esp, 0x18
mov dword [edi + 0x18], eax
mov byte [ebp + 0xb], 1
jmp 0x1003db8b
mov byte [ebp + 0xb], 0
test esi, esi
je 0x1003dbb0
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x1003dbb0
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x1003dbb0
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [ebp + 0xb]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1003e3e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x10198e28]
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.101293f0
push 0x110
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], 0x114
push 0
push eax
call fcn.101293f0
add esp, 0x18
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1003e443
cmp dword [ebp - 0x114], 6
mov eax, 0x30
jae 0x1003e448
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 0x1003e466
push edi
call dword [sym.imp.USER32.dll_GetParent]
or dword [esi + 4], 1
mov ecx, edi
jmp 0x1003e468
mov eax, edi
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0xc], ecx
test eax, eax
je 0x1003e47c
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x10], xmm0
mov ecx, dword [0x1019d4b4]
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.1011bafc
mov esp, ebp
pop ebp
ret 0x18
Function at 0x10043610
Capabilities:
Check if file exists
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10155370
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x10198e28]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x10]
mov ecx, dword [edi + 4]
cmp ecx, 1
je 0x1004376b
test ecx, ecx
je 0x1004376b
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x114]
cmp dword [ebp + 0xc], eax
jne 0x1004376b
cmp ecx, 2
jne 0x1004376b
mov eax, dword [edi + 0x14]
test eax, eax
je 0x1004376b
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1004376b
push dword [edi + 0x14]
lea ecx, [ebp + 0x10]
call fcn.10004be0
mov eax, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 4], 0
mov edx, dword [eax - 0xc]
lea ecx, [edx - 4]
test ecx, ecx
cmovns esi, ecx
cmp esi, edx
jl 0x100436bb
add eax, 0xfffffff0
push eax
call fcn.10005580
add esp, 4
add eax, 0x10
mov dword [ebp + 0xc], eax
jmp 0x10043728
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x100436cd
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x100436db
call fcn.10003000
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
mov ebx, dword [ebp + 0x10]
test ecx, ecx
je 0x1004377f
test ebx, ebx
jne 0x100436f2
test esi, esi
jne 0x10043789
mov eax, dword [ecx]
push 2
push esi
call dword [eax]
test eax, eax
je 0x10043793
lea ecx, [eax + 0x10]
mov dword [ebp + 0xc], ecx
test esi, esi
js 0x10043789
cmp esi, dword [ecx - 8]
jg 0x10043789
lea eax, [esi + esi]
mov dword [ecx - 0xc], esi
push eax
push ebx
push eax
xor edx, edx
push ecx
mov word [eax + ecx], dx
call fcn.10007920
add esp, 0x10
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp + 0x10]
call fcn.10005210
lea ecx, [ebp + 0xc]
call fcn.10002b00
push 3
push dword [ebp + 0x10]
push dword [edi + 0x14]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, dword [ebp + 8]
push 0
push 1
push 0x478
push dword [eax - 0x6c]
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp + 0x10]
call fcn.10002b00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.10002c10
push 0x80070057
call fcn.10002c10
call fcn.10003800
int3