joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417a65
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
xor ebx, ebx
lea edi, [ebp - 0x14]
xor eax, eax
mov dword [ebp - 8], ebx
stosd dword es:[edi], eax
mov esi, ebx
push ebx
push ebx
push 1
stosd dword es:[edi], eax
push ebx
mov dword [ebp - 4], ebx
stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 8], eax
test eax, eax
jne 0x417ac4
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0x3e
push str.uithread.cpp
call fcn.00433f1c
push str.Failed_to_create_initialization_event.
jmp 0x417b1d
mov edi, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push 0x4177a7
push ebx
push ebx
mov dword [ebp - 0xc], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
test eax, eax
jne 0x417b2a
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0x47
push str.uithread.cpp
call fcn.00433f1c
push str.Failed_to_create_the_UI_thread.
push esi
call fcn.004348ae
mov eax, dword [ebp - 4]
pop ecx
pop ecx
jmp 0x417b47
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 8]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov eax, dword [ebp - 4]
mov dword [edi + 0x3ac], eax
mov eax, ebx
mov dword [ebp - 4], eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x417b57
push eax
call edi
mov dword [ebp - 4], ebx
cmp dword [ebp - 8], ebx
je 0x417b61
push dword [ebp - 8]
call edi
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x420686
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
mov ebx, 0x440580
mov eax, dword [edi + 4]
test eax, eax
je 0x4206a5
mov edx, dword [eax]
jmp 0x4206b2
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x4206b0
mov edx, dword [ecx]
jmp 0x4206b2
mov edx, ebx
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x4206bb
mov ebx, dword [ecx]
test eax, eax
je 0x4206cd
xor eax, eax
test ecx, ecx
setne al
add eax, 0x20000150
jmp 0x4206db
cmp dword [edi + 8], esi
mov eax, 0x2000014f
lea ecx, [eax + 3]
cmovne eax, ecx
push dword [ebp + 0xc]
push str.copy
push ebx
push edx
push eax
push 2
call fcn.00402085
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
add esp, 0x18
push eax
push ebx
call fcn.0043aa02
test eax, eax
je 0x420759
mov eax, dword [ebp - 4]
test al, 1
je 0x420759
and eax, 0xfffffffe
push eax
push ebx
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x420759
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0x540
push str.apply.cpp
call fcn.00433f1c
push ebx
push str.Failed_to_clear_readonly_bit_on_payload_destination_path:__ls
push esi
call fcn.004348ae
add esp, 0xc
jmp 0x4207d7
push esi
lea eax, [edi + 0x20]
push eax
push edi
push fcn.0042057b
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileExW]
test eax, eax
jne 0x4207d7
cmp dword [edi + 0x20], esi
je 0x420797
mov esi, 0x80070642
push esi
push 0x54a
push str.apply.cpp
call fcn.00433f1c
push ebx
push dword [ebp + 0xc]
push str.BA_aborted_copy_of_payload_from:__ls_to:__ls.
jmp 0x4207ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0x54e
push str.apply.cpp
call fcn.00433f1c
push ebx
push dword [ebp + 0xc]
push str.Failed_attempt_to_copy_payload_from:__ls_to:__ls.
push esi
call fcn.004348ae
add esp, 0x10
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x420c0a
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 0x440580
push edi
mov dword [ebp - 8], ebx
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x420c2d
mov eax, dword [ecx]
jmp 0x420c36
mov eax, dword [esi + 8]
test eax, eax
je 0x420c3b
mov eax, dword [eax]
mov dword [ebp + 8], eax
jmp 0x420c3e
mov dword [ebp + 8], ebx
mov edx, dword [esi + 0xc]
test edx, edx
je 0x420c4a
mov eax, dword [edx]
mov dword [ebp - 8], eax
lea ebx, [ecx + 0x2c]
test ecx, ecx
jne 0x420c7a
mov eax, dword [edx + 0x10]
lea ebx, [edx + 0x40]
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 0x14]
mov dword [ebp - 0xc], eax
lea edi, [ebp - 0x1c]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
test ecx, ecx
je 0x420c85
xor eax, eax
test edx, edx
setne al
add eax, 0x20000150
jmp 0x420c94
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 0x1c]
jmp 0x420c5d
cmp dword [esi + 8], 0
mov eax, 0x2000014f
lea ecx, [eax + 3]
cmovne eax, ecx
push dword [ebx]
push str.download
push dword [ebp - 8]
push dword [ebp + 8]
push eax
push 2
call fcn.00402085
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 4]
add esp, 0x18
push eax
push edi
call fcn.0043aa02
test eax, eax
je 0x420d18
mov eax, dword [ebp - 4]
test al, 1
je 0x420d18
and eax, 0xfffffffe
push eax
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x420d18
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0x56e
push str.apply.cpp
call fcn.00433f1c
push edi
push str.Failed_to_clear_readonly_bit_on_payload_destination_path:__ls
push esi
call fcn.004348ae
add esp, 0xc
jmp 0x420da7
and dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], fcn.0042057b
mov dword [ebp - 0x14], esi
mov eax, dword [ebx]
push 0x62
pop ecx
cmp cx, word [eax]
jne 0x420d77
push 0x69
pop ecx
cmp cx, word [eax + 2]
jne 0x420d77
push 0x74
pop ecx
cmp cx, word [eax + 4]
jne 0x420d77
push 0x73
pop edx
cmp dx, word [eax + 6]
jne 0x420d77
movzx ecx, word [eax + 8]
mov dword [ebp + 0xc], 0x3a
cmp word [ebp + 0xc], cx
je 0x420d6a
cmp dx, cx
jne 0x420d77
mov ecx, dword [ebp + 0xc]
cmp cx, word [eax + 0xa]
jne 0x420d77
push edi
push ebx
lea eax, [ebp - 0x1c]
push eax
call fcn.00426710
jmp 0x420d90
push edi
push dword [ebp - 0xc]
lea eax, [ebp - 0x1c]
push dword [ebp - 0x10]
push ebx
push dword [ebp - 8]
push dword [ebp + 8]
push eax
push dword [esi]
call fcn.00425f70
mov esi, eax
test esi, esi
jns 0x420da7
push edi
push dword [ebx]
push str.Failed_attempt_to_download_URL:__ls_to:__ls
push esi
call fcn.004348ae
add esp, 0x10
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4243ac
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
or dword [edi + 0x3c], 0xffffffff
lea eax, [edi + 0x1c]
push eax
call fcn.00437e7f
mov esi, eax
test esi, esi
jns 0x4243d8
push str.Failed_to_copy_file_name.
jmp 0x4244c4
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push 1
push ebx
call esi
mov dword [edi + 0x24], eax
test eax, eax
jne 0x424424
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0x97
push str.cabextract.cpp
call fcn.00433f1c
push str.Failed_to_create_begin_operation_event.
jmp 0x4244c4
push ebx
push ebx
push 1
push ebx
call esi
mov dword [edi + 0x28], eax
test eax, eax
jne 0x424467
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0x9a
push str.cabextract.cpp
call fcn.00433f1c
push str.Failed_to_create_operation_complete_event.
jmp 0x4244c4
push ebx
push ebx
push edi
push 0x423d6c
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x20], eax
test eax, eax
jne 0x4244b3
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0x9e
push str.cabextract.cpp
call fcn.00433f1c
push str.Failed_to_create_extraction_thread.
jmp 0x4244c4
push edi
call fcn.00424143
mov esi, eax
test esi, esi
jns 0x4244cc
push str.Failed_to_wait_for_operation_complete.
push esi
call fcn.004348ae
pop ecx
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4257a4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0x14]
xor eax, eax
push esi
push edi
mov edi, dword [ebp + 0xc]
push edi
push dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
call fcn.00413df2
mov esi, eax
test esi, esi
jns 0x4257e4
push dword [ebp + 8]
push str.Failed_to_calculate_resume_path_from_working_path:__ls
push esi
call fcn.004348ae
add esp, 0xc
jmp 0x4258d4
push 0
push 0x80
push 4
push 0
push 4
push 0xc0000000
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x42583f
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0xd3
push str.downloadengine.cpp
call fcn.00433f1c
mov eax, dword [ebp + 0xc]
push dword [eax]
push str.Failed_to_create_resume_file:__ls
jmp 0x4257d6
mov ecx, dword [ebp - 4]
push 0
lea eax, [ebp - 8]
push eax
push 8
pop eax
sub eax, ecx
push eax
lea eax, [ecx + ebx]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x425887
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 8]
cmp dword [ebp - 8], 0
mov dword [ebp - 4], ecx
je 0x425871
cmp ecx, 8
jb 0x425842
cmp ecx, 8
je 0x42587d
and dword [ebx], 0
and dword [ebx + 4], 0
mov eax, dword [ebp + 0x10]
mov dword [eax], edi
or edi, 0xffffffff
jmp 0x4258c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0xda
push str.downloadengine.cpp
call fcn.00433f1c
mov eax, dword [ebp + 0xc]
push dword [eax]
push str.Failed_to_read_resume_file:__ls
push esi
call fcn.004348ae
add esp, 0xc
cmp edi, 0xffffffff
je 0x4258d4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x425dd0
Capabilities:
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push esi
push edi
mov edi, dword [ebp + 0x10]
push 0
push 0
push dword [edi + 4]
push dword [edi]
push dword [ebp + 0xc]
call fcn.0043aec0
mov esi, eax
test esi, esi
jns 0x425e07
push str.Failed_to_seek_to_start_point_in_file.
push esi
call fcn.004348ae
pop ecx
pop ecx
jmp 0x425f66
push ebx
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x425f2a
cmp dword [ebp - 4], 0
je 0x425f65
xor ebx, ebx
and dword [ebp + 0x10], ebx
push 0
lea eax, [ebp + 0x10]
push eax
mov eax, dword [ebp - 4]
sub eax, ebx
push eax
mov eax, dword [ebp + 0x20]
add eax, ebx
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x425ef5
add ebx, dword [ebp + 0x10]
cmp dword [ebp + 0x10], 0
je 0x425e63
cmp ebx, dword [ebp - 4]
jb 0x425e32
add dword [edi], ebx
push 0
pop eax
adc dword [edi + 4], eax
cmp dword [ebp + 0x14], 0xffffffff
je 0x425ebc
push eax
push eax
push eax
push eax
push dword [ebp + 0x14]
mov ebx, eax
mov dword [ebp - 8], eax
call fcn.0043aec0
test eax, eax
jns 0x425e95
push str.Failed_to_seek_to_start_point_in_file.
push eax
call fcn.004348ae
pop ecx
pop ecx
jmp 0x425ebc
push 0
lea eax, [ebp - 8]
push eax
push 8
pop eax
sub eax, ebx
push eax
lea eax, [edi + ebx*8]
push eax
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_WriteFile]
add ebx, dword [ebp - 8]
cmp dword [ebp - 8], 0
je 0x425ebc
cmp ebx, 8
jb 0x425e95
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x425ee2
cmp dword [eax], 0
je 0x425ee2
push dword [ebp + 0xc]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [edi + 4]
push dword [edi]
push eax
call fcn.004141c5
mov esi, eax
test esi, esi
js 0x425eee
cmp dword [ebp - 4], 0
jne 0x425e08
jmp 0x425f65
push str.UX_aborted_on_cache_progress.
jmp 0x425f5d
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0x1bc
push str.downloadengine.cpp
call fcn.00433f1c
push str.Failed_to_write_data_from_internet.
jmp 0x425f5d
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0x1b0
push str.downloadengine.cpp
call fcn.00433f1c
push str.Failed_while_reading_from_internet.
push esi
call fcn.004348ae
pop ecx
pop ecx
pop ebx
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x24
Function at 0x425f70
Capabilities:
Create http request
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
or dword [ebp - 0xc], 0xffffffff
xor eax, eax
push ebx
mov ebx, dword [ebp + 0x18]
xorps xmm0, xmm0
push esi
push edi
push eax
push dword [ebx]
mov dword [ebp - 4], eax
mov edi, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 4]
push eax
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x20], xmm0
call fcn.00437e7f
mov esi, eax
test esi, esi
jns 0x425fc4
push str.Failed_to_copy_download_source_URL.
push esi
call fcn.004348ae
pop ecx
pop ecx
jmp 0x42611e
xor eax, eax
push eax
push eax
push eax
push eax
push str.Burn
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
test edi, edi
jne 0x426010
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0x96
push str.downloadengine.cpp
call fcn.00433f1c
push str.Failed_to_open_internet_session
jmp 0x425fb7
lea eax, [ebp - 8]
push eax
push 0x78
push str.DownloadTimeout
push 0x452e84
call fcn.0043c4a3
mov eax, dword [ebp - 8]
test eax, eax
je 0x42605c
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
imul eax, eax, 0x3e8
push 4
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 2
push edi
call esi
push 4
lea eax, [ebp - 8]
push eax
push 6
push edi
call esi
push 4
lea eax, [ebp - 8]
push eax
push 5
push edi
call esi
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 8]
lea eax, [ebp - 4]
push dword [ebx + 4]
push eax
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.004256e2
mov esi, eax
test esi, esi
jns 0x426099
push dword [ebp - 4]
push str.Failed_to_get_size_and_time_for_URL:__ls
push esi
call fcn.004348ae
add esp, 0xc
jmp 0x42611e
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x24]
call fcn.004257a4
push dword [ebp + 0xc]
lea eax, [ebp - 4]
push dword [ebp - 0xc]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x24]
push dword [ebx + 8]
push dword [ebx + 4]
push eax
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.00425444
mov esi, eax
test esi, esi
jns 0x4260fa
push dword [ebp - 4]
push str.Failed_to_download_URL:__ls
push esi
call fcn.004348ae
add esp, 0xc
jmp 0x42610f
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x42610f
xor ecx, ecx
cmp word [eax], cx
je 0x42610f
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0xc], 0xffffffff
je 0x42611e
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x42612b
push eax
call fcn.0043bfd9
test edi, edi
je 0x426136
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 4], 0
je 0x426144
push dword [ebp - 4]
call fcn.0043bfd9
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
Function at 0x42dc85
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x45b010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0042a8a4
mov dword [ebp - 0x14], eax
cmp dword [0x45d244], esi
jne 0x42dd78
push 0x800
push esi
push 0x454c5c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x42dd05
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x42de58
push esi
push esi
push 0x454c5c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x42de58
push 0x454c74
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42de58
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x45d244], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x45d248], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x45d24c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x45d254], eax
test eax, eax
je 0x42dd75
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x45d250], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x42dd9d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42dd90
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x42ddb2
push 4
pop eax
jmp 0x42de5a
cmp dword [ebp - 0x14], esi
je 0x42ddb2
push dword [0x45d244]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x42dd97
mov eax, dword [0x45d250]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x42de10
cmp dword [0x45d254], edi
je 0x42de10
push eax
call ebx
push dword [0x45d254]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x42de10
test eax, eax
je 0x42de10
call ecx
test eax, eax
je 0x42de05
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x42de05
test byte [ebp - 8], 1
jne 0x42de10
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x42de40
mov eax, dword [0x45d248]
cmp eax, edi
je 0x42de3d
push eax
call ebx
test eax, eax
je 0x42de3d
call eax
mov esi, eax
test esi, esi
je 0x42de3d
mov eax, dword [0x45d24c]
cmp eax, edi
je 0x42de3d
push eax
call ebx
test eax, eax
je 0x42de3d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x45d244]
call ebx
test eax, eax
je 0x42de58
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x42de5a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00426ab9
mov esp, ebp
pop ebp
ret
Function at 0x433f33
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x45b010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push esi
push edi
mov edi, dword [ebp + 0x10]
push 0x208
push 0
push eax
call fcn.00426ad0
add esp, 0xc
lea eax, [ebp - 0x20c]
mov esi, 0x104
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x433fd1
push 0x5c
pop ecx
cmp cx, word [ebp + eax*2 - 0x20e]
je 0x433fa8
push 1
push 0x457d40
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.00433e2e
mov esi, eax
test esi, esi
js 0x434008
mov esi, 0x104
push dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00433e7d
mov esi, eax
test esi, esi
js 0x434008
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebx], eax
test eax, eax
jne 0x433ff0
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
js 0x434008
mov esi, 0x80004005
jmp 0x434008
test edi, edi
je 0x434008
push 0x104
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.00437e7f
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00426ab9
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43496f
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x45b010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [str.unknown]
mov eax, 0x104
push edi
push eax
mov dword [ebp - 0x424], eax
xor ebx, ebx
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x41c], ebx
push eax
push ebx
mov dword [ebp - 0x420], ebx
mov dword [ebp - 0x418], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, 0x208
test eax, eax
jne 0x4349d3
push edi
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00426ad0
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0043b020
test eax, eax
jns 0x4349fd
mov dword [ebp - 0x41c], ebx
mov dword [ebp - 0x420], ebx
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x434a21
lea eax, [ebp - 0x414]
mov byte [eax], bl
inc eax
dec edi
jne 0x434a1b
push ebx
lea eax, [ebp - 0x418]
push eax
call fcn.0043ca11
push dword [ebp - 0x418]
push str._Logging_started:__ls_
push 2
pop edi
push edi
call fcn.00434d87
mov ecx, dword [ebp - 0x420]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
mov ecx, dword [ebp - 0x41c]
movzx eax, cx
push eax
shr ecx, 0x10
lea eax, [ebp - 0x20c]
push ecx
push eax
push str.Executable:__ls_v_d._d._d._d
push edi
call fcn.00434d87
lea eax, [ebp - 0x414]
push eax
push str.Computer__:__ls
push edi
call fcn.00434d87
mov eax, dword [0x45c0c4]
add esp, 0x34
sub eax, ebx
je 0x434aba
dec eax
je 0x434ab2
dec eax
je 0x434aaa
dec eax
je 0x434aa2
dec eax
jne 0x434ac0
mov esi, dword [str.debug]
jmp 0x434ac0
mov esi, dword [str.verbose]
jmp 0x434ac0
mov esi, dword [str.standard]
jmp 0x434ac0
mov esi, dword [str.warning]
jmp 0x434ac0
mov esi, dword [str.none]
push esi
push str.____logging_level:__hs____
push edi
call fcn.00434d87
add esp, 0xc
cmp dword [ebp - 0x418], 0
pop edi
pop esi
pop ebx
je 0x434ae6
push dword [ebp - 0x418]
call fcn.0043bfd9
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00426ab9
mov esp, ebp
pop ebp
ret

Function at 0x434dc5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor esi, esi
xor edi, edi
and dword [ebp - 4], esi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [0x45c0c0]
mov dword [ebp + 8], eax
cmp ecx, 0xffffffff
jne 0x434e01
push edi
push ebx
push 0x45d2cc
call fcn.004380a0
mov esi, eax
test esi, esi
js 0x434e57
xor esi, esi
jmp 0x434e57
test eax, eax
je 0x434e57
push 0
lea edx, [ebp - 4]
sub eax, edi
push edx
push eax
lea eax, [edi + ebx]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x434e35
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
js 0x434e47
add edi, dword [ebp - 4]
mov eax, dword [ebp + 8]
cmp edi, eax
jae 0x434e57
mov ecx, dword [0x45c0c0]
jmp 0x434e05
push esi
push 0x31b
push str.logutil.cpp
call fcn.00433f1c
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4