joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f020
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x541acd
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x594ca8]
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
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
push 0x5704e4
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x128], ebx
call fcn.004040f0
mov dword [ebp - 4], ebx
mov edi, 1
mov dword [ebp - 0x128], edi
call fcn.00417597
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40f093
push 0x80004005
call fcn.00404860
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x118], eax
push 0x5712c4
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
lea ecx, [ebp - 0x118]
push 0x570bc4
push ecx
mov dword [ebp - 4], edi
call fcn.00403cc0
push 0x103
lea edx, [ebp - 0x113]
push ebx
push edx
mov dword [ebp - 0x124], 0x104
mov byte [ebp - 0x114], bl
call fcn.00518f10
mov eax, dword [ebp - 0x118]
add esp, 0x1c
cmp eax, ebx
jne 0x40f0f6
xor eax, eax
jmp 0x40f13e
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, edi
cmp eax, 0x3fffffff
jg 0x40f136
lea edi, [eax + eax]
mov eax, edi
call fcn.0051b8f0
mov esi, esp
cmp esi, ebx
je 0x40f136
mov eax, dword [ebp - 0x118]
push ebx
push ebx
push edi
push esi
push 0xffffffffffffffff
push eax
push ebx
push 3
mov byte [esi], bl
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x40f138
xor eax, eax
mov esi, dword [ebp - 0x11c]
lea ecx, [ebp - 0x120]
push ecx
push 1
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40f1ff
mov ecx, dword [ebp - 0x120]
lea edx, [ebp - 0x124]
push edx
lea eax, [ebp - 0x114]
push eax
push ebx
push ebx
push str.DisplayVersion
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40f1ff
mov edx, dword [ebp - 0x120]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edi, [eax + 1]
cmp edi, 0x3fffffff
jg 0x40f248
lea eax, [edi + edi]
call fcn.0051b8f0
mov esi, esp
cmp esi, ebx
je 0x40f248
push edi
push esi
push 0xffffffffffffffff
lea edx, [ebp - 0x114]
push edx
push ebx
xor ecx, ecx
push 3
mov word [esi], cx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
je 0x40f248
mov eax, esi
mov edx, esi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40f1e1
sub eax, esi
sar eax, 1
mov esi, dword [ebp - 0x11c]
push eax
push edx
mov ecx, esi
call fcn.004046e0
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x118]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f224
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
lea esp, [ebp - 0x138]
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.005155a4
mov esp, ebp
pop ebp
ret
xor edx, edx
xor eax, eax
jmp 0x40f1f0
Function at 0x410cb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x541278
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
mov eax, dword [0x594ca8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00417597
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x410cf0
push 0x80004005
call fcn.00404860
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push 0x57058c
add ecx, 0x27c
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.00404260
push str.1905Client.exe
push eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 1
call fcn.00404260
add esp, 0x18
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00404790
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410d64
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410d87
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x3c
lea ecx, [ebp - 0x50]
push 0
push ecx
call fcn.00518f10
mov esi, dword [ebp - 0x10]
add esp, 0xc
lea edx, [ebp - 0x50]
push edx
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x34], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410dd8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x411720
Capabilities:
Create directory
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
lea edi, [esi + 0x27c]
push esi
mov dword [0x59cd00], 2
mov dword [0x59cba0], 0xfffffffe
call fcn.00410b00
mov ecx, edi
call fcn.0040f3e0
mov ecx, eax
call fcn.0040f460
mov ecx, edi
call fcn.0040a650
test eax, eax
je 0x41178c
mov edi, dword [edi]
push 0
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x41179b
cmp eax, 0xb7
je 0x41179b
push 0
push 0x571028
push 0x571030
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [esi + 0x278], 0
pop edi
mov esp, ebp
pop ebp
ret
push ecx
lea eax, [esi + 0x280]
mov dword [ebp - 4], esp
mov ecx, esp
push eax
call fcn.00404900
call fcn.0040ade0
add esp, 4
test eax, eax
je 0x41178c
mov ecx, esi
call fcn.00410390
lea ecx, [ebp - 8]
push ecx
push 0
push esi
push 0x4119c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4117f0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x542318
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x594ca8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00407fe0
call fcn.004082d0
call fcn.004085c0
push 0
call fcn.004088e0
add esp, 4
call fcn.00408c50
call fcn.00417597
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41184f
push 0x80004005
call fcn.00404860
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.00402240
mov esi, dword [ebp - 0x10]
push 0x5c
push esi
call fcn.005172f0
add esp, 8
test eax, eax
jne 0x411884
or eax, 0xffffffff
jmp 0x411888
sub eax, esi
sar eax, 1
push eax
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
call fcn.004037c0
push str.exe
push eax
lea edx, [ebp - 0x14]
push edx
mov byte [ebp - 4], 1
call fcn.00404260
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00404790
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4118db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4118fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebx + 0x2b0]
push ecx
push ecx
lea edx, [ebp - 0x10]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push edx
call fcn.00404900
call fcn.0040aaf0
mov eax, dword [ebx + 0x27c]
add esp, 8
lea edi, [ebx + 0x27c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 1
push edi
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
call fcn.00410f20
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov ecx, dword [ebx + 0x290]
mov edx, dword [ebx + 0x28c]
push ecx
push edx
call fcn.00408ec0
mov eax, dword [ebx + 0x288]
push eax
push edi
call fcn.004096e0
add esp, 0x10
call fcn.0040b780
call fcn.0040bc20
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
call fcn.00410bc0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4119a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x412370
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x8c
mov esi, ecx
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CWindowWnd::SetIcon_unsigned_int_]
mov eax, dword [esi + 4]
push 0x571b64
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
call dword [sym.imp.DuiLib_u.dll_public:_static_struct_HINSTANCE______cdecl_DuiLib::CPaintManagerUI::GetInstance_void_]
mov edi, eax
call fcn.00404a10
mov ecx, dword [esi + 4]
lea edi, [esi + 0x3d8]
push ecx
mov eax, edi
call fcn.00404ad0
test byte [edi + 0xc], 2
mov ebx, dword [sym.imp.USER32.dll_GetParent]
mov byte [edi + 0xf], 6
je 0x4123cd
mov edx, dword [edi + 4]
push edx
call ebx
push eax
call fcn.00404d30
test byte [edi + 0xc], 2
mov word [edi + 0x10], 0
je 0x4123e5
mov eax, dword [edi + 4]
push eax
call ebx
push eax
call fcn.00404d30
test byte [edi + 0xc], 2
mov byte [edi + 0xd], 0x32
je 0x4123fb
mov ecx, dword [edi + 4]
push ecx
call ebx
push eax
call fcn.00404d30
push esi
call fcn.00412530
lea edx, [ebp - 4]
push edx
push 0
push esi
push 0x4136b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x414290
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5420d8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x594ca8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.DuiLib_u.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
push str.RunPrg
lea ecx, [ebx + 0x2c]
call esi
test eax, eax
je 0x4142d8
mov ecx, dword [ebx + 0x278]
push ecx
mov ecx, eax
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CProgressUI::SetValue_int_]
push str.PercentLabel
lea ecx, [ebx + 0x2c]
call esi
mov esi, eax
call fcn.00417597
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4142fe
push 0x80004005
call fcn.00404860
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test esi, esi
je 0x41433d
mov ecx, dword [ebx + 0x278]
push ecx
lea edx, [ebp - 0x10]
push str._d__
push edx
call fcn.00403cc0
mov ecx, dword [ebp - 0x10]
mov eax, dword [esi]
mov edx, dword [eax + 0x2c]
add esp, 0xc
push ecx
mov ecx, esi
call edx
cmp dword [ebx + 0x278], 0x64
jne 0x41438a
mov eax, dword [ebx + 0x280]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push str.InstallLabel
lea ecx, [ebx + 0x2c]
call dword [sym.imp.DuiLib_u.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
mov esi, eax
test esi, esi
je 0x414383
push 4
push 0x571ef4
lea ecx, [ebp - 0x10]
call fcn.004046e0
mov ecx, dword [ebp - 0x10]
mov eax, dword [esi]
mov edx, dword [eax + 0x2c]
push ecx
mov ecx, esi
call edx
mov eax, ebx
call fcn.004148f0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4143b0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4149b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x541641
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x594ca8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x103
lea eax, [ebp - 0x113]
push 0
push eax
mov byte [ebp - 0x114], 0
call fcn.00518f10
add esp, 0xc
push 1
push 0x1c
lea ecx, [ebp - 0x114]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0x5704e4
lea ecx, [ebp - 0x118]
call fcn.004040f0
lea edx, [ebp - 0x114]
push edx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jg 0x414b90
lea eax, [esi + esi]
call fcn.0051b8f0
mov edi, esp
test edi, edi
je 0x414b90
push esi
push edi
push 0xffffffffffffffff
lea ecx, [ebp - 0x114]
xor eax, eax
push ecx
push eax
push 3
mov word [edi], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x414b90
mov eax, edi
mov edx, edi
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x414a80
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x118]
call fcn.004046e0
push 0x57058c
lea edx, [ebp - 0x118]
push edx
lea eax, [ebp - 0x11c]
push eax
call fcn.00404260
push str.1905Cache1
push eax
lea ecx, [ebp - 0x120]
push ecx
mov byte [ebp - 4], 1
call fcn.00404260
add esp, 0x18
push eax
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.00404790
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x120]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414b03
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x11c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414b29
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
lea edx, [ebp - 0x118]
mov dword [ebp - 0x124], esp
mov ecx, esp
push edx
call fcn.00404900
call fcn.00402330
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x118]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414b6f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esp, [ebp - 0x130]
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.005155a4
mov esp, ebp
pop ebp
ret
xor edx, edx
xor eax, eax
jmp 0x414a8f
Function at 0x414fb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x8c
mov esi, ecx
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CWindowWnd::SetIcon_unsigned_int_]
mov eax, dword [esi + 4]
push 0x571b64
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
call dword [sym.imp.DuiLib_u.dll_public:_static_struct_HINSTANCE______cdecl_DuiLib::CPaintManagerUI::GetInstance_void_]
mov edi, eax
call fcn.00404a10
mov ecx, dword [esi + 4]
lea edi, [esi + 0x3d8]
push ecx
mov eax, edi
call fcn.00404ad0
test byte [edi + 0xc], 2
mov ebx, dword [sym.imp.USER32.dll_GetParent]
mov byte [edi + 0xf], 6
je 0x41500d
mov edx, dword [edi + 4]
push edx
call ebx
push eax
call fcn.00404d30
test byte [edi + 0xc], 2
mov word [edi + 0x10], 0
je 0x415025
mov eax, dword [edi + 4]
push eax
call ebx
push eax
call fcn.00404d30
test byte [edi + 0xc], 2
mov byte [edi + 0xd], 0x32
je 0x41503b
mov ecx, dword [edi + 4]
push ecx
call ebx
push eax
call fcn.00404d30
push esi
call fcn.00415330
lea edx, [ebp - 4]
push edx
push 0
push esi
push 0x4164c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4164e0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x542200
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x594ca8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ebx, [ebp - 0x10]
call fcn.00407b20
mov edi, dword [ebp + 8]
add edi, 0x3d4
push eax
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.00404790
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41654e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi]
mov ecx, 0x5704e4
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41657b
test dx, dx
je 0x416577
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41657b
add eax, 4
add ecx, 4
test dx, dx
jne 0x416555
xor eax, eax
jmp 0x416580
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x4166d9
call fcn.0040b230
call fcn.00407fe0
call fcn.004082d0
call fcn.004085c0
push 1
call fcn.004088e0
add esp, 4
call fcn.00408c50
call fcn.00417597
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4165ca
push 0x80004005
call fcn.00404860
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x10]
mov dword [ebp - 4], 1
call fcn.00402240
mov esi, dword [ebp - 0x10]
push 0x5c
push esi
call fcn.005172f0
add esp, 8
test eax, eax
jne 0x4165ff
or eax, 0xffffffff
jmp 0x416603
sub eax, esi
sar eax, 1
push eax
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
call fcn.004037c0
push str.exe
push eax
lea edx, [ebp - 0x14]
mov bl, 2
push edx
mov byte [ebp - 4], bl
call fcn.00404260
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00404790
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416656
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416679
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 0x3c8]
push ecx
push ecx
lea edx, [ebp - 0x10]
mov dword [ebp + 8], esp
mov ecx, esp
push edx
call fcn.00404900
call fcn.0040aaf0
mov eax, dword [edi]
add esp, 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 1
push edi
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.00415cd0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4166d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x419718
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x419760
call fcn.0041f91e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x419760
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4197a3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x41978c
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x41978c
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x4197a0
mov ecx, dword [esi + 0x68]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x41d2a9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0041f91e
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41d2e2
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0041cee6
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x41d340
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x41d364
cmp dword [edi + 0x74], 0
jne 0x41d364
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0041f91e
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0041d301
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4264ac
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x4264f3
call fcn.0041f91e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4264f3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x42650f
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00425fac
mov esi, eax
test edi, edi
je 0x42650d
test ebx, ebx
je 0x42650d
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x426ce5
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x538619
call fcn.00517dc0
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x426d0a
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x426d5c
call fcn.00417597
push eax
lea ecx, [ebp - 0x10]
call fcn.00404800
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0051790f
push eax
call fcn.00403e20
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00404990
mov eax, esi
call fcn.00517e98
ret 8