joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42df10
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ce368
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x667ce0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x10], edx
xor ecx, ecx
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 7
mov word [edx + 4], cx
mov dword [edx + 0x2c], ecx
mov dword [edx + 0x30], 7
mov dword [ebp - 4], ecx
mov word [edx + 0x1c], cx
mov dword [edx + 0x44], ecx
mov dword [edx + 0x48], 7
mov word [edx + 0x34], cx
lea ecx, [edx + 0x4c]
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
xor esi, esi
mov dword [edx + 0x74], eax
mov dword [edx + 0x78], 7
mov word [edx + 0x64], si
mov dword [edx + 0x8c], esi
mov dword [edx + 0x90], 7
mov word [edx + 0x7c], ax
mov dword [edx + 0xa4], esi
mov dword [edx + 0xa8], 7
mov word [edx + 0x94], si
lea ebx, [edx + 0xac]
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], 7
mov word [ebx], ax
lea edi, [edx + 0xc4]
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], 7
mov word [edi], ax
lea esi, [edx + 0xdc]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [edx + 0x104], eax
mov dword [edx + 0x108], 7
mov word [edx + 0xf4], ax
push eax
push 0x656858
mov byte [ebp - 4], 0xa
mov dword [edx], eax
call fcn.00403240
mov ecx, dword [ebp - 0x10]
push 0
push 0x656858
lea ecx, [ecx + 0x64]
call fcn.00403240
mov ecx, dword [ebp - 0x10]
push 0
push 0x656858
lea ecx, [ecx + 4]
call fcn.00403240
mov ecx, dword [ebp - 0x10]
push 0
push 0x656858
lea ecx, [ecx + 0x1c]
call fcn.00403240
mov ecx, dword [ebp - 0x10]
push 0
push 0x656858
lea ecx, [ecx + 0x34]
call fcn.00403240
mov ecx, dword [ebp - 0x10]
push 0
push 0x656858
lea ecx, [ecx + 0x94]
call fcn.00403240
push 0
push 0x656858
mov ecx, ebx
call fcn.00403240
push 0
push 0x656858
mov ecx, edi
call fcn.00403240
push 0
push 0x656858
mov ecx, esi
call fcn.00403240
mov eax, dword [ebp - 0x10]
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 0x42fc00
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x667ce0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x42fc60
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42fc20
sub ecx, edx
sar ecx, 1
je 0x42fc60
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
je 0x42fc60
push 0x10020
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x42fc74
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059cf09
mov esp, ebp
pop ebp
ret 4
push edi
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
call esi
push ebx
call esi
test edi, edi
pop edi
je 0x42fc60
mov ecx, dword [ebp - 4]
mov eax, 1
pop esi
xor ecx, ebp
pop ebx
call fcn.0059cf09
mov esp, ebp
pop ebp
ret 4
Function at 0x43c489
Capabilities:
Set registry value

Disassembly:
push 0x2c
mov eax, 0x5cfd1f
call fcn.0059d2ac
xor esi, esi
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.004535d9
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], esi
call fcn.0045360d
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x43c4c2
mov edi, 0xf003f
push edi
push esi
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43c532
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push esi
push esi
push esi
push 0x5d4e0c
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x43c4ff
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43c532
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 0xc]
push 1
push esi
push dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x38]
call fcn.004535ec
call fcn.0059d275
ret 8
Function at 0x43ca04
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x5cfde3
call fcn.0059d2ac
xor esi, esi
mov dword [ebp - 0x18], 0x104
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.004535d9
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.0045360d
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x43ca44
mov edi, 0xf003f
push edi
push esi
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43caa6
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push esi
push esi
push esi
push 0x5d4e0c
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x43ca81
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43caa6
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x3c]
call fcn.004535ec
call fcn.0059d275
ret 8

Function at 0x43cac2
Capabilities:
Read .ini file

Disassembly:
push 0x224
mov eax, 0x5ccb5b
call fcn.0059d2e0
mov esi, ecx
mov edi, 0x5d4990
lea eax, [ebp - 0x230]
push edi
mov ebx, str.InstallTime
push ebx
push str.BKApp
push eax
call fcn.0043cf0e
and dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
push edi
call fcn.0043ea07
test al, al
je 0x43cb62
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005a2240
lea eax, [esi + 0xd4]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x43cb28
mov eax, dword [eax]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
push ebx
push str.BKApp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
call fcn.005afdc8
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00403240
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.005aa4d3
pop ecx
lea ecx, [ebp - 0x230]
mov esi, eax
call fcn.00402fe0
mov eax, esi
call fcn.0059d28a
ret
Function at 0x43cbf8
Capabilities:
Read .ini file

Disassembly:
push 0x864
mov eax, 0x5cfe1f
call fcn.0059d2e0
mov ebx, ecx
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cdq
push edx
push eax
lea eax, [ebp - 0x828]
push eax
call fcn.004477dd
add esp, 0xc
xor eax, eax
lea ecx, [ebp - 0x840]
mov dword [ebp - 4], eax
mov dword [ebp - 0x830], eax
mov dword [ebp - 0x82c], eax
lea eax, [ebp - 0x828]
push eax
call fcn.0043e95c
push 0x800
lea eax, [ebp - 0x810]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.005a2240
lea ecx, [ebx + 0xd4]
add esp, 0xc
cmp dword [ecx + 0x14], 8
jb 0x43cc6f
mov ecx, dword [ecx]
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
push ecx
cmovae eax, dword [ebp - 0x828]
lea ecx, [ebp - 0x810]
push 0x400
push ecx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x858]
call fcn.00403040
lea eax, [ebp - 0x828]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x858]
call fcn.0043e9d7
test al, al
je 0x43cd03
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
mov ecx, ebx
cmovae eax, dword [ebp - 0x828]
push eax
push edi
push esi
lea eax, [ebp - 0x870]
push eax
call fcn.0043cf0e
push eax
lea ecx, [ebp - 0x840]
call fcn.00406e80
lea ecx, [ebp - 0x870]
call fcn.00402fe0
jmp 0x43cd15
lea eax, [ebp - 0x858]
push eax
lea ecx, [ebp - 0x840]
call fcn.00417a80
cmp dword [ebp - 0x82c], 8
lea eax, [ebp - 0x840]
cmovae eax, dword [ebp - 0x840]
push eax
call fcn.005aa4d3
pop ecx
lea ecx, [ebp - 0x858]
mov esi, eax
call fcn.00402fe0
lea ecx, [ebp - 0x840]
call fcn.00402fe0
lea ecx, [ebp - 0x828]
call fcn.00402fe0
mov eax, esi
call fcn.0059d28a
ret 0xc

Function at 0x43cd5d
Capabilities:
Read .ini file

Disassembly:
push 0x844
mov eax, 0x5cfe74
call fcn.0059d2e0
mov ebx, ecx
and dword [ebp - 4], 0
lea ecx, [ebp - 0x828]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x848], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x850], esi
and dword [ebp - 0x84c], 0
push edi
mov dword [ebp - 0x844], eax
call fcn.00403040
and dword [esi + 0x10], 0
lea eax, [ebp - 0x828]
and dword [esi + 0x14], 0
mov ecx, esi
push eax
mov dword [ebp - 4], 1
call fcn.0043e95c
cmp byte [ebp + 0x18], 0
mov dword [ebp - 0x84c], 1
jne 0x43ce30
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.005a2240
lea eax, [ebx + 0xd4]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x43cdf4
mov eax, dword [eax]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push edi
push dword [ebp - 0x844]
push dword [ebp - 0x848]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
push eax
call fcn.005afdc8
pop ecx
push eax
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.00403240
lea eax, [ebp - 0x828]
mov ecx, esi
push eax
call fcn.0043e9d7
test al, al
je 0x43ce70
push edi
push dword [ebp - 0x844]
lea eax, [ebp - 0x840]
mov ecx, ebx
push dword [ebp - 0x848]
push eax
call fcn.0043cf0e
push eax
mov ecx, esi
call fcn.00406e80
lea ecx, [ebp - 0x840]
call fcn.00402fe0
lea ecx, [ebp - 0x828]
call fcn.00402fe0
mov eax, esi
call fcn.0059d28a
ret 0x14
Function at 0x43cf54
Capabilities:
Read .ini file

Disassembly:
push 0x838
mov eax, 0x5cfea7
call fcn.0059d2e0
mov edi, ecx
mov ecx, dword [ebp + 0xc]
lea eax, [edi + 0x8c]
cmp dword [eax + 0x14], 8
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x844], ecx
jb 0x43cf7f
mov eax, dword [eax]
push eax
push dword [ebp + 0x10]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
cmp esi, dword [ebp + 0x10]
jne 0x43d03c
push 0x656858
lea ecx, [ebp - 0x828]
call fcn.00403040
and dword [ebp - 4], 0
lea eax, [ebp - 0x810]
push 0x800
push 0
push eax
call fcn.005a2240
push dword [ebp + 0x10]
lea eax, [ebp - 0x810]
push 0x5d4a5c
push eax
call fcn.00405d80
add esp, 0x18
lea eax, [ebp - 0x810]
cmp byte [edi + 5], 0
mov ecx, edi
push eax
push dword [ebp - 0x844]
lea eax, [ebp - 0x840]
push ebx
push eax
je 0x43cff8
call fcn.0043ce85
jmp 0x43cffd
call fcn.0043cf31
push eax
lea ecx, [ebp - 0x828]
call fcn.00406e80
lea ecx, [ebp - 0x840]
call fcn.00402fe0
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push eax
call fcn.005aa4d3
pop ecx
lea ecx, [ebp - 0x828]
mov esi, eax
call fcn.00402fe0
mov eax, esi
call fcn.0059d28a
ret 0xc

Function at 0x43d046
Capabilities:
Read .ini file

Disassembly:
push 0x82c
mov eax, 0x5cfef1
call fcn.0059d2e0
mov edi, ecx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x830], eax
mov eax, dword [ebp + 0x10]
push 0x800
mov dword [ebp - 0x82c], eax
lea eax, [ebp - 0x810]
push ecx
mov dword [ebp - 0x838], esi
push eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x834], ecx
call fcn.005a2240
lea eax, [edi + 0x8c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x43d0a3
mov eax, dword [eax]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push ebx
push dword [ebp - 0x82c]
push dword [ebp - 0x830]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.00403040
and dword [ebp - 4], 0
mov eax, esi
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x834], 1
jb 0x43d0e9
mov eax, dword [esi]
push ebx
push eax
call fcn.005afd66
pop ecx
pop ecx
test eax, eax
jne 0x43d131
cmp byte [edi + 5], 0
lea eax, [ebp - 0x828]
push ebx
push dword [ebp - 0x82c]
mov ecx, edi
push dword [ebp - 0x830]
push eax
je 0x43d119
call fcn.0043ce85
jmp 0x43d11e
call fcn.0043cf31
push eax
mov ecx, esi
call fcn.00406e80
lea ecx, [ebp - 0x828]
call fcn.00402fe0
mov eax, esi
call fcn.0059d28a
ret 0x10
Function at 0x43db1a
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa44
mov eax, dword [0x667ce0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, 0x208
lea eax, [ebp - 0x20c]
push ebx
push 0
push eax
mov esi, ecx
call fcn.005a2240
lea eax, [esi + 0x2c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x43db53
mov eax, dword [eax]
push str.CfgPath
push eax
lea eax, [ebp - 0x20c]
push 0x5d8ebc
push eax
call fcn.00405d80
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43db8b
lea eax, [ebp - 0x20c]
push eax
call fcn.00448b9a
pop ecx
push ebx
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.005a2240
push str.Use.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push 0x5d82b8
push eax
call fcn.00405d80
lea eax, [ebp - 0x61c]
push eax
call fcn.005afdc8
add esp, 0x20
lea ecx, [esi + 0x8c]
push eax
lea eax, [ebp - 0x61c]
push eax
call fcn.00403240
push ebx
lea eax, [ebp - 0x824]
push 0
push eax
call fcn.005a2240
push str.UseCache.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x824]
push 0x5d82b8
push eax
call fcn.00405d80
lea eax, [ebp - 0x824]
push eax
call fcn.005afdc8
add esp, 0x20
lea ecx, [esi + 0xa4]
push eax
lea eax, [ebp - 0x824]
push eax
call fcn.00403240
push ebx
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.005a2240
lea eax, [ebp - 0xa44]
push 0x5d4d7c
push eax
call fcn.00449935
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x43dc52
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x414]
push 0x5d6c90
push eax
call fcn.00405d80
add esp, 0xc
lea ecx, [ebp - 0xa44]
call fcn.00402fe0
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43dc90
lea eax, [ebp - 0x414]
push eax
call fcn.00448b9a
pop ecx
push ebx
lea eax, [ebp - 0xa2c]
push 0
push eax
call fcn.005a2240
push str.UseCache.ini
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0xa2c]
push 0x5d82b8
push eax
call fcn.00405d80
lea eax, [ebp - 0xa2c]
push eax
call fcn.005afdc8
add esp, 0x20
lea ecx, [esi + 0xbc]
push eax
lea eax, [ebp - 0xa2c]
push eax
call fcn.00403240
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0059cf09
leave
ret
Function at 0x43e315
Capabilities:
Read .ini file

Disassembly:
push 0x23c
mov eax, 0x5cffeb
call fcn.0059d2e0
mov ebx, ecx
call fcn.0043c9f8
mov esi, eax
push esi
call fcn.005afdc8
pop ecx
push eax
lea edi, [ebx + 0xd4]
push esi
mov ecx, edi
call fcn.00403240
mov esi, str.BKPDFReader.ini
push esi
call fcn.005afdc8
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00405a30
push str.BKpdf
push 0x5d5da0
push str.BKApp
lea eax, [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.0043d046
lea esi, [ebx + 0xec]
push eax
mov ecx, esi
call fcn.00406e80
lea ecx, [ebp - 0x230]
call fcn.00402fe0
push str.BKpdf
mov ecx, esi
call fcn.0043ea07
test al, al
je 0x43e3fd
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005a2240
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x43e3bc
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x218]
mov edi, str.BKpdf
push eax
push edi
push 0x5d5da0
push str.BKApp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
call fcn.005afdc8
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00403240
jmp 0x43e402
mov edi, str.BKpdf
push edi
mov ecx, esi
call fcn.0043ea07
test al, al
je 0x43e4c2
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005a2240
and dword [ebp - 0x220], 0
lea eax, [ebx + 0x5c]
and dword [ebp - 0x21c], 0
lea ecx, [ebp - 0x230]
add esp, 0xc
push eax
call fcn.0043e95c
and dword [ebp - 4], 0
push str.BKPDFReader.ini
call fcn.005afdc8
pop ecx
push eax
push str.BKPDFReader.ini
lea ecx, [ebp - 0x230]
call fcn.00405a30
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
push 0x5d5da0
push str.BKApp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
call fcn.005afdc8
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00403240
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00402fe0
push edi
mov ecx, esi
call fcn.0043ea07
test al, al
je 0x43e4fa
push edi
push 0x5d5da0
push str.BKApp
lea eax, [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.0043cf0e
push eax
mov ecx, esi
call fcn.00406e80
lea ecx, [ebp - 0x248]
call fcn.00402fe0
call fcn.0059d28a
ret
Function at 0x43ed15
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d0064
mov eax, dword fs:[0]
push eax
mov eax, 0x1228
call fcn.0059cf50
mov eax, dword [0x667ce0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x669338], 0
mov esi, dword [ebp + 0xc]
jne 0x43ee19
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005a2240
lea eax, [ebp - 0x218]
push str.C:LogResLog.dll
push eax
call fcn.005afda6
add esp, 0x14
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43ee03
cmp dword [0x664298], 8
lea ecx, [ebp - 0x1231]
mov eax, 0x664284
cmovae eax, dword [0x664284]
push eax
lea eax, [ebp - 0x1230]
push eax
call fcn.0043ec62
and dword [ebp - 4], 0
mov edi, 0x5d8f44
push edi
call fcn.005afdc8
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1230]
call fcn.00405a30
cmp dword [ebp - 0x121c], 8
lea eax, [ebp - 0x1230]
cmovae eax, dword [ebp - 0x1230]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005afda6
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
lea ecx, [ebp - 0x1230]
call fcn.00402fe0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x669338], eax
test eax, eax
je 0x43ee6d
mov edi, 0x656858
push edi
call fcn.005afdc8
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00403240
push 0x800
lea eax, [ebp - 0x1218]
push eax
push dword [ebp + 8]
push dword [0x669338]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jle 0x43ee6d
lea eax, [ebp - 0x1218]
push eax
call fcn.005afdc8
pop ecx
push eax
lea eax, [ebp - 0x1218]
mov ecx, esi
push eax
call fcn.00403240
mov al, 1
jmp 0x43ee6f
xor al, al
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.0059cf09
leave
ret

Function at 0x43ee88
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x667ce0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005a2240
push 0x5d4e0c
lea eax, [ebp - 0x20c]
push str.C:log_s.log
push eax
call fcn.00405d80
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.0059cf09
leave
ret
Function at 0x43f09c
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2014
call fcn.0059cf50
mov eax, dword [0x667ce0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x2008], eax
call fcn.0043ee88
test eax, eax
je 0x43f1d0
push esi
push edi
xor edi, edi
push edi
call fcn.005aa5a6
mov dword [ebp - 0x2014], eax
lea eax, [ebp - 0x2014]
push eax
mov dword [ebp - 0x2010], edx
call fcn.005af7f4
pop ecx
pop ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push dword [ebp - 0x2008]
mov ecx, dword [esi + 0x10]
push eax
push dword [esi]
mov eax, dword [esi + 0x14]
inc ecx
push dword [esi + 4]
add eax, 0x76c
push dword [esi + 8]
push dword [esi + 0xc]
push ecx
push eax
lea eax, [ebp - 0x2004]
push str.__d__d__d__d__d__d___d_:_s
push eax
call fcn.0043ec44
add esp, 0x28
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
inc ecx
test eax, eax
push 0x5d8ff0
push ebx
cmovne edi, ecx
call fcn.005b000c
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x43f1ce
test edi, edi
jne 0x43f171
push esi
push 2
lea eax, [ebp - 0x200c]
mov dword [ebp - 0x200c], 0xfeff
push 1
push eax
call fcn.005b0368
add esp, 0x10
lea eax, [ebp - 0x2004]
push eax
call fcn.005afdc8
push esi
add eax, eax
push eax
lea eax, [ebp - 0x2004]
push 1
push eax
call fcn.005b0368
push esi
push 2
lea eax, [ebp - 0x2008]
mov dword [ebp - 0x2008], 0xd
push 1
push eax
call fcn.005b0368
push esi
push 2
lea eax, [ebp - 0x2008]
mov dword [ebp - 0x2008], 0xa
push 1
push eax
call fcn.005b0368
push esi
call fcn.005b00b0
add esp, 0x38
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0059cf09
leave
ret

Function at 0x43fa16
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push edi
push 0x38
lea eax, [ebp - 0x38]
mov dword [ebp - 0x3c], 0x3c
push 0
push eax
call fcn.005a2240
mov eax, dword [ebp + 8]
add esp, 0xc
cmp dword [ebp + 0x10], 0
mov dword [ebp - 0x2c], eax
mov eax, 0x200
lea ecx, [eax + 0x40]
cmovne eax, ecx
xor edi, edi
mov dword [ebp - 0x38], eax
inc edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x28], eax
call fcn.00444e25
test eax, eax
mov ecx, str.runas
lea eax, [ebp - 0x3c]
cmovne ecx, dword [ebp - 0x30]
push eax
mov dword [ebp - 0x30], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x43fa88
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, edi
cmove eax, ecx
jmp 0x43fa9c
cmp dword [ebp + 0x10], 0
je 0x43fa9a
push dword [ebp + 0x14]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, edi
pop edi
leave
ret