joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4363d0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51a076
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x559410]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor edi, edi
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jns 0x436431
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._d_r_n
call fcn.00455375
add esp, 8
xor eax, 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
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
js 0x4364ef
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edi
push eax
push 0x53b3c4
push 1
push 0
push 0x53b494
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4364ef
push str.ROOT_CIMV2
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], edi
call fcn.00436d00
mov eax, dword [eax]
mov dword [ebp - 4], 0
test eax, eax
je 0x436491
mov edx, dword [eax]
jmp 0x436493
xor edx, edx
mov eax, dword [ebp - 0x14]
lea esi, [ebp - 0x10]
push esi
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push edx
push eax
call dword [ecx + 0xc]
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.00436da0
test esi, esi
js 0x4364e6
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x43650b
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, 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
push dword [ebp + 8]
mov ecx, ebx
push dword [ebp - 0x10]
call fcn.00436550
test eax, eax
mov ecx, 1
cmovne edi, ecx
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, edi
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 0x4375a0
Capabilities:
Create directory
Create thread
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x559410]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push str.InpaintMAXSvc.exe
mov edi, ecx
call fcn.0044bd10
push str.InpaintMAX.exe
call fcn.0044bd10
add esp, 8
mov esi, 0x5591dc
cmp dword [0x5591ec], 0
jne 0x43765e
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00455160
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x208
push eax
push str.PROGRAMFILES
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push 0x524afc
lea eax, [ebp - 0x20c]
push eax
push 0x524af0
push eax
call fcn.00421970
add esp, 0x10
cmp word [ebp - 0x20c], 0
jne 0x437635
xor ecx, ecx
jmp 0x43764f
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x437640
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.004197f0
cmp dword [0x5591f0], 8
push 0
cmovae esi, dword [0x5591dc]
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [edi]
mov ecx, edi
push 0x50
push 0x3e9
call dword [eax + 0x8c]
push 0
push 0
push edi
push 0x422420
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00453c72
mov esp, ebp
pop ebp
ret
Function at 0x437940
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51a207
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x559410]
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 edx, dword [ebp + 0xc]
xor eax, eax
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp word [edx], ax
jne 0x437997
xor ecx, ecx
jmp 0x4379b2
mov ecx, edx
lea edi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4379a0
sub ecx, edi
mov edi, dword [ebp - 0x44]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.004197f0
push 1
push 0
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x44], 0x3a
call fcn.00421810
cmp eax, 0xffffffff
je 0x437b09
inc eax
lea ecx, [ebp - 0x40]
push eax
push 0
lea eax, [ebp - 0x28]
push eax
call fcn.00421930
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x5c]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x437af8
mov eax, dword [ebp - 0x4c]
sub esp, 8
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x5249e0]
mov eax, dword [ebp - 0x48]
mulsd xmm1, qword [0x5249c8]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5249e0]
mulsd xmm0, qword [0x5249d0]
addsd xmm1, xmm0
movsd qword [esp], xmm1
push str._.1f
push ebx
call fcn.00421970
mov eax, dword [ebp - 0x54]
add esp, 8
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x5249e0]
mov eax, dword [ebp - 0x50]
mulsd xmm1, qword [0x5249c8]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5249e0]
mulsd xmm0, qword [0x5249d0]
addsd xmm1, xmm0
movsd qword [esp], xmm1
push str._.1f
push edi
call fcn.00421970
mov eax, dword [ebp - 0x4c]
add esp, 0x10
cmp dword [ebp - 0x14], 8
mov dword [esi], eax
mov eax, dword [ebp - 0x48]
mov dword [esi + 4], eax
jb 0x437ae2
push dword [ebp - 0x28]
call fcn.00406890
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jmp 0x437b16
cmp dword [ebp - 0x14], 8
jb 0x437b09
push dword [ebp - 0x28]
call fcn.00406890
add esp, 4
mov dword [esi], 0
mov dword [esi + 4], 0
cmp dword [ebp - 0x2c], 8
jb 0x437b27
push dword [ebp - 0x40]
call fcn.00406890
add esp, 4
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.00453c72
mov esp, ebp
pop ebp
ret 0x10
Function at 0x437ba0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51a23c
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x559410]
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 str.LICENSE
push 0x83
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x437c75
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x437c75
push ebx
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00405b80
push 0xfde9
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00429150
add esp, 0xc
mov edx, eax
cmp dword [edx + 0x14], 8
mov byte [ebp - 4], 1
jb 0x437c47
mov edx, dword [edx]
mov ecx, dword [edi + 0x360]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
cmp dword [ebp - 0x2c], 8
jb 0x437c64
push dword [ebp - 0x40]
call fcn.00406890
add esp, 4
cmp dword [ebp - 0x14], 0x10
jb 0x437c75
push dword [ebp - 0x28]
call fcn.00406890
add esp, 4
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.00453c72
mov esp, ebp
pop ebp
ret
Function at 0x438ec0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x559410]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
test edi, edi
jne 0x438ef0
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00453c72
mov esp, ebp
pop ebp
ret
push esi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x438f23
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x438f36
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00453c72
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.00455584
add esp, 8
test eax, eax
je 0x438f5d
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x438f36
jmp 0x438f63
mov ebx, dword [ebp - 0x228]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.00453c72
mov esp, ebp
pop ebp
ret
Function at 0x439aa0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51a5c9
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x559410]
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, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], edi
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp dword [ebx + 0x14], 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 1
mov dword [ebx + 0x10], 0
jb 0x439b0b
mov eax, dword [ebx]
jmp 0x439b0d
mov eax, ebx
mov byte [eax], 0
lea eax, [ebp - 0x28]
push eax
push 0
mov dword [ebp - 0x28], 0
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x439c15
mov esi, dword [ebp - 0x28]
push esi
call fcn.004552ce
push esi
push 0
push eax
mov dword [ebp - 0x24], eax
call fcn.00455160
add esp, 0x10
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x24]
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x439c05
mov eax, dword [ebp - 0x24]
mov esi, eax
test eax, eax
je 0x439c15
mov byte [ebp - 0x20], 0
xorps xmm0, xmm0
movq qword [ebp - 0x1f], xmm0
mov dword [ebp - 0x17], 0
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
lea eax, [ebp - 0x20]
push str._02x_02x_02x_02x_02x_02x
push eax
call fcn.004289a0
lea eax, [ebp - 0x20]
push str.000000000000
push eax
call fcn.00454bd6
add esp, 0x28
test eax, eax
jne 0x439bd2
mov esi, dword [esi]
test esi, esi
jne 0x439b64
jmp 0x439c05
lea eax, [esi + 8]
mov ecx, edi
push eax
call fcn.00412580
cmp byte [ebp - 0x20], 0
jne 0x439be7
xor ecx, ecx
jmp 0x439bf9
lea ecx, [ebp - 0x20]
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x439bf0
sub ecx, edx
push ecx
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.00405b80
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x439c15
push eax
call fcn.00455296
add esp, 4
cmp dword [ebx + 0x10], 0
jne 0x439c29
push 0xc
push str.FFFFFFFFFFFD
mov ecx, ebx
call fcn.00405b80
cmp dword [edi + 0x10], 0
jne 0x439c3d
push 0x20
push str.FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
mov ecx, edi
call fcn.00405b80
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 - 0x10]
xor ecx, ebp
call fcn.00453c72
mov esp, ebp
pop ebp
ret
Function at 0x43a330
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51a6c5
mov eax, dword fs:[0]
push eax
sub esp, 0xa54
mov eax, dword [0x559410]
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]
lea ecx, [ebp - 0xa50]
mov ebx, dword [ebp + 0xc]
xor eax, eax
push eax
push 0x524a84
mov dword [ebp - 0xa60], 0
mov dword [ebp - 0xa3c], 7
mov dword [ebp - 0xa40], 0
mov word [ebp - 0xa50], ax
call fcn.004197f0
mov dword [ebp - 4], 0
test ebx, ebx
je 0x43a49b
lea eax, [ebp - 0xa5c]
mov dword [ebp - 0xa5c], 0
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xa54], eax
test eax, eax
je 0x43a49b
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
je 0x43a49b
push edi
push dword [ebp - 0xa54]
push dword [ebp - 0xa5c]
push ebx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x43a494
lea eax, [ebp - 0xa58]
mov dword [ebp - 0xa54], 0
push eax
lea eax, [ebp - 0xa54]
mov dword [ebp - 0xa58], 0
push eax
push 0x5250f4
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x43a494
cmp dword [ebp - 0xa58], 0
je 0x43a494
xor eax, eax
push 0xa26
push eax
mov word [ebp - 0xa38], ax
lea eax, [ebp - 0xa36]
push eax
call fcn.00455160
mov ecx, dword [ebp - 0xa54]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
lea eax, [ebp - 0xa38]
push str._d._d._d._d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x24
lea eax, [ebp - 0xa38]
lea ecx, [ebp - 0xa50]
push eax
call fcn.004217c0
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea eax, [ebp - 0xa50]
mov ecx, esi
push eax
call fcn.0041b700
cmp dword [ebp - 0xa3c], 8
jb 0x43a4c0
push dword [ebp - 0xa50]
call fcn.00406890
add esp, 4
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.00453c72
mov esp, ebp
pop ebp
ret
Function at 0x43c040
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov byte [esi + 0x68], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x43c081
mov eax, dword [eax]
push ecx
push eax
mov ecx, esi
call fcn.0043c240
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x43d390
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51abd8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x559410]
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
cmp dword [ebx + 0x40], 0
je 0x43d4b5
cmp byte [ebx + 0x45], 0
je 0x43d4b5
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x43d3e4
xor al, al
jmp 0x43d4b7
mov ecx, 0xf
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], ecx
cmp ecx, 0x10
movq qword [ebp - 0x28], xmm0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x28]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x40]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x43d44e
dec eax
je 0x43d452
sub eax, 2
je 0x43d49e
xor bl, bl
jmp 0x43d4a0
mov byte [ebx + 0x45], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x43d484
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.00456fcb
add esp, 0x10
cmp esi, eax
jne 0x43d44a
cmp byte [ebx + 0x45], 0
je 0x43d49e
test esi, esi
jne 0x43d414
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00404d90
jmp 0x43d414
mov bl, 1
cmp dword [ebp - 0x14], 0x10
jb 0x43d4b1
push dword [ebp - 0x28]
call fcn.00406890
add esp, 4
mov al, bl
jmp 0x43d4b7
mov al, 1
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.00453c72
mov esp, ebp
pop ebp
ret
Function at 0x43f180
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x559410]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00455160
cmp dword [0x559208], 8
mov esi, 0x5591f4
mov eax, esi
cmovae eax, dword [0x5591f4]
push 0x524c20
push eax
lea eax, [ebp - 0x20c]
push 0x524af0
push eax
call fcn.00421970
add esp, 0x1c
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x43f208
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x43f208
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00453c72
mov esp, ebp
pop ebp
ret
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00455160
cmp dword [0x559208], 8
lea eax, [ebp - 0x414]
push str.InpaintMAX.7z
cmovae esi, dword [0x5591f4]
push str.bin_
push esi
push 0x524c10
push eax
call fcn.00421970
push 0x5260a8
lea eax, [ebp - 0x414]
push 0x67
push eax
call fcn.0044b4f0
mov ecx, dword [ebp - 4]
add esp, 0x2c
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
pop esi
call fcn.00453c72
mov esp, ebp
pop ebp
ret

Function at 0x43f840
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x43f855
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x43f894
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 0x43f890
lea ebx, [ebx]
cmp esi, edx
jae 0x43f894
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x43f880
cmp esi, edx
jb 0x43f899
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret
Function at 0x441030
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51af4d
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x559410]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x34], 0xf
mov dword [esi + 0x30], 0
mov byte [esi + 0x20], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 1
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
lea eax, [esi + 0x40]
mov dword [esi], 0x5263a0
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0xffffffff
mov dword [eax + 0xc], 0
mov dword [eax], 0x526394
mov dword [eax + 0x28], 0xf
mov dword [eax + 0x24], 0
mov byte [eax + 0x14], 0
mov dword [eax + 0x40], 0xf
mov dword [eax + 0x3c], 0
mov byte [eax + 0x2c], 0
mov dword [ebp - 4], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x48], eax
mov dword [eax + 0x44], eax
mov edx, dword [ebp + 8]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
mov byte [ebp - 4], 1
cmp byte [edx], 0
jne 0x441118
xor eax, eax
jmp 0x441129
mov eax, edx
lea ebx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x441120
sub eax, ebx
push eax
push edx
lea ecx, [esi + 0x20]
call fcn.00405b80
mov eax, esi
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 0x442c10
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51b19a
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x559410]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x34], 0xf
mov dword [esi + 0x30], 0
mov byte [esi + 0x20], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
lea ecx, [esi + 0x48]
mov dword [esi], 0x52650c
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov dword [ebp - 4], 0
mov byte [ecx], 0
mov dword [esi + 0x68], 0xffffffff
mov dword [esi + 0x64], 0xffffffff
push 0
push 0x5238f8
mov byte [ebp - 4], 1
mov dword [esi + 0x60], 4
mov byte [esi + 0x6c], 0
mov byte [esi + 0x40], 0
mov dword [esi + 0x44], 0
call fcn.00405b80
mov dword [esi + 0x68], 0
mov eax, esi
mov dword [esi + 0x64], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x442d00
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51b1c8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x559410]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x34], 0xf
mov dword [esi + 0x30], 0
mov byte [esi + 0x20], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi], 0x52650c
mov dword [esi + 0x5c], 0xf
mov dword [esi + 0x58], 0
mov dword [ebp - 4], 0
mov byte [esi + 0x48], 0
mov ebx, dword [ebp + 8]
mov dword [esi + 0x68], 0xffffffff
mov dword [esi + 0x64], 0xffffffff
mov dword [esi + 0x60], 4
mov byte [esi + 0x6c], 0
cmp byte [ebx], 0
mov byte [ebp - 4], 1
jne 0x442dc4
xor ecx, ecx
jmp 0x442dda
mov ecx, ebx
lea eax, [ecx + 1]
mov dword [ebp + 8], eax
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x442dd0
sub ecx, dword [ebp + 8]
push ecx
push ebx
lea ecx, [esi + 0x20]
call fcn.00405b80
push 0
push 0x5238f8
lea ecx, [esi + 0x48]
mov byte [esi + 0x40], 0
mov dword [esi + 0x44], 0
call fcn.00405b80
mov dword [esi + 0x68], 0
mov eax, esi
mov dword [esi + 0x64], 0
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