joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c900
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0x1c], 0
push ebx
push esi
push edi
mov esi, ecx
jne 0x42ca19
mov ebx, dword [ebp + 0xc]
mov edi, dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
cmp ebx, dword [esi]
jne 0x42c962
cmp dword [esi + 8], 0
mov dword [esi + 0x3c8], 1
je 0x42c94c
lea eax, [esi + 0xc]
push eax
push 1
call edi
mov dword [esi + 8], eax
test eax, eax
jne 0x42c94c
lea eax, [esi + 0xc]
push eax
push 0
call edi
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
cmp dword [esi + 0x3c8], 0
jne 0x42ca0b
cmp ebx, dword [esi + 4]
jne 0x42ca19
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x3c8], 1
cmp eax, dword [esi + 0x14]
jne 0x42c9f9
lea eax, [ebp - 8]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 8], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
movzx eax, word [ebp + 0x14]
mov ecx, 0x202
cmp ax, cx
je 0x42c9b1
mov ecx, 0x203
cmp ax, cx
je 0x42c9b1
mov ecx, 0x205
cmp ax, cx
jne 0x42c9f9
push 5
push 0
push 0
push dword [esi + 0x3d8]
push 0x53f670
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [esi + 8], 0
je 0x42c9e6
lea eax, [esi + 0xc]
mov dword [esi + 8], 0
push eax
push 2
mov dword [esi + 0x18], 0
call edi
call fcn.004207e0
mov ecx, eax
call fcn.004208c0
mov ecx, eax
call fcn.00428d20
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
cmp dword [esi + 0x3c8], 0
je 0x42ca19
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x42cd60
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52fc9c
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5852e0]
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 + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [ebp - 4], 0
mov dword [esi + 4], vtable.LdsWebView::IWebViewListener.0
mov dword [esi + 8], vtable.LdsWebView::IWebViewAdvanceListener.0
lea ecx, [esi + 0x30]
xor eax, eax
mov dword [esi], vtable.PopWindowOsr.0
mov dword [esi + 4], vtable.PopWindowOsr.1.0
mov dword [esi + 8], vtable.PopWindowOsr.2.0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0x1f4
mov dword [esi + 0x2c], 0x1f4
push eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 0x53cad8
mov byte [ebp - 4], 1
mov word [ecx], ax
call fcn.0040c530
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 2
call fcn.0043ae80
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 3
call fcn.0043b880
mov byte [esi + 0x68], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x431080
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x530478
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x5852e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ecx + 0x18]
test eax, eax
je 0x43119a
push 0
push 0x587100
push 0x5870dc
push 0
push eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 4
call fcn.004fc8b7
add esp, 0x14
lea edx, [ebp - 0x18]
mov ecx, dword [eax]
push edx
lea edx, [ebp - 0x10]
push edx
push str.root_window
push eax
call dword [ecx + 0x2c]
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x431120
push str.viewfailed
lea ecx, [ebp + 8]
call fcn.00402df0
mov dword [ebp - 4], 0
call fcn.004316b0
push 1
lea ecx, [ebp + 8]
push ecx
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
mov edx, dword [ebp + 8]
jmp 0x43117b
cmp byte [ebp + 8], 0
je 0x431147
push 5
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
push str.show
lea ecx, [ebp + 8]
call fcn.00402df0
mov dword [ebp - 4], 1
jmp 0x431109
push 0
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
push str.hide
lea ecx, [ebp - 0x14]
call fcn.00402df0
mov dword [ebp - 4], 2
call fcn.004316b0
push 1
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43119a
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
mov esp, ebp
pop ebp
ret 4
Function at 0x433410
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2024
call fcn.004490d0
mov eax, dword [0x5852e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x433440
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00448d48
mov esp, ebp
pop ebp
ret
push 0x2000
xorps xmm0, xmm0
mov dword [ebp - 0x200c], 0
lea eax, [ebp - 0x2004]
movq qword [ebp - 0x2014], xmm0
push 0
movups xmmword [ebp - 0x2024], xmm0
push eax
mov word [ebp - 0x2008], 0
mov dword [ebp - 0x2020], 3
call fcn.004fbfe0
push 0x1000
lea eax, [ebp - 0x2004]
push esi
push eax
call fcn.00505cce
lea eax, [ebp - 0x2004]
add esp, 0x18
mov dword [ebp - 0x201c], eax
mov eax, 0x614
mov word [ebp - 0x2014], ax
lea eax, [ebp - 0x2024]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.00448d48
mov esp, ebp
pop ebp
ret
Function at 0x433ea0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53083b
mov eax, dword fs:[0]
push eax
mov eax, 0x2018
call fcn.004490d0
mov eax, dword [0x5852e0]
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 eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x2014], eax
mov eax, dword [ebp + 0x10]
push 0x2000
mov dword [ebp - 0x201c], eax
lea eax, [ebp - 0x2010]
push 0
push eax
call fcn.004fbfe0
add esp, 0xc
lea eax, [ebp - 0x2020]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x43401d
cmp eax, 0x1fff
ja 0x43401d
lea ecx, [ebp - 0x2010]
push ecx
push eax
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x43401d
lea eax, [ebp - 0x2024]
push eax
lea eax, [ebp - 0x2018]
push eax
push 0x542b84
lea eax, [ebp - 0x2010]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x43401d
cmp dword [ebp + 0x18], 0
mov eax, dword [ebp - 0x2018]
je 0x433f73
mov ebx, dword [eax + 8]
mov edi, dword [eax + 0xc]
jmp 0x433f79
mov ebx, dword [eax + 0x10]
mov edi, dword [eax + 0x14]
mov eax, dword [ebp - 0x2014]
test eax, eax
je 0x433f85
mov dword [eax], ebx
mov eax, dword [ebp - 0x201c]
test eax, eax
je 0x433f91
mov dword [eax], edi
test esi, esi
je 0x434016
lea ecx, [ebp - 0x2014]
call fcn.004329c0
movzx eax, di
push eax
shr edi, 0x10
push edi
movzx eax, bx
push eax
shr ebx, 0x10
lea eax, [ebp - 0x2014]
push ebx
push str._d._d._d._d
push eax
mov dword [ebp - 4], 0
call fcn.00403500
mov edx, dword [ebp - 0x2014]
add esp, 0x18
mov ecx, 0x104
sub edx, esi
nop dword [eax]
lea eax, [ecx + 0x7ffffefa]
test eax, eax
je 0x433ffe
movzx eax, word [edx + esi]
test ax, ax
je 0x433ffe
mov word [esi], ax
add esi, 2
sub ecx, 1
jne 0x433fe0
test ecx, ecx
lea eax, [esi - 2]
cmovne eax, esi
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x2014]
call fcn.00403080
mov eax, 1
jmp 0x43401f
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.00448d48
mov esp, ebp
pop ebp
ret
Function at 0x434db0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x530a26
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
mov eax, dword [0x5852e0]
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]
lea eax, [ebp - 0x2e0]
push 0x2d0
push 0
push eax
call fcn.004fbfe0
mov esi, dword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
lea eax, [ebp - 0x2e8]
add esp, 0xc
mov dword [ebp - 0x2e8], 0x168
push eax
lea eax, [ebp - 0x2e0]
push eax
push 0x53f670
push str.http
push 1
push 0
call esi
xor ebx, ebx
test eax, eax
setns bl
test eax, eax
jns 0x434e52
lea eax, [ebp - 0x2e8]
push eax
lea eax, [ebp - 0x2e0]
push eax
push 0
push str.iexplore.exe
push 2
push 2
call esi
xor ebx, ebx
test eax, eax
setns bl
test ebx, ebx
je 0x434f96
call fcn.00403610
mov ecx, eax
test ecx, ecx
je 0x434fb4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2e4], eax
lea eax, [ebp - 0x2e0]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x2e4]
call fcn.004032c0
test al, al
jne 0x434ec2
lea ecx, [ebp - 0x2e0]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x434ea0
sub ecx, edx
lea eax, [ebp - 0x2e0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2e4]
call fcn.00403ba0
mov esi, dword [ebp - 0x2e4]
mov dword [ebp - 4], 1
cmp dword [esi - 0xc], 0
jge 0x434eda
or eax, 0xffffffff
jmp 0x434ef5
push str..exe
push esi
call fcn.004fc16b
add esp, 8
test eax, eax
jne 0x434ef1
or eax, 0xffffffff
jmp 0x434ef5
sub eax, esi
sar eax, 1
mov ecx, dword [esi - 0xc]
test eax, eax
jle 0x434f26
sub ecx, eax
add eax, 4
add ecx, 4
push ecx
push eax
lea ecx, [ebp - 0x2e4]
call fcn.00433350
push 1
push 0
lea ecx, [ebp - 0x2e4]
call fcn.00433350
mov esi, dword [ebp - 0x2e4]
push 1
push 0
push dword [edi]
push esi
push 0x53f670
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x434f60
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x434f96
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x434f96
push 0xffffffffffffffff
push 0
push 0
push 0
push 0
push 1
push dword [edi]
push esi
call fcn.00436a70
add esp, 0x20
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x434f96
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
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.00448d48
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004032a0
int3
Function at 0x435050
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x5852e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x414], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x408], esi
mov dword [ebp - 0x408], ecx
push edi
mov edi, dword [ebp + 0x18]
test ecx, ecx
je 0x4350f1
test ebx, ebx
je 0x4350f1
test eax, eax
je 0x4350f1
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.004fbfe0
add esp, 0xc
mov dword [ebp - 0x410], 1
lea eax, [ebp - 0x40c]
mov dword [ebp - 0x40c], 0x400
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x414]
push ebx
push dword [ebp - 0x408]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4350f1
lea eax, [ebp - 0x404]
jmp 0x4350fb
test edi, edi
mov eax, 0x53cad8
cmovne eax, edi
push eax
mov ecx, esi
call fcn.00402df0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00448d48
mov esp, ebp
pop ebp
ret
Function at 0x436320
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x530c53
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x5852e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
call fcn.0044ac30
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x43649f
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxutilsutils.cc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.0040c440
push 3
push 0x53f3bc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040c440
mov byte [ebp - 4], 2
call fcn.0044ac30
mov edi, eax
lea ecx, [ebp - 0xd8]
push 0x3eb
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040dcb0
mov esi, eax
push 0x542ed4
push esi
mov byte [ebp - 4], 3
call fcn.00407070
mov ecx, dword [ebp + 8]
mov edx, 0x53f018
test ecx, ecx
cmovne edx, ecx
push edx
push esi
call fcn.00407070
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xd8]
call fcn.00409540
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x436447
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43643d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4364ef
push edx
push ecx
call fcn.00448aa0
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x43648d
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x436483
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4364f4
push edx
push ecx
call fcn.00448aa0
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
push dword [ebp + 8]
push reloc.gdiplus.dll_Ordinal_1
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov edx, dword [ebp + 8]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4364cf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
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.00448d48
mov esp, ebp
pop ebp
ret
call fcn.004ff559
call fcn.004ff559
int3
Function at 0x436a70
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x575010
push 0x4fcb60
mov eax, dword fs:[0]
push eax
sub esp, 0x848
mov eax, dword [0x5852e0]
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 0x436bd0
cmp word [esi], 0
je 0x436bd0
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436ad0
sub ecx, edx
sar ecx, 1
cmp ecx, 0x104
ja 0x436bd0
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x436bd0
push 0x800
push 0
lea eax, [ebp - 0x81c]
push eax
call fcn.004fbfe0
push esi
push str.__s_
push 0x3ff
lea eax, [ebp - 0x81c]
push eax
call fcn.004373e0
push 0x3c
push 0
lea eax, [ebp - 0x858]
push eax
call fcn.004fbfe0
add esp, 0x28
mov dword [ebp - 0x858], 0x3c
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x848], eax
mov dword [ebp - 0x84c], 0x53f670
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 0x436b97
cmp dword [ebp + 0x1c], 0
je 0x436b97
push 0xffffffffffffffff
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test edi, edi
je 0x436bac
test esi, esi
je 0x436bbc
push edi
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test esi, esi
je 0x436bbc
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x436bd9
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.00448d48
mov esp, ebp
pop ebp
ret

Function at 0x436c00
Capabilities:
Check if file exists
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x436c2b
push 0x80
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop esi
pop ebp
ret
mov eax, 1
pop esi
pop ebp
ret
Function at 0x437030
Capabilities:
Check if file exists
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x437078
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x437078
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x437068
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x437078
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor eax, eax
pop esi
pop ebp
ret
mov eax, 1
pop esi
pop ebp
ret
Function at 0x437be0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x437bee
mov eax, dword [eax]
push edi
push 0x542b88
push eax
call fcn.00507e02
mov edi, eax
add esp, 8
test edi, edi
jne 0x437c0f
call fcn.004ff622
pop edi
mov eax, dword [eax]
neg eax
pop ebp
ret
mov eax, dword [ebp + 0xc]
push ebx
push esi
cmp dword [eax + 0x14], 0x10
lea ebx, [eax + 0x10]
jb 0x437c1f
mov eax, dword [eax]
push edi
push dword [ebx]
push 1
push eax
call fcn.00508147
push edi
mov esi, eax
call fcn.00507e8f
add esp, 0x14
xor eax, eax
cmp esi, dword [ebx]
cmovne esi, eax
mov eax, esi
pop esi
pop ebx
pop edi
pop ebp
ret

Function at 0x437c50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
mov edx, 0x53cad8
test eax, eax
cmovne edx, eax
cmp dword [ebp + 8], 0
je 0x437cad
cmp dword [ebp + 0xc], 0
je 0x437cad
cmp dword [ebp + 0x10], 0
je 0x437cad
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x14], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x437c80
sub ecx, dword [ebp + 0x14]
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edx
push 1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
neg eax
sbb eax, eax
inc eax
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4380e0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x530e88
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5852e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x3c
call fcn.00448e83
mov ebx, dword [ebp + 8]
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
lea esi, [edi + 4]
mov dword [edi], vtable.std::_Func_impl_no_alloc_class_std::_Binder_struct_std::_Unforced__class__lambda_ac246ec2fed0372d855066d4545aeece______void___.0
mov dword [ebp - 0x18], esi
mov ecx, esi
push ebx
mov dword [ebp - 0x18], esi
call fcn.0041db30
lea eax, [ebx + 0x18]
mov byte [ebp - 4], 1
push eax
lea ecx, [esi + 0x18]
call fcn.0041db30
mov eax, dword [ebx + 0x30]
mov dword [esi + 0x30], eax
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
Function at 0x4481f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5320b8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x5852e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.00448e83
mov edi, eax
add esp, 4
test edi, edi
je 0x448294
xorps xmm0, xmm0
movq qword [edi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0043f560
add esp, 4
mov dword [edi + 4], eax
jmp 0x448296
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov ecx, dword [edi + 4]
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 2
push eax
call fcn.00441610
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov eax, dword [edx + 0x20]
call eax
mov bl, al
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 3
test ecx, ecx
je 0x4482f7
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x4482f7
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov byte [esi + 0x40], bl
jne 0x44831a
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x44833d
cmp byte [ebp + 0xc], 0
je 0x448329
push esi
call fcn.0043fac4
add esp, 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 8
test cl, 4
je 0x448349
mov esi, str.ios_base::badbit_set
jmp 0x448359
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x1c]
push 1
push eax
call fcn.0040cb10
add esp, 8
lea ecx, [ebp - 0x30]
push eax
push esi
call fcn.00408770
push 0x57158c
lea eax, [ebp - 0x30]
push eax
call fcn.004fb0c6
int3