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

Disassembly:
push 0xbc
mov eax, 0x5b7af0
call fcn.0056fe43
mov esi, ecx
xor ebx, ebx
push esi
mov dword [ebp - 0x14], ebx
call fcn.0049e380
pop ecx
test al, al
je 0x43e4df
mov al, 1
jmp 0x43e570
cmp dword [esi + 0x14], 8
jb 0x43e4e7
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne cl
mov byte [ebp - 0xd], cl
test eax, eax
jne 0x43e56e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 2
jne 0x43e50b
mov cl, 1
jmp 0x43e56e
call fcn.00440dea
cmp eax, 1
jl 0x43e55b
push 0xffffffffffffffff
push 0x5e
push str.e:project_sign_file360download_inst360dmdownloaddownload_item_impl.cc
lea ecx, [ebp - 0xc8]
call fcn.004a0750
push esi
push ecx
push str.__._gle
mov dword [ebp - 4], ebx
add eax, 8
push ecx
xor ebx, ebx
push str.download::_anonymous_namespace::DeleteDownloadedFile
inc ebx
push eax
mov dword [ebp - 0x14], ebx
call fcn.00407ad3
add esp, 0xc
push eax
call fcn.00407ad3
add esp, 0xc
mov ecx, eax
call fcn.00440a5a
test bl, 1
je 0x43e56b
lea ecx, [ebp - 0xc8]
call fcn.004a08f0
mov cl, byte [ebp - 0xd]
mov al, cl
call fcn.0056fe0c
ret

Function at 0x43e576
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
push 0x38
xor esi, esi
mov dword [ebp - 0x3c], 0x3c
lea eax, [ebp - 0x38]
mov edi, edx
push esi
push eax
mov ebx, ecx
call fcn.00586790
mov eax, dword [ebp + 0x10]
add esp, 0xc
push 8
pop ecx
cmp dword [eax + 0x10], esi
je 0x43e5b7
cmp dword [eax + 0x14], ecx
jb 0x43e5ad
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, 0x101
jmp 0x43e5bc
mov eax, 0x100
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], 1
cmp dword [eax + 0x10], esi
jne 0x43e5d2
mov eax, esi
jmp 0x43e5d9
cmp dword [eax + 0x14], ecx
jb 0x43e5d9
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
cmp dword [ebx + 0x14], ecx
jb 0x43e5e3
mov ebx, dword [ebx]
mov dword [ebp - 0x2c], ebx
cmp dword [edi + 0x10], esi
jne 0x43e5ef
mov edi, esi
jmp 0x43e5f6
cmp dword [edi + 0x14], ecx
jb 0x43e5f6
mov edi, dword [edi]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], edi
cmp dword [eax + 0x10], esi
je 0x43e60a
mov esi, eax
cmp dword [eax + 0x14], ecx
jb 0x43e60a
mov esi, dword [eax]
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x28], esi
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop edi
test eax, eax
pop esi
setne al
pop ebx
leave
ret

Function at 0x443023
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push eax
push 0x442e27
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x444938
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
call fcn.00444612
test al, al
je 0x444971
cmp byte [esi], 0
jne 0x444971
xor ecx, ecx
mov byte [esi], 1
lea eax, [ebp - 4]
mov dword [ebp - 4], ecx
push eax
push ecx
push esi
push 0x444860
push ecx
push ecx
call fcn.0059788a
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
leave
ret

Function at 0x4452c3
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x649ffc]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetMessagePos]
movsx ebx, ax
shr eax, 0x10
movsx edi, ax
lea eax, [ebp - 0x18]
push eax
push dword [esi + 4]
mov dword [ebp - 0x2c], edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push edi
push ebx
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x4453c8
push eax
push str.DmEdgeWindow
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
test edi, edi
je 0x4453c8
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [esi + 0x704]
je 0x445354
mov edx, dword [ebp - 0x18]
cmp edx, dword [esi + 0x6fc]
je 0x445354
mov eax, dword [ebp - 0x14]
cmp eax, dword [esi + 0x700]
je 0x445354
mov ecx, esi
call fcn.004453d9
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4453c8
lea eax, [ebp - 0x28]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
push ebx
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x4453c8
push 1
push eax
mov ecx, esi
call sym.yuntun.exe_public:_void___thiscall_DuiLib::CWindowWnd::ShowWindow_bool__bool_
mov ecx, dword [esi + 0x704]
cmp dword [ebp - 0x10], ecx
jne 0x445398
mov eax, dword [ebp - 0x14]
add eax, 0xfffffffa
push eax
lea eax, [ecx - 0xa]
push eax
push 0x5f4
jmp 0x4453c1
mov ecx, dword [esi + 0x6fc]
cmp dword [ebp - 0x18], ecx
jne 0x4453ad
mov eax, dword [ebp - 0x14]
add eax, 0xfffffffa
push eax
push ecx
jmp 0x445391
mov eax, dword [esi + 0x700]
cmp dword [ebp - 0x14], eax
jne 0x4453c8
push eax
push dword [ebp - 0x18]
push 0x5f5
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056e987
leave
ret 0xc
Function at 0x44554e
Capabilities:
Find taskbar

Disassembly:
push 0x1c
mov eax, 0x5b50fc
call fcn.0056fe77
mov esi, ecx
xor edi, edi
push edi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x4455c4
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push edi
lea eax, [esi + 0x6fc]
mov dword [ebp - 4], edi
push eax
push edi
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov eax, dword [esi + 0x700]
sub esp, 0xc
add eax, 0x258
push eax
mov eax, dword [esi + 0x704]
sub eax, 0x12c
push eax
push ecx
push dword [esi + 4]
mov ecx, esi
call fcn.00445484
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00409db5
lea eax, [esi + 0x6e0]
mov ecx, esi
push eax
call sym.yuntun.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [0x65a6ec]
test ecx, ecx
je 0x4455f3
call fcn.00439941
movzx eax, al
mov ecx, esi
push eax
call fcn.0044569a
call fcn.0056fe21
ret
Function at 0x446257
Capabilities:
Hide graphical window

Disassembly:
push esi
mov eax, 0x6011f4
push eax
push eax
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x44628c
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44628c
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
ret

Function at 0x44686f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x5b8ccc
call fcn.0056fee5
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x418], esi
push 0x60
push esi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x4468ec
push 2
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x4468ec
call fcn.0044630a
mov esi, eax
jmp 0x4469f2
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x44690f
call fcn.0044630a
jmp 0x4469e5
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x446905
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x446942
mov esi, 0x8007000e
jmp 0x4469e7
push 2
pop ecx
mul ecx
mov byte [ebp - 4], cl
cmp edx, esi
ja 0x446a15
jb 0x44695d
cmp eax, 0xffffffff
ja 0x446a15
cmp eax, 0x400
jbe 0x446972
push eax
lea ecx, [ebp - 0x418]
call fcn.00448265
jmp 0x446994
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x446994
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
je 0x446938
push ebx
push dword [ebp - 0x418]
push ebx
push dword [ebp - 0x41c]
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x446905
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.00447440
mov esi, eax
test edi, edi
je 0x4469f2
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x446a0b
lea ecx, [ebp - 0x418]
call fcn.0044825c
mov eax, esi
call fcn.0056fe32
ret 0x10
push 0x80070216
call fcn.0041a70e
int3
Function at 0x44828a
Capabilities:
Create directory

Disassembly:
push 0x444
mov eax, 0x5b8db3
call fcn.0056fe77
mov ebx, ecx
cmp dword [0x653fcc], 0
je 0x448406
push str.C:_temp
lea ecx, [ebp - 0x438]
call fcn.00409872
xor edi, edi
lea eax, [ebp - 0x438]
mov dword [ebp - 4], edi
cmp dword [ebp - 0x424], 8
push edi
cmovae eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, 0x208
lea eax, [ebp - 0x218]
push esi
push edi
push eax
call fcn.00586790
push esi
lea eax, [ebp - 0x420]
push edi
push eax
call fcn.00586790
add esp, 0x18
lea ecx, [ebp - 0x450]
push str.yuntun
call fcn.00409872
push 0x104
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 1
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x44834b
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, eax
push esi
call fcn.0059771b
pop ecx
push eax
push esi
lea ecx, [ebp - 0x450]
call fcn.00409cd1
cmp dword [ebp - 0x43c], 8
lea edi, [ebp - 0x450]
lea esi, [ebp - 0x438]
cmovae edi, dword [ebp - 0x450]
cmp dword [ebp - 0x424], 8
cmovae esi, dword [ebp - 0x438]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push edi
push esi
push str._s_s_d.log
mov edi, 0x104
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.00409d4d
add esp, 0x18
lea eax, [ebp - 0x218]
xor esi, esi
push esi
push accept
push 4
push esi
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebx], eax
cmp eax, 0xffffffff
je 0x4483c7
push 2
push esi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.start
mov ecx, ebx
call fcn.00408c46
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
call fcn.00408c46
lea ecx, [ebp - 0x450]
call fcn.00409db5
lea ecx, [ebp - 0x438]
call fcn.00409db5
call fcn.0056fe21
ret 4
Function at 0x44876a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa6c
mov eax, dword [0x649ffc]
xor eax, esp
mov dword [esp + 0xa68], eax
push ebx
push esi
push edi
push 0x208
xor esi, esi
lea eax, [esp + 0x6c]
push esi
push eax
mov ebx, ecx
call fcn.00586790
add esp, 0xc
lea eax, [esp + 0x68]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x800
lea eax, [esp + 0x274]
push esi
push eax
call fcn.00586790
add esp, 0xc
lea eax, [esp + 0x20]
push 0x44
push esi
push eax
call fcn.00586790
add esp, 0xc
lea eax, [esp + 0x20]
push 0x44
push esi
push eax
call fcn.00586790
xor eax, eax
lea edi, [esp + 0x1c]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
push 0x10
push esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x18]
push eax
call fcn.00586790
add esp, 0xc
mov eax, ebx
cmp dword [ebx + 0x14], 8
jb 0x448809
mov eax, dword [ebx]
push eax
lea eax, [esp + 0x6c]
push eax
push str.__s___s
lea eax, [esp + 0x27c]
push 0x3ff
push eax
call fcn.0044934d
add esp, 0x14
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x24]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [esp + 0x290]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test edi, edi
je 0x448860
push dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0x14]
call esi
cmp dword [ebx + 0x14], 8
jb 0x448868
mov ebx, dword [ebx]
push ebx
push edi
push 0x15f
push str.RunSelfProcess
push str.__s__d___CreateProcess_end__bRet:_d_strCmd:_s
call fcn.00408e0e
mov ecx, dword [esp + 0xa88]
add esp, 0x14
test edi, edi
setne al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0056e987
mov esp, ebp
pop ebp
ret

Function at 0x4488fa
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
xor ecx, ecx
lea eax, [ebp - 4]
push eax
push ecx
push ecx
push 0x44840e
push ecx
push ecx
mov dword [ebp - 4], ecx
call fcn.0059788a
add esp, 0x18
leave
ret

Function at 0x44891a
Capabilities:
Check if file exists

Disassembly:
push 0x224
mov eax, 0x5b8e6f
call fcn.0056fe77
xor ebx, ebx
lea ecx, [ebp - 0x230]
mov dl, 1
mov dword [ebp - 4], ebx
call fcn.0044e194
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push ebx
push eax
call fcn.00586790
add esp, 0xc
cmp dword [ebp - 0x220], ebx
je 0x448990
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.new_yuntun.exe
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4489a8
call fcn.0044e848
jmp 0x4489b7
call fcn.0044e848
lea ecx, [ebp + 8]
call fcn.0044876a
mov bl, 1
lea ecx, [ebp - 0x230]
call fcn.00409db5
lea ecx, [ebp + 8]
call fcn.00409db5
mov al, bl
call fcn.0056fe21
ret
Function at 0x44af53
Capabilities:
Check if file exists
Copy file

Disassembly:
push 0x50
mov eax, 0x5b8ef6
call fcn.0056fe77
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x5c]
xor ebx, ebx
call fcn.0041bd1b
push str.360sedbghelp.dll
mov edx, eax
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x2c]
call fcn.0040e2ff
pop ecx
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.00409db5
push 8
pop edi
cmp dword [ebp - 0x18], edi
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44affb
cmp dword [ebp - 0x18], edi
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
cmovae edx, dword [ebp - 0x2c]
call fcn.0041a838
push str.5c5e3afd499e5146fef1da5ef8a23205
lea ecx, [ebp - 0x44]
call fcn.00410870
test al, al
je 0x44aff3
mov ecx, esi
cmp dword [esi + 0x14], edi
jb 0x44afcf
mov ecx, dword [esi]
call fcn.0041bf93
cmp dword [esi + 0x14], edi
jb 0x44afdb
mov esi, dword [esi]
cmp dword [ebp - 0x18], edi
lea eax, [ebp - 0x2c]
push ebx
cmovae eax, dword [ebp - 0x2c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
setne bl
lea ecx, [ebp - 0x44]
call fcn.00403cb7
lea ecx, [ebp - 0x2c]
call fcn.00409db5
mov al, bl
call fcn.0056fe21
ret 4

Function at 0x44b00d
Capabilities:
Check if file exists
Get common file path

Disassembly:
push 0x460
mov eax, 0x5b8f5e
call fcn.0056fe77
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], eax
mov edi, 0x20a
push edi
mov dword [ebp - 0x46c], esi
push eax
mov dword [ebp - 0x468], eax
lea eax, [ebp - 0x434]
push eax
call fcn.00586790
add esp, 0xc
lea eax, [ebp - 0x434]
mov ebx, 0x104
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push edi
xor edi, edi
lea eax, [ebp - 0x224]
push edi
push eax
call fcn.00586790
add esp, 0xc
lea eax, [ebp - 0x434]
push 0xffffffffffffffff
push 0x5fa254
push eax
push str._s_s
lea eax, [ebp - 0x224]
push ebx
push eax
call fcn.0044b5c4
add esp, 0x18
lea eax, [ebp - 0x224]
mov ecx, esi
push eax
call fcn.00409872
xor ebx, ebx
mov dword [ebp - 0x43c], edi
inc ebx
mov dword [ebp - 0x438], 7
xor eax, eax
mov dword [ebp - 0x468], ebx
mov word [ebp - 0x44c], ax
lea eax, [ebp - 0x224]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x464]
call fcn.00409872
lea edx, [ebp - 0x44c]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x464]
call fcn.0041cd11
lea ecx, [ebp - 0x464]
mov byte [ebp - 4], bl
call fcn.00409db5
cmp dword [0x653db0], edi
jne 0x44b185
cmp dword [ebp - 0x438], 8
lea ecx, [ebp - 0x44c]
mov edx, str.6.11.0.0
cmovae ecx, dword [ebp - 0x44c]
call fcn.0041ce37
test eax, eax
jg 0x44b185
mov dword [ebp - 0x454], edi
lea ecx, [ebp - 0x464]
mov dword [ebp - 0x450], edi
mov edi, 0x65a778
push edi
call fcn.004098c0
mov byte [ebp - 4], 3
mov eax, edi
cmp dword [0x65a78c], 8
cmovae eax, dword [0x65a778]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44b174
call fcn.0044b2fa
test al, al
je 0x44b174
push edi
mov ecx, esi
call fcn.0040e1e0
jmp 0x44b17a
mov byte [0x65a7d8], bl
lea ecx, [ebp - 0x464]
call fcn.00409db5
lea ecx, [ebp - 0x44c]
call fcn.00409db5
mov eax, esi
call fcn.0056fe21
ret 4
Function at 0x44b3de
Capabilities:
Check if file exists
Delete file
Extract resource via kernel32 functions
Get common file path
Write file on windows

Disassembly:
push 0x234
mov eax, 0x5b8fc4
call fcn.0056fe77
mov esi, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x240], eax
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x44b408
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44b4f3
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x44b421
mov ecx, dword [esi]
call fcn.0041c854
test eax, eax
je 0x44b4f3
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x44b438
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x44b4f1
push 0x601f38
push str.DBGHELPDAT
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x234], eax
test eax, eax
je 0x44b4ea
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push dword [ebp - 0x234]
mov dword [ebp - 0x238], eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp dword [ebp - 0x238], 0
mov dword [ebp - 0x234], eax
je 0x44b4ea
test eax, eax
jle 0x44b4ea
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x44b4a0
mov ecx, dword [edi]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x44b4b1
mov eax, dword [edi]
push 0x5fa134
push eax
call fcn.00597315
mov dword [ebp - 0x23c], eax
pop ecx
pop ecx
test eax, eax
je 0x44b4ea
push eax
push 1
push dword [ebp - 0x234]
push dword [ebp - 0x238]
call fcn.005976c3
push dword [ebp - 0x23c]
call fcn.0059740b
add esp, 0x14
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor ebx, ebx
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x44b4fd
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44b5ba
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.00586790
add esp, 0xc
lea eax, [ebp - 0x218]
push 1
push 0x1a
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00409872
push 0x5fbab0
mov dword [ebp - 4], ebx
call fcn.0059771b
pop ecx
push eax
push 0x5fbab0
lea ecx, [ebp - 0x230]
call fcn.0040998b
lea edx, [ebp - 0x230]
mov ecx, edi
call fcn.0041c124
mov eax, dword [ebp - 0x240]
cmp dword [eax + 0x14], 8
jb 0x44b57f
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
movzx ebx, bl
push 1
pop eax
cmovne ebx, eax
cmp dword [edi + 0x14], 8
jb 0x44b599
mov edi, dword [edi]
mov ecx, edi
call fcn.0041be7d
cmp dword [esi + 0x14], 8
jb 0x44b5a8
mov esi, dword [esi]
mov ecx, esi
call fcn.0041be7d
lea ecx, [ebp - 0x230]
call fcn.00409db5
mov al, bl
call fcn.0056fe21
ret 0x10

Function at 0x44b83f
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x65ff6e
xor esi, esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44b86f
push dword [ebp + 8]
push 0x5fc50c
push 0x104
push 0x660178
call fcn.0040a6ef
add esp, 0x10
inc esi
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x44b8ee
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push 0xc
push 0x611860
call fcn.00570300
and dword [ebp - 0x1c], 0
push dword [ebp + 0xc]
push 0x5fbfd8
mov esi, 0x104
push esi
mov ebx, 0x65ff6e
push ebx
call fcn.00411979
add esp, 0x10
push dword [ebp + 8]
call fcn.0044b83f
test eax, eax
je 0x44bb80
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44bb80
mov dword [ebp - 0x1c], 1
push ebx
push esi
push 0x65b244
mov edi, 0x5fa498
push edi
push str.pdtname
mov ebx, 0x660178
push ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
call esi
push 0x65ff6e
push 0x63
push 0x660458
push edi
push str.proctype
push ebx
call esi
push 0x65ff6e
push 0x104
push 0x65ae2c
push edi
push str.crashtype
push ebx
call esi
push 0x65ff6e
push 0x104
push 0x65b036
push edi
push str.trycatchcnt
push ebx
call esi
push 0x65ff6e
push 0x104
push 0x65b862
push edi
push 0x5fc2a0
push ebx
call esi
push 0x65ff6e
push 0x104
push 0x65b44e
push edi
push str.pdtver
push ebx
call esi
push 0x65ff6e
push 0x104
push 0x65cf98
push edi
push 0x5fc2c0
push ebx
call esi
push 0x65ff6e
push 0x3ff
push 0x660520
push edi
push str.cururl
push ebx
call esi
push 0x65ff6e
push 0
push 0x5fc21c
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [0x660d20], eax
push 0x65ff6e
push 0x103
push 0x65aa14
push edi
push str.offset
push ebx
call esi
push 0x65ff6e
push 0x104
push 0x65ba6c
push edi
push str.module
push ebx
call esi
push 0x65ff6e
push 0x104
push 0x65cb84
push edi
push str.osver
push ebx
call esi
push 0x65ff6e
push 0x104
push 0x65cd8e
push edi
push str.iever
push ebx
call esi
push 0x65ff6e
push 0x104
push 0x65c49e
push edi
push str.modulever
push ebx
call esi
push 0x65ff6e
push 0x104
push 0x65fb5a
push edi
push str.dump
push ebx
call esi
push 0x65ff6e
push 0x1f
mov edi, 0x6622a4
push edi
push 0x5fa498
push str.ExcptCode
push ebx
call esi
xor esi, esi
push str.0x80000003
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
call edi
test eax, eax
jne 0x44baf6
push 0x5fc214
push 0xa
push 0x660d24
call fcn.005991bc
add esp, 0xc
xor ebx, ebx
inc ebx
mov esi, ebx
jmp 0x44bb0d
push 0x5fc218
push 0xa
push 0x660d24
call fcn.005991bc
add esp, 0xc
xor ebx, ebx
inc ebx
push dword [ebp + 8]
push 0x5fc50c
push 0x65ac1c
call fcn.00411752
add esp, 0xc
push str.unknown
push 0x65ba6c
call edi
xor edx, edx
test eax, eax
cmove edx, ebx
xor eax, eax
mov word [0x65d1a2], ax
and dword [ebp - 4], eax
push 0x65c49e
push 0x65aa14
test edx, edx
mov edx, 0x65d1a2
je 0x44bb5a
push 0x65ba6c
jmp 0x44bb5c
push 0
push esi
push ecx
mov ecx, 0x65fb5a
call fcn.0044960c
add esp, 0x14
jmp 0x44bb79
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0xc