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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4559c8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x477070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
sub dword [ebp + 8], 2
jne 0x42afcb
push str.LAUNCH
lea ecx, [esi + 0x80]
call fcn.00415080
test eax, eax
jne 0x42afcb
cmp dword [esi + 0x64], 8
lea eax, [esi + 0x50]
jb 0x42af18
mov eax, dword [eax]
mov ecx, dword [0x4792e4]
push eax
lea ecx, [ecx + 4]
call fcn.00417500
test al, al
je 0x42afcb
cmp dword [esi + 0xb0], 8
lea eax, [esi + 0x9c]
jb 0x42af40
mov eax, dword [eax]
mov ecx, dword [0x4792e4]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ecx + 4]
call fcn.004179f0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
push str.__Launching:__s
push 0x4656cc
push 0x477a14
call fcn.00433950
add esp, 0x10
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push 5
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x42afc3
test eax, eax
mov ecx, 0xe
cmove eax, ecx
push eax
push str.__Launch_error_0x_X
push 0x4662f8
push 0x477a14
call fcn.00433950
add esp, 0x10
lea ecx, [ebp - 0x28]
call fcn.00404890
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00436666
mov esp, ebp
pop ebp
ret 4

Function at 0x42b1f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0x200
push ebx
mov ebx, ecx
jne 0x42b25b
push esi
push edi
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
xor ecx, ecx
mov edx, 2
lea esi, [eax + 1]
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043694b
add esp, 4
mov edi, eax
push esi
push edi
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [ebx + 0x64], 8
lea ecx, [ebx + 0x50]
jb 0x42b240
mov ecx, dword [ecx]
push edi
push ecx
mov ecx, dword [0x4792e4]
lea ecx, [ecx + 4]
call fcn.004175d0
push edi
call fcn.004366b8
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 4
Function at 0x42bbc0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x458046
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x477070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
cmp eax, 0xfffffffe
je 0x42bbfd
cmp eax, 0xfffffffc
jne 0x42bdbe
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
lea ecx, [esi + 0x9c]
mov byte [ebp - 4], 1
cmp dword [ecx + 0x10], eax
sete al
test al, al
jne 0x42bcab
cmp dword [ecx + 0x14], 8
jb 0x42bc3e
mov ecx, dword [ecx]
push ecx
mov ecx, dword [0x4792e4]
lea eax, [ebp - 0x58]
push eax
lea ecx, [ecx + 4]
call fcn.004179f0
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x42bc8c
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x42bc6f
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00405180
xor eax, eax
mov dword [ebp - 0x14], 7
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00404b90
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x42bd28
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00405180
jmp 0x42bd28
cmp dword [esi + 0x64], 8
jb 0x42bcb6
mov eax, dword [esi + 0x50]
jmp 0x42bcb9
lea eax, [esi + 0x50]
mov ecx, dword [0x4792e4]
push eax
lea ecx, [ecx + 4]
call fcn.004174a0
mov edx, eax
cmp word [edx], 0
jne 0x42bcd4
xor ecx, ecx
jmp 0x42bcef
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42bce0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00404c00
push 0x469858
lea ecx, [esi + 0x50]
call fcn.00415080
test eax, eax
jne 0x42bd28
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.00405010
push 8
push str.explorer
lea ecx, [ebp - 0x28]
call fcn.00404c00
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
push str.Link:_Launching__s__s
push 0x4656cc
push 0x477a14
call fcn.00433950
add esp, 0x14
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 8
push 5
cmovae eax, dword [ebp - 0x28]
push 0
push ecx
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x42bd95
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00405180
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x42bdbe
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00405180
xor eax, 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.00436666
mov esp, ebp
pop ebp
ret 4
Function at 0x42e290
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov edx, dword [ebp + 8]
movzx eax, dx
push esi
mov esi, ecx
cmp eax, 0x401
jg 0x42e344
je 0x42e333
sub eax, 2
je 0x42e2d2
sub eax, 0x3fa
jne 0x42e34b
call fcn.0042d9b0
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 8
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
je 0x42e3d0
push 0x1f86
push ecx
mov ecx, dword [esi + 4]
mov edx, 0x4e20
push 2
push 3
call fcn.0041d500
add esp, 0x10
cmp eax, 6
jne 0x42e3d0
mov ecx, dword [0x4792e4]
push 0x642
call fcn.004101c0
push 0x40b
mov ecx, esi
call fcn.0041d2e0
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 8
call fcn.0042d9f0
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 8
cmp eax, 0x40b
je 0x42e376
mov eax, dword [esi + 0x4c]
mov ecx, dword [ebp + 0xc]
test eax, eax
je 0x42e361
cmp ecx, eax
jne 0x42e361
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push ecx
push edx
push 0x111
mov ecx, esi
call fcn.0041d300
pop esi
mov esp, ebp
pop ebp
ret 8
cmp byte [esi + 0x74], 0
jne 0x42e3ba
mov ecx, dword [0x4792e4]
call fcn.0040cc40
test al, al
jne 0x42e3ba
push 0x1f86
push ecx
mov ecx, dword [esi + 4]
mov edx, 0x4e20
push 2
push 3
call fcn.0041d500
add esp, 0x10
cmp eax, 6
jne 0x42e3d0
mov ecx, dword [0x4792e4]
push 0x642
call fcn.004101c0
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
mov byte [esi + 0xc], 1
mov dword [esi + 0x10], 0x40b
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x42f060
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4582be
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x477070]
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 + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 8
jb 0x42f0b1
mov eax, dword [esi]
jmp 0x42f0b3
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov dword [ebp - 4], ecx
mov dword [esi + 0x2c], 7
mov dword [esi + 0x28], ecx
cmp dword [esi + 0x2c], 8
jb 0x42f0d0
mov eax, dword [esi + 0x18]
jmp 0x42f0d3
lea eax, [esi + 0x18]
xor ecx, ecx
mov word [eax], cx
mov dword [esi + 0x48], 7
mov dword [esi + 0x44], ecx
cmp dword [esi + 0x48], 8
jb 0x42f0ed
mov eax, dword [esi + 0x34]
jmp 0x42f0f0
lea eax, [esi + 0x34]
xor ecx, ecx
mov word [eax], cx
mov edx, dword [ebp + 8]
mov byte [ebp - 4], 2
cmp word [edx], cx
je 0x42f120
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 8], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42f110
sub ecx, dword [ebp + 8]
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.00404c00
mov edx, dword [ebp + 0xc]
cmp word [edx], 0
jne 0x42f136
xor ecx, ecx
jmp 0x42f150
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 8], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42f140
sub ecx, dword [ebp + 8]
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x18]
call fcn.00404c00
push 0
push 0x466c0c
lea ecx, [esi + 0x34]
mov dword [esi + 0x30], 0
call fcn.00404c00
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 0x10

Function at 0x42f7a0
Capabilities:
Check if file exists
Copy file
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x477070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, edx
push str.____Caching_MSI
push 0x4656cc
push 0x477a14
mov esi, ecx
call fcn.00433950
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
push 0
push 0
push esi
call dword [sym.imp.msi.dll_MsiSourceListClearAllW]
test eax, eax
jne 0x42f87c
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42f7ff
push eax
push edi
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push edi
lea eax, [ebp - 0x25c]
push 0x104
push eax
call fcn.0043efc6
add esp, 0xc
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.______Copying_to_cache
push 0x4656cc
push 0x477a14
call fcn.00433950
add esp, 0xc
lea eax, [ebp - 0x25c]
push 1
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push str.______Adding_to_source_list
push 0x4656cc
push 0x477a14
call fcn.00433950
add esp, 0xc
lea eax, [ebp - 0x25c]
push eax
push 0
push 0
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.msi.dll_MsiIsProductElevatedW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00436666
mov esp, ebp
pop ebp
ret
Function at 0x4305e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45862e
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x477070]
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
xor eax, eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea eax, [edi + 0x74]
cmp dword [eax + 0x14], 8
jb 0x430635
mov eax, dword [eax]
mov ecx, dword [edx + 4]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004179f0
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x43067d
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x430660
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00405180
xor eax, eax
mov dword [ebp - 0x14], 7
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00404b90
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x430696
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00405180
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.__Launching__s
push 0x4656cc
push 0x477a14
call fcn.00433950
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x88]
push 0x44
push 0
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
call fcn.00439c60
add esp, 0x1c
mov dword [ebp - 0x88], 0x44
lea eax, [ebp - 0x38]
xorps xmm0, xmm0
movups xmmword [ebp - 0x38], xmm0
push eax
lea eax, [ebp - 0x88]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x430733
push 0xffffffffffffffff
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x34]
call esi
jmp 0x43073f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x430771
mov esi, dword [ebp - 0x44]
test esi, esi
je 0x4307ab
cmp esi, 0xbc2
je 0x4307ab
cmp byte [edi + 0xf8], 0
je 0x4307ab
push esi
push str.____Exit_code_was__d_but_ignore_error_flag_is_set
push 0x4656cc
push 0x477a14
call fcn.00433950
add esp, 0x10
jmp 0x4307a9
push esi
push str.__Failed_to_launch_with_error__d.
push 0x4662f8
push 0x477a14
call fcn.00433950
add esp, 0x10
cmp byte [edi + 0xf8], 0
je 0x4307ab
push str.____Ignore_error_flag_is_set
push 0x4656cc
push 0x477a14
call fcn.00433950
add esp, 0xc
xor esi, esi
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x4307c0
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00405180
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.00436666
mov esp, ebp
pop ebp
ret
Function at 0x4307e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x458671
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x477070]
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, edx
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x26c], 7
mov dword [ebp - 0x270], 0
mov word [ebp - 0x280], ax
lea esi, [edi + 0xa8]
mov dword [ebp - 4], eax
cmp dword [esi + 0x14], 8
jb 0x430842
mov eax, dword [esi]
jmp 0x430844
mov eax, esi
lea ecx, [ebp - 0x60]
push ecx
push 0
push 0
push eax
call dword [sym.imp.msi.dll_MsiSourceListClearAllW]
test eax, eax
jne 0x4309be
cmp dword [edi + 0x2c], 8
lea esi, [edi + 0x18]
jb 0x430866
mov esi, dword [esi]
mov ecx, dword [ebx + 4]
push str.IIF_CACHELOC
call fcn.004174a0
push eax
lea eax, [ebp - 0x268]
push 0x104
push eax
call fcn.0043efc6
add esp, 0xc
lea eax, [ebp - 0x268]
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.____Removing_from_cache
push 0x4656cc
push 0x477a14
call fcn.00433950
add esp, 0xc
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebx + 4]
lea eax, [ebp - 0x298]
push 1
push eax
lea ecx, [edi + 0x4c]
call fcn.00418000
mov esi, eax
lea eax, [ebp - 0x280]
cmp eax, esi
je 0x430921
mov eax, dword [ebp - 0x26c]
cmp eax, 8
jb 0x4308f8
inc eax
lea ecx, [ebp - 0x280]
push eax
push dword [ebp - 0x280]
call fcn.00405180
xor eax, eax
mov dword [ebp - 0x26c], 7
push esi
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x270], 0
mov word [ebp - 0x280], ax
call fcn.00404b90
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x284]
cmp eax, 8
jb 0x430943
inc eax
lea ecx, [ebp - 0x298]
push eax
push dword [ebp - 0x298]
call fcn.00405180
cmp dword [ebp - 0x26c], 8
lea eax, [ebp - 0x280]
cmovae eax, dword [ebp - 0x280]
push eax
lea eax, [ebp - 0x60]
push eax
push str.__Uninstalling_product_code__s__Properties__s
push 0x4656cc
push 0x477a14
call fcn.00433950
add esp, 0x14
mov edx, ebx
mov ecx, edi
call fcn.0042f890
cmp dword [ebp - 0x26c], 8
lea eax, [ebp - 0x280]
cmovae eax, dword [ebp - 0x280]
push eax
push 2
push 0
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.msi.dll_MsiGetFileVersionA]
mov esi, eax
test esi, esi
je 0x4309e0
cmp esi, 0xbc2
je 0x4309e0
cmp byte [edi + 0xf8], 0
je 0x4309e0
push esi
push str.____Result_code_was__d_but_ignore_error_is_set
jmp 0x4309cc
cmp dword [esi + 0x14], 8
jb 0x4309c6
mov esi, dword [esi]
push esi
push str.____Upgrade_code__s_is_not_installed
push 0x4656cc
push 0x477a14
call fcn.00433950
add esp, 0x10
xor esi, esi
mov eax, dword [ebp - 0x26c]
cmp eax, 8
jb 0x4309fe
inc eax
lea ecx, [ebp - 0x280]
push eax
push dword [ebp - 0x280]
call fcn.00405180
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.00436666
mov esp, ebp
pop ebp
ret
Function at 0x430a20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45862e
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x477070]
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
xor eax, eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea eax, [edi + 0x8c]
cmp dword [eax + 0x14], 8
jb 0x430a78
mov eax, dword [eax]
mov ecx, dword [edx + 4]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004179f0
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x430ac0
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x430aa3
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00405180
xor eax, eax
mov dword [ebp - 0x14], 7
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00404b90
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x430ad9
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00405180
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.__Launching__s
push 0x4656cc
push 0x477a14
call fcn.00433950
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x88]
push 0x44
push 0
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
call fcn.00439c60
add esp, 0x1c
mov dword [ebp - 0x88], 0x44
lea eax, [ebp - 0x38]
xorps xmm0, xmm0
movups xmmword [ebp - 0x38], xmm0
push eax
lea eax, [ebp - 0x88]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x430b76
push 0xffffffffffffffff
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x34]
call esi
jmp 0x430b82
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x430bb4
mov esi, dword [ebp - 0x44]
test esi, esi
je 0x430bee
cmp esi, 0xbc2
je 0x430bee
cmp byte [edi + 0xf8], 0
je 0x430bee
push esi
push str.____Exit_code_was__d_but_ignore_error_flag_is_set
push 0x4656cc
push 0x477a14
call fcn.00433950
add esp, 0x10
jmp 0x430bec
push esi
push str.__Failed_to_launch_with_error__d.
push 0x4662f8
push 0x477a14
call fcn.00433950
add esp, 0x10
cmp byte [edi + 0xf8], 0
je 0x430bee
push str.____Ignore_error_flag_is_set
push 0x4656cc
push 0x477a14
call fcn.00433950
add esp, 0xc
xor esi, esi
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x430c03
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00405180
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.00436666
mov esp, ebp
pop ebp
ret
Function at 0x432d60
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x477070]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
lea eax, [ebp - 0x11c]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
xor ecx, ecx
mov edx, 2
lea esi, [eax + 1]
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043694b
add esp, 4
mov edi, eax
push esi
push edi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push ebx
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0
push 0x31
push ebx
mov esi, eax
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
xor ecx, ecx
mov eax, 0x10
cmp byte [ebp + 0x10], cl
cmovne ecx, eax
lea eax, [ebp - 0x11c]
or ecx, 0x400
push ecx
push eax
push 0xffffffffffffffff
push edi
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
push esi
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
push edi
call fcn.004366b8
add esp, 4
lea eax, [ebp - 0x10c]
push 0x80
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
mov eax, str.Button
lea ecx, [ebp - 0x10c]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x432e5c
test dx, dx
je 0x432e58
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x432e5c
add ecx, 4
add eax, 4
test dx, dx
jne 0x432e36
xor eax, eax
jmp 0x432e61
sbb eax, eax
or eax, 1
test eax, eax
jne 0x432e8a
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 0xb
jle 0x432e8a
push 0x47
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x114]
add ecx, eax
mov dword [ebp - 0x114], ecx
jmp 0x432e90
mov ecx, dword [ebp - 0x114]
mov eax, dword [ebp - 0x110]
sub eax, dword [ebp - 0x118]
sub ecx, dword [ebp - 0x11c]
inc eax
push 6
push eax
inc ecx
push ecx
push 0
push 0
push 0
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00436666
mov esp, ebp
pop ebp
ret 0xc

Function at 0x433a70
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x477070]
xor eax, ebp
mov dword [ebp - 8], eax
mov edx, dword [ebp + 8]
push esi
cmp word [edx], 0
jne 0x433a91
xor eax, eax
jmp 0x433aa5
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x433a96
sub eax, esi
sar eax, 1
push eax
mov esi, 0x477a18
push edx
mov ecx, esi
call fcn.00404c00
cmp dword [0x477a2c], 8
lea eax, [ebp - 0x214]
cmovae esi, dword [0x477a18]
push esi
push 0x104
push eax
call fcn.0043efc6
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0
lea eax, [ebp - 0x214]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x466c0c
push 0x4656cc
push 0x477a14
call fcn.00433950
add esp, 0xc
call fcn.00433b30
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.00436666
mov esp, ebp
pop ebp
ret 4
Function at 0x433b30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x477070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.___Dumping_deffered_logs
push 0x4656cc
push 0x477a14
call fcn.00433950
add esp, 0xc
mov eax, 0x477a18
cmp dword [0x477a2c], 8
cmovae eax, dword [0x477a18]
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 2
push 0
push 0
push eax
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, dword [0x477a30]
mov edx, dword [0x477a34]
cmp esi, edx
je 0x433c35
nop word [eax + eax]
xor eax, eax
mov dword [ebp - 8], 7
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xc], 0
mov word [ebp - 0x1c], ax
call fcn.00405010
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x1c]
mov edi, dword [ebp - 0x1c]
cmp edx, 8
cmovae eax, edi
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x433be2
sub eax, ebx
lea ecx, [ebp - 0x1c]
sar eax, 1
cmp edx, 8
push 0
cmovae ecx, edi
lea edx, [ebp - 0x20]
push edx
add eax, eax
push eax
push ecx
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 8]
add esi, 0x18
cmp eax, 8
jb 0x433c25
inc eax
lea ecx, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
call fcn.00405180
mov edx, dword [0x477a34]
cmp esi, edx
jne 0x433bb0
mov esi, dword [0x477a30]
push ecx
mov ecx, esi
call fcn.004040a0
mov eax, dword [0x477a30]
add esp, 4
mov dword [0x477a34], eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00436666
mov esp, ebp
pop ebp
ret