joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405a00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d18e7
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x663a90]
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 [0x681a3c], 0
mov dword [ebp - 0x14], 0
jne 0x405a6f
push 0x54
call fcn.0058a1e0
mov esi, eax
mov dword [ebp - 0x18], esi
push 0x54
push 0
push esi
mov dword [ebp - 4], 0
call fcn.005a2d80
add esp, 0x10
mov ecx, esi
call fcn.0040a760
mov dword [ebp - 4], 0xffffffff
mov dword [0x681a3c], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040ab40
mov dword [ebp - 4], 1
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x405aaa
push 0x6363e4
push 0x63266c
push str.cef_load
call fcn.00485090
add esp, 0xc
xor esi, esi
jmp 0x405b9b
push dword [ebp - 0x14]
lea ecx, [edi + 0x178]
call fcn.00404150
mov dword [edi + 0x19c], eax
test eax, eax
je 0x405af9
mov ecx, dword [edi + 0x16c]
cmp dword [ecx - 0xc], 0
je 0x405aea
push 0
push ecx
mov esi, esp
add ecx, 0xfffffff0
mov dword [ebp - 0x18], esi
call fcn.00403880
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.00405430
push 0x6363e4
push 0x632678
jmp 0x405b88
mov ecx, dword [edi + 0x1ac]
mov edx, 0x2711
call fcn.00426180
mov ecx, dword [edi + 0x15c]
mov eax, dword [ecx]
call dword [eax + 0x134]
mov ecx, dword [edi + 0x158]
push 0
mov eax, dword [ecx]
call dword [eax + 0xd0]
mov ecx, dword [edi + 0x164]
push 0
mov eax, dword [ecx]
call dword [eax + 0xd0]
mov ecx, dword [edi + 0x160]
push 1
mov eax, dword [ecx]
call dword [eax + 0xd0]
mov ecx, dword [edi + 0x168]
test ecx, ecx
je 0x405b5b
mov eax, dword [ecx]
push 0
call dword [eax + 0xd0]
mov ecx, dword [edi + 0x188]
test ecx, ecx
je 0x405b6d
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x14]
mov ecx, edi
mov dword [edi + 0x1a0], 3
call fcn.0041f240
push 0x6363e4
push 0x63266c
push str.cef_load
call fcn.00485090
mov esi, dword [edi + 0x19c]
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x405bbd
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
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.00589cd3
mov esp, ebp
pop ebp
ret
Function at 0x408c80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d1d5a
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x663a90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [ebp - 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov byte [ebp - 4], 2
call fcn.00402f90
mov ecx, eax
test ecx, ecx
jne 0x408cf5
push 0x80004005
call fcn.004037b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0x18], eax
mov byte [ebp - 4], 3
call fcn.00402f90
mov ecx, eax
test ecx, ecx
jne 0x408d19
push 0x80004005
call fcn.004037b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0x1c], eax
mov byte [ebp - 4], 4
call fcn.00402f90
mov ecx, eax
test ecx, ecx
jne 0x408d3d
push 0x80004005
call fcn.004037b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0x20], eax
mov byte [ebp - 4], 5
call fcn.00402f90
mov ecx, eax
test ecx, ecx
jne 0x408d61
push 0x80004005
call fcn.004037b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0x24], eax
lea esi, [edi + 0x28]
mov byte [ebp - 4], 6
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040dc30
mov dword [esi], eax
mov eax, edi
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x408dc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d1d92
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x663a90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea ecx, [ebx + 0x30]
call fcn.0040d170
mov eax, dword [ebx + 0x28]
lea ecx, [ebx + 0x28]
push eax
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.0040d430
push dword [ebx + 0x28]
call fcn.00589cce
mov edx, dword [ebx + 0x24]
or esi, 0xffffffff
add esp, 4
sub edx, 0x10
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408e2a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebx + 0x20]
mov eax, esi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408e44
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebx + 0x1c]
mov eax, esi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408e5e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebx + 0x18]
mov eax, esi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408e78
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0
mov edi, dword [ebx + 0x14]
test edi, edi
je 0x408ea5
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x408ea5
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x408ea5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov dword [ebp - 4], 1
mov edi, dword [ebx + 0xc]
test edi, edi
je 0x408ed2
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x408ed2
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x408ed2
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov dword [ebp - 4], 2
mov edi, dword [ebx + 4]
test edi, edi
je 0x408efe
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x408efe
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x408efe
mov eax, dword [edi]
mov ecx, edi
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
Function at 0x40a710
Capabilities:
Get file size

Disassembly:
cmp dword [ecx + 0x14], 8
jb 0x40a718
mov ecx, dword [ecx]
push edi
push 0
push 0x80
push 3
push 0
push 1
push connect
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x40a73d
xor eax, eax
pop edi
ret
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop edi
ret

Function at 0x40a760
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d22a4
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x663a90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 8], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], eax
mov byte [ebp - 4], 1
lea ecx, [esi + 0x28]
push esi
mov dword [esi], vtable.CWebViewMgr.1.0
mov dword [esi + 4], vtable.CWebViewMgr.0
call fcn.0040cc50
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
call fcn.00402f90
mov ecx, eax
test ecx, ecx
jne 0x40a7fd
push 0x80004005
call fcn.004037b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x44], eax
mov byte [ebp - 4], 4
lea eax, [esi + 0x24]
push dword [ebp - 0x10]
mov dword [esi + 0x3c], 0
push eax
push 0x6644f0
mov dword [esi + 0x40], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x48], 0
call fcn.0040eea0
add esp, 0xc
movzx eax, ax
lea ecx, [esi + 4]
push 0
push eax
push 0
push 0
push 0x56000000
push 0
push 0
push 0xfffffffffffffffd
call fcn.0040ed20
mov eax, dword [esi + 0x2c]
mov dword [eax + 0x38], 0x40c920
mov dword [eax + 0x3c], 0
mov eax, dword [esi + 0x2c]
mov dword [eax + 0x30], 0x40c860
mov dword [eax + 0x34], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40aa60
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d22d9
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x663a90]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edx, str.webview
mov dword [ebp - 4], 0
mov ecx, esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], esi
mov dword [esi], 0
call fcn.004837a0
mov dword [ebp - 4], 0
push dword [esi]
mov dword [ebp - 0x18], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40aad2
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push str.cef
mov edx, esi
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x14]
call fcn.00406a80
add esp, 4
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40ab02
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [ebp - 0x14]
or ecx, 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x40ab1d
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00589cd3
mov esp, ebp
pop ebp
ret 4
Function at 0x40ad30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d2350
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x663a90]
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
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
call fcn.0040aa60
mov dword [ebp - 4], 0
push dword [ebp - 0x14]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call ebx
or edi, 0xffffffff
test eax, eax
je 0x40aec5
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x40aec5
xor esi, esi
nop dword [eax + eax]
push 0x636ca8
lea edx, [ebp - 0x14]
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x20]
call fcn.00406a80
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
push dword [esi + 0x632690]
mov edx, eax
call fcn.00406a80
mov byte [ebp - 4], 0
add esp, 4
mov edx, dword [ebp - 0x20]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40adef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x18]
call ebx
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
test eax, eax
mov eax, edi
je 0x40aeb3
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40ae16
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, 0x30
jb 0x40ada0
push str.ceflibcef.dll
lea edx, [ebp - 0x14]
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x1c]
call fcn.00406a80
add esp, 4
lea edx, [ebp - 0x1c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.00488440
mov byte [ebp - 4], 3
mov ecx, dword [0x681868]
test ecx, ecx
jne 0x40ae5f
push 0x80004005
call fcn.004037b0
push ecx
push dword [eax]
call fcn.005ac88b
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x20]
test eax, eax
mov eax, edi
setne bl
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40ae8d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x1c]
movzx esi, bl
add edx, 0xfffffff0
xor esi, 1
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40aec7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x40aec7
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40aec5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x40aee6
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 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.00589cd3
mov esp, ebp
pop ebp
ret
Function at 0x410770
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d29ac
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x663a90]
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, dword [0x681bc8]
test edi, edi
jne 0x4107de
push pe_nt_image_headers32
call fcn.0058a1e0
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
push pe_nt_image_headers32
push edi
push esi
mov dword [ebp - 4], edi
call fcn.005a2d80
add esp, 0xc
mov ecx, esi
call fcn.00410480
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x681bc8], edi
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x41093d
push 0xc0
mov dword [edi + 0xe4], 1
call fcn.0058a1e0
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
push 0xc0
push 0
push esi
mov dword [ebp - 4], 1
call fcn.005a2d80
add esp, 0xc
mov ecx, esi
call fcn.0042c880
push ecx
mov esi, eax
mov dword [ebp - 4], 0xffffffff
push 0x85
mov ecx, esi
call fcn.0042c550
movaps xmm0, xmmword [0x642ce0]
movups xmmword [esi + 0x6c], xmm0
mov eax, dword [esi + 0x6c]
mov dword [esi + 0x58], 2
cmp dword [esi + 0x74], eax
jge 0x41085c
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0x70]
cmp dword [esi + 0x78], eax
jge 0x410867
mov dword [esi + 0x78], eax
cmp dword [edi + 0xe8], esi
je 0x41088b
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi + 0xe8]
mov dword [edi + 0xe8], esi
test eax, eax
je 0x41088b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [edi + 0x38]
mov dword [edi + 0xbc], 0
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4108af
push 0
push 0
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_SetWindowRgn]
call fcn.00402f90
mov ecx, eax
test ecx, ecx
jne 0x4108c4
push 0x80004005
call fcn.004037b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x639ea4
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 2
push 0x639eb0
push eax
call fcn.00407e20
mov esi, dword [ebp - 0x14]
add esp, 4
movaps xmm0, xmmword [0x642d10]
mov eax, esp
push 0x40000
push connect
push esi
push ecx
mov dword [eax], 0
lea ecx, [ebp - 0x28]
mov eax, esp
movups xmmword [ebp - 0x28], xmm0
push 0
mov dword [eax], ecx
mov ecx, edi
call fcn.00427d60
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41093d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push 1
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
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.00589cd3
mov esp, ebp
pop ebp
ret
Function at 0x4151b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d2be2
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x663a90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x681bc8]
test eax, eax
jne 0x415216
push pe_nt_image_headers32
call fcn.0058a1e0
mov esi, eax
mov dword [ebp - 0x10], esi
push pe_nt_image_headers32
push 0
push esi
mov dword [ebp - 4], 0
call fcn.005a2d80
add esp, 0x10
mov ecx, esi
call fcn.00410480
mov dword [ebp - 4], 0xffffffff
mov dword [0x681bc8], eax
push 0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x6363e4
push str.cancel
push 0x632860
call fcn.00485160
add esp, 0xc
call fcn.00415290
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x415290
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d2e24
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x663a90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x681bc8]
test eax, eax
jne 0x4152f6
push pe_nt_image_headers32
call fcn.0058a1e0
mov esi, eax
mov dword [ebp - 0x10], esi
push pe_nt_image_headers32
push 0
push esi
mov dword [ebp - 4], 0
call fcn.005a2d80
add esp, 0x10
mov ecx, esi
call fcn.00410480
mov dword [ebp - 4], 0xffffffff
mov dword [0x681bc8], eax
push 0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x681bc8]
test eax, eax
jne 0x415347
push pe_nt_image_headers32
call fcn.0058a1e0
mov esi, eax
mov dword [ebp - 0x10], esi
push pe_nt_image_headers32
push 0
push esi
mov dword [ebp - 4], 1
call fcn.005a2d80
add esp, 0x10
mov ecx, esi
call fcn.00410480
mov dword [0x681bc8], eax
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x418100
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x418115
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418120
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push 1
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x4195d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d3293
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x663a90]
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 - 0x42c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x20], 0
push 0x404
xorps xmm0, xmm0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x424]
movq qword [ebp - 0x1c], xmm0
push 0
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], 0
call fcn.005a2d80
add esp, 0xc
mov dword [ebp - 0x424], 0
push 0x60
push 0
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x430], edi
test edi, edi
jne 0x419691
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x430], eax
test edi, edi
jne 0x419691
call fcn.00403710
mov esi, eax
jmp 0x41977e
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x4196b4
call fcn.00403710
jmp 0x419771
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x42c], ebx
test ebx, ebx
jne 0x4196d2
call fcn.00403710
jmp 0x419771
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x428], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x4196f3
mov esi, 0x8007000e
jmp 0x419773
push eax
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 2
call fcn.00417ab0
jmp 0x41971d
mov dword [ebp - 4], 1
cmp dword [ebp - 0x424], 0
jne 0x419734
mov esi, 0x8007000e
jmp 0x419773
push esi
push dword [ebp - 0x424]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x419754
call fcn.00403710
jmp 0x419771
mov eax, dword [ebp - 0x424]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x424]
call fcn.00419470
mov esi, eax
test edi, edi
je 0x41977e
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x4197a0
lea ecx, [ebp - 0x424]
call fcn.00417a60
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.00589cd3
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4246a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d4076
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x663a90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.CXElement.0
call fcn.00402f90
mov ecx, eax
test ecx, ecx
jne 0x4246e7
push 0x80004005
call fcn.004037b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 4], eax
mov dword [ebp - 4], 0
call fcn.00402f90
mov ecx, eax
test ecx, ecx
jne 0x42470e
push 0x80004005
call fcn.004037b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0xc], eax
lea esi, [edi + 0x10]
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0041bf40
mov dword [esi], eax
xorps xmm0, xmm0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
movq qword [edi + 0x28], xmm0
mov dword [edi + 0x28], edi
mov dword [edi + 0x24], vtable.TGeneralObserverObj_class_CXElement_.0
call fcn.004276e0
mov dword [edi + 0x30], eax
mov eax, edi
mov dword [edi + 8], 0
mov dword [edi + 0x2c], 0x424cd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x425eb0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
push 0x2c
lea eax, [esp + 8]
mov dword [esp + 4], 0x30
push 0
push eax
call fcn.005a2d80
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [esp + 0x14], eax
call fcn.004262e0
test eax, eax
mov dword [esp + 8], 0x425c80
mov ecx, 0x670ae0
cmove ecx, dword [esp + 0x28]
push 0
mov dword [esp + 0x2c], ecx
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esp + 0x20], eax
lea eax, [esp]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push dword [esp + 0x18]
push 0
push 0xfffffffffffffffd
push 0x64
push 0x64
push 0
push 0
push 0
push 0x63c6b4
push dword [esp + 0x50]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push eax
mov dword [0x670ce8], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x681968]
mov eax, 0x2aaaaaab
sub ecx, dword [0x681964]
imul ecx
mov dword [0x664640], 0
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x425f89
push 0
push 0x32
push 1
push dword [0x670ce8]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x664640], 1
xor eax, eax
mov esp, ebp
pop ebp
ret