joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4018c8
Capabilities:
Move file

Disassembly:
push ebx
push ebp
push esi
mov ebp, 0x400
push ebp
mov esi, eax
call fcn.00418da7
pop ecx
mov ebx, eax
push ebp
push ebx
call fcn.0041b653
push ebx
push str._Extractor__Working_dir_is__s_n
call fcn.0040a0b9
push ebx
call fcn.00418cca
add esp, 0x14
call fcn.0040995e
test eax, eax
je 0x401911
push str._Rename__The_target_already_exists._Deleting._n
call fcn.0040a0b9
pop ecx
push esi
call fcn.0040982d
pop ecx
push esi
push edi
call fcn.00419a3f
pop ecx
xor ebp, ebp
test eax, eax
pop ecx
je 0x401984
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
cmp ebp, 0xa
jge 0x4019a4
call fcn.004191c9
push dword [eax]
push esi
push edi
push str._Rename__Could_not_rename__s_to__s___d__n
call fcn.0040a0b9
add esp, 0x10
push 0x32
call ebx
push str._Rename__Windows___this_FS_seems_to_not_supported_renaming._Trying_alternative_method..._n
call fcn.0040a0b9
pop ecx
push 3
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x401997
push str.MoveFileEx
push str.Extractor
call fcn.00409271
pop ecx
pop ecx
push 0x12c
call ebx
push esi
push edi
inc ebp
call fcn.00419a3f
test eax, eax
pop ecx
pop ecx
jne 0x401926
push esi
push edi
push str._Rename__File__s_renamed_to__s_n
call fcn.0040a0b9
add esp, 0xc
pop esi
pop ebp
pop ebx
ret
push str._Rename__MoveFileEx_worked._Assuming_success._n
call fcn.0040a0b9
pop ecx
xor eax, eax
test eax, eax
je 0x401984
call fcn.004191c9
push dword [eax]
push esi
push edi
push str._Rename___FAIL__Could_not_rename__s_to__s___d__n
call fcn.0040a0b9
push str._Rename__Can_do_no_better_than_a_copy_on_this_filesystem_n
call fcn.0040a0b9
add esp, 0x14
push esi
call fcn.00409f94
pop ecx
push esi
push str._Rename__Created_folder__s_n
call fcn.0040a0b9
push esi
push edi
call fcn.00401a74
add esp, 0x10
test eax, eax
je 0x4019f5
push str._Rename__Copy_failed_too__Severe_filesystem_issues._n
call fcn.0040a0b9
pop ecx
jmp 0x401993
push esi
push edi
push str._Rename__Copied__s_to__s_n
jmp 0x40198b

Function at 0x4019fe
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x4400b0
push dword [ebp + 8]
call fcn.0041a2a4
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 4], eax
jne 0x401a2b
push dword [ebp + 8]
push str._Extractor___Unable_to_open_destination_file_for_copy__s_n
call fcn.0040a0b9
pop ecx
jmp 0x401a6e
mov edi, 0xc350
mov esi, 0x44ba50
push dword [ebp + 0xc]
push edi
push 1
push esi
call fcn.0041a717
mov ebx, eax
add esp, 0x10
test ebx, ebx
jbe 0x401a59
push dword [ebp - 4]
push ebx
push 1
push esi
call fcn.0041b45a
add esp, 0x10
cmp ebx, edi
je 0x401a35
push dword [ebp + 0xc]
call fcn.0041bc31
pop ecx
push dword [ebp - 4]
call fcn.0041bc31
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401a74
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x272c
call fcn.0041f210
mov eax, dword [0x448504]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
mov dword [ebp - 0x2728], esi
mov dword [ebp - 0x272c], eax
call fcn.0040107c
test eax, eax
pop ecx
mov dword [ebp - 0x271c], eax
jne 0x401ad0
push esi
push str._CopyFolder__SourceDir_from__s_is_NULL_n
call fcn.0040a0b9
pop ecx
xor eax, eax
pop ecx
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418cbb
leave
ret
call fcn.004011a6
mov esi, eax
test esi, esi
je 0x401c67
mov edi, 0x44ba50
mov eax, dword [esi]
cmp byte [eax], 0x2e
jne 0x401afb
push eax
call fcn.00418f30
cmp eax, 2
pop ecx
jbe 0x401c52
push dword [esi]
lea eax, [ebp - 0x1390]
push dword [ebp - 0x2728]
call fcn.0040a032
push dword [esi]
lea eax, [ebp - 0x2718]
push dword [ebp - 0x272c]
call fcn.0040a032
lea eax, [ebp - 0x1390]
push eax
call fcn.0040107c
add esp, 0x14
test eax, eax
je 0x401bb3
mov esi, eax
call fcn.00401167
lea eax, [ebp - 0x2718]
push eax
push str._CopyFolder__Copying_DIR__s_n
call fcn.0040a0b9
lea eax, [ebp - 0x2718]
push eax
call fcn.00409f94
mov ebx, eax
add esp, 0xc
test ebx, ebx
lea eax, [ebp - 0x2718]
push eax
lea eax, [ebp - 0x1390]
push eax
jne 0x401c6e
call fcn.00401a74
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x401c52
lea eax, [ebp - 0x2718]
push eax
lea eax, [ebp - 0x1390]
push eax
push str._CopyFolder___Failed_to_copy__s_to__s_n
call fcn.0040a0b9
add esp, 0xc
mov edi, esi
mov esi, dword [ebp - 0x271c]
call fcn.00401167
mov eax, edi
jmp 0x401ac1
lea eax, [ebp - 0x2718]
push eax
push str._CopyFolder__Copying_FILE__s_n
call fcn.0040a0b9
lea eax, [ebp - 0x1390]
push 0x44005c
push eax
call fcn.0041a2a4
add esp, 0x10
test eax, eax
mov dword [ebp - 0x2724], eax
je 0x401c8d
lea eax, [ebp - 0x2718]
push 0x4400b0
push eax
call fcn.0041a2a4
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x2720], eax
je 0x401ca8
push dword [ebp - 0x2724]
mov ebx, 0xc350
push ebx
push 1
push edi
call fcn.0041a717
mov esi, eax
add esp, 0x10
test esi, esi
jbe 0x401c36
push dword [ebp - 0x2720]
push esi
push 1
push edi
call fcn.0041b45a
add esp, 0x10
cmp esi, ebx
je 0x401c07
push dword [ebp - 0x2724]
call fcn.0041bc31
pop ecx
push dword [ebp - 0x2720]
call fcn.0041bc31
pop ecx
mov eax, dword [ebp - 0x271c]
call fcn.004011a6
mov esi, eax
test esi, esi
jne 0x401ae4
xor edi, edi
jmp 0x401ba1
push str._CopyFolder___Failed_to_copy__s_to__s__could_not_create_target_folder__n
call fcn.0040a0b9
mov esi, dword [ebp - 0x271c]
add esp, 0xc
call fcn.00401167
mov eax, ebx
jmp 0x401ac1
lea eax, [ebp - 0x1390]
push eax
push str._CopyFolder___Unable_to_open_source_file_for_copy__s_n
call fcn.0040a0b9
pop ecx
xor edi, edi
pop ecx
inc edi
jmp 0x401ba1
lea eax, [ebp - 0x2718]
push eax
push str._CopyFolder___Unable_to_open_destination_file_for_copy__s_n
jmp 0x401c99
Function at 0x402e6a
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
push 0x64
mov edi, eax
call fcn.00418da7
pop ecx
push dword [ebp + 8]
mov esi, eax
push str._JavaCheck__Checking_file_version_of__s_n
mov byte [esi], 0x30
mov byte [esi + 1], bl
call fcn.0040a0b9
cmp edi, ebx
pop ecx
pop ecx
je 0x402f83
push edi
call fcn.00418da7
mov dword [ebp - 4], eax
mov dword [esp], str._JavaCheck__Got_version_size_n
call fcn.0040a0b9
pop ecx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x402f6e
push str._JavaCheck__Got_version_info_n
call fcn.0040a0b9
pop ecx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x440e18
push dword [ebp - 4]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x402f67
push str._JavaCheck__Queried_value_n
call fcn.0040a0b9
cmp dword [ebp - 0xc], ebx
pop ecx
je 0x402f60
push str._JavaCheck__Size_OK_n
call fcn.0040a0b9
mov edi, dword [ebp - 0x10]
cmp dword [edi], 0xfeef04bd
pop ecx
jne 0x402f59
push dword [edi + 0x10]
push str._JavaCheck__file_version_MS_is__ld_n
call fcn.0040a0b9
push dword [edi + 0x14]
push str._JavaCheck__file_version_LS_is__ld_n
call fcn.0040a0b9
movzx eax, word [edi + 0x12]
push eax
push 0x440e98
push esi
call fcn.00419a6d
add esp, 0x1c
jmp 0x402f79
push str._JavaCheck__signature_is_wrong_n
jmp 0x402f73
push str._JavaCheck__size_is_null_n
jmp 0x402f73
push str._JavaCheck__ver_query_value_function_call_failed_n
jmp 0x402f73
push str._JavaCheck__get_file_version_info_call_failed_n
call fcn.0040a0b9
pop ecx
push dword [ebp - 4]
call fcn.00418cca
jmp 0x402f8d
push str._JavaCheck__verSize_is_zero_n
call fcn.0040a0b9
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x402f95
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [ebp + 8], esi
je 0x403015
push 0x440f5c
push dword [ebp + 8]
call fcn.0041a740
test eax, eax
pop ecx
pop ecx
jne 0x403015
push str._Extractor__Authorised_to_override_the_splash_image._n
call fcn.0040a0b9
xor eax, eax
cmp dword [ebp + 0xc], esi
pop ecx
push dword [ebp + 0x10]
setne al
push eax
push str._Extractor__DynamicSplash_is__d__size_is__d_n
call fcn.0040a0b9
add esp, 0xc
cmp dword [ebp + 0xc], esi
je 0x403015
cmp dword [ebp + 0x10], esi
jbe 0x403015
push dword [ebp + 0x14]
push str._Extractor__Overwriting_splash_image_at__s_n
call fcn.0040a0b9
push 0x4400b0
push dword [ebp + 0x14]
call fcn.0041a2a4
mov esi, eax
push esi
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
call fcn.0041b45a
push esi
call fcn.0041bc31
add esp, 0x24
pop esi
pop ecx
pop ebp
ret
Function at 0x40344a
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x44005c
push dword [ebp + 8]
call fcn.0041a2a4
mov edi, eax
xor esi, esi
cmp edi, esi
pop ecx
pop ecx
jne 0x40347e
push dword [ebp + 8]
push str._Extractor___Failed_to_extract_wrapper_params___couldnt_open_file__s_n
call fcn.0040a0b9
pop ecx
pop ecx
push 1
call fcn.00419de8
mov dword [ebp - 4], esi
push edi
call fcn.0041bcad
inc dword [ebp - 4]
pop ecx
push edi
mov ebx, eax
call fcn.0041c8ce
test eax, eax
pop ecx
jne 0x4034c3
mov eax, dword [ebp + 0xc]
cmp bl, byte [esi + eax]
jne 0x4034a3
inc esi
jmp 0x4034a5
xor esi, esi
cmp esi, 0x40
jne 0x403481
mov eax, dword [ebp - 4]
cmp eax, 0xffffffff
mov dword [0x457e54], eax
je 0x403477
push edi
call fcn.004083fe
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push str.Params
push str.Could_not_find_marker:__s_n
jmp 0x403470

Function at 0x4034cf
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x44005c
push dword [ebp + 8]
call fcn.0041a2a4
mov edi, eax
xor esi, esi
cmp edi, esi
pop ecx
pop ecx
jne 0x403503
push dword [ebp + 8]
push str._Extractor___Failed_to_extract_wrapper_tail___couldnt_open_file__s_n
call fcn.0040a0b9
pop ecx
pop ecx
push 1
call fcn.00419de8
mov dword [ebp - 4], esi
push edi
call fcn.0041bcad
inc dword [ebp - 4]
pop ecx
push edi
mov ebx, eax
call fcn.0041c8ce
test eax, eax
pop ecx
jne 0x403556
mov eax, dword [ebp + 0xc]
cmp bl, byte [esi + eax]
jne 0x403528
inc esi
jmp 0x40352a
xor esi, esi
cmp esi, 0x80
jne 0x403506
mov eax, dword [ebp - 4]
cmp eax, 0xffffffff
mov dword [0x457e54], eax
je 0x4034fc
push str._Extractor__Found_tail_marker_n
call fcn.0040a0b9
pop ecx
push edi
call fcn.004083fe
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push str.Tail
push str.Could_not_find_marker:__s_n
jmp 0x4034f5
Function at 0x4050c0
Capabilities:
Create thread

Disassembly:
push esi
xor esi, esi
cmp dword [0x449c64], esi
push esi
jne 0x40511e
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0x449c68
push esi
push 0x449c64
push 0x405194
push esi
push esi
mov dword [0x449c6c], eax
call fcn.0041bf1a
add esp, 0x18
push 0x1388
push dword [0x449c6c]
mov dword [0x449c64], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40512e
push str.Error_starting_SplashThread_n
call fcn.0040a0b9
pop ecx
pop esi
ret
push 2
push 6
push dword [0x449c68]
call dword [sym.imp.USER32.dll_PostThreadMessageA]
pop esi
ret
Function at 0x406006
Capabilities:
Terminate thread

Disassembly:
cmp dword [0x449c64], 0
je 0x40518c
push 0
push 0
push 0x12
push dword [0x449c68]
call dword [sym.imp.USER32.dll_PostThreadMessageA]
push 0x2328
push dword [0x449c64]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x405174
push 0x8ae
push dword [0x449c64]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
push dword [0x449c64]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [0x449c6c]
call esi
pop esi
and dword [0x449c64], 0
ret
call fcn.004011ed
test al, al
je 0x406014
jmp 0x407899
jmp 0x405130
cmp dword [0x449c20], 0
je 0x4078f5
push 0
push 0
push 0x12
push dword [0x449c24]
call dword [sym.imp.USER32.dll_PostThreadMessageA]
push 0x2328
push dword [0x449c20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4078dd
push 0x8ae
push dword [0x449c20]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
push dword [0x449c20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [0x449c28]
call esi
pop esi
and dword [0x449c20], 0
ret
Function at 0x40632e
Capabilities:
Check mutex on windows
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
push 0x24
call fcn.00418da7
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexA]
pop ecx
xor ebx, ebx
push ebx
push ebx
push ebx
mov edi, eax
call esi
push ebx
push ebx
push ebx
mov dword [edi], eax
call esi
mov ecx, dword [ebp + 0xc]
mov dword [edi + 4], eax
mov eax, dword [ebp + 8]
push eax
mov dword [edi + 8], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
mov dword [edi + 0xc], ebx
call fcn.0040696e
pop ecx
push ebx
push ebx
push 1
push ebx
mov dword [edi + 0x18], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0xffffffffffffffff
push dword [edi]
mov dword [edi + 0x20], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
lea eax, [ebp - 0x28]
push eax
push ebx
push edi
push 0x4062c9
push ebx
push ebx
call esi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x24]
push eax
push ebx
push edi
push 0x4060e6
push ebx
push ebx
call esi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push eax
push ebx
push edi
push 0x40615f
push ebx
push ebx
call esi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push edi
push 0x4061ff
push ebx
push ebx
call esi
mov dword [ebp - 8], eax
lea eax, [ebp - 0x18]
push eax
push ebx
push edi
push 0x406264
push ebx
push ebx
call esi
push 5
pop esi
push dword [edi]
mov dword [ebp - 4], eax
mov dword [edi + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push 0xffffffffffffffff
push dword [edi + 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [edi + 8]
push str._HttpDownloader__Download_Tasks_Complete___success_d__n
call fcn.0040a0b9
push str._HttpDownloader__Saving_any_detected_proxy_settings_n
call fcn.0040a0b9
mov eax, dword [edi + 0x18]
add esp, 0xc
push dword [eax + 4]
push dword [eax]
call fcn.004055cf
pop ecx
pop ecx
mov dword [ebp + 8], ebx
mov eax, dword [ebp + 8]
push dword [ebp + eax*4 - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [ebp + 8]
cmp dword [ebp + 8], esi
jl 0x406434
cmp dword [edi + 8], ebx
je 0x406452
xor eax, eax
jmp 0x406468
push str._HttpDownloader__Downloads_failed._Closing_buffer._n
call fcn.0040a0b9
mov esi, dword [ebp + 0xc]
pop ecx
call fcn.00406a75
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4067ab
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [0x457da4]
cmp dword [esi], 0
push edi
jne 0x4067c4
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x406823
push 0x4400b0
push dword [esp + 0x10]
call fcn.0041a2a4
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x406823
cmp dword [esi], 0
je 0x40681c
push str._Proxy__Saved_proxy_list_n
call fcn.0040a0b9
pop ecx
push edi
push dword [esi]
call fcn.0041c4b4
cmp dword [esi + 4], 0
pop ecx
pop ecx
je 0x40681c
push str._Proxy__Saved_proxy_bypass_list_n
call fcn.0040a0b9
pop ecx
push edi
push 0x443d64
call fcn.0041c4b4
push edi
push dword [esi + 4]
call fcn.0041c4b4
add esp, 0x10
push edi
call fcn.0041bc31
pop ecx
pop edi
pop esi
ret

Function at 0x406826
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
mov esi, ecx
mov edi, eax
call fcn.00408571
xor esi, esi
push 0x18
mov dword [ebp - 8], eax
lea eax, [ebp - 0x30]
push esi
push eax
mov dword [edi], esi
mov dword [edi + 4], esi
call fcn.0041a440
add esp, 0xc
push 0xc
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.0041a440
add esp, 0xc
push str._Proxy__Opening_HTTP_Session_n
call fcn.0040a0b9
pop ecx
push esi
push esi
push esi
xor ebx, ebx
inc ebx
push ebx
push str.JWrapper_Proxy_Detector_1.0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
cmp eax, esi
mov dword [ebp - 0xc], eax
je 0x406960
cmp dword [ebp + 8], esi
mov dword [ebp - 0x30], ebx
je 0x4068ac
push dword [ebp + 8]
mov dword [ebp - 0x30], 3
push str._Proxy__Using_auto_config_URL:__S_n
call fcn.0040a0b9
mov eax, dword [ebp + 8]
pop ecx
pop ecx
mov dword [ebp - 0x28], eax
push dword [ebp - 8]
mov dword [ebp - 0x2c], 3
push str._Proxy__Attempting_to_detect_proxy_for_URL__S_n
mov dword [ebp - 0x1c], ebx
call fcn.0040a0b9
pop ecx
pop ecx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
je 0x40692a
push str._Proxy__Configuration_found_n
call fcn.0040a0b9
cmp dword [ebp - 0x18], ebx
pop ecx
jne 0x4068f9
push str._Proxy__Direct_connection_used_n
call fcn.0040a0b9
jmp 0x40693c
push dword [ebp - 0x14]
mov ebx, str._Proxy___S_n
push ebx
call fcn.0040a0b9
push dword [ebp - 0x10]
push ebx
call fcn.0040a0b9
push dword [ebp - 0x14]
call fcn.004085b1
add esp, 0x14
push dword [ebp - 0x10]
mov dword [edi], eax
call fcn.004085b1
mov dword [edi + 4], eax
jmp 0x40693c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._Proxy__Configuration_NOT_found___d__n
call fcn.0040a0b9
pop ecx
cmp dword [ebp - 0x14], esi
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ecx
je 0x40694d
push dword [ebp - 0x14]
call edi
cmp dword [ebp - 0x10], esi
je 0x406957
push dword [ebp - 0x10]
call edi
push dword [ebp - 0xc]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [ebp - 8]
call fcn.00418cca
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4073ce
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xc3b8
call fcn.0041f210
mov eax, dword [0x448504]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push str._Spawner__Constructing_command_line..._n
call fcn.0040a0b9
pop ecx
call fcn.0041c753
add eax, 0x20
push eax
call fcn.0041a144
xor ebx, ebx
cmp dword [edi], ebx
pop ecx
mov byte [ebp - 0xc358], bl
mov dword [ebp - 0xc35c], ebx
je 0x40745b
mov esi, edi
lea eax, [ebp - 0xc358]
push 0x43fb58
push eax
call fcn.00418fd0
push dword [esi]
lea eax, [ebp - 0xc358]
push eax
call fcn.00418fd0
lea eax, [ebp - 0xc358]
push 0x4449c4
push eax
call fcn.00418fd0
add esp, 0x18
inc dword [ebp - 0xc35c]
mov eax, dword [ebp - 0xc35c]
lea esi, [edi + eax*4]
cmp dword [esi], ebx
jne 0x407415
lea eax, [ebp - 0xc358]
push eax
push str._Spawner__Creating_command_line__s_n
call fcn.0040a0b9
call fcn.0041c753
add eax, 0x20
push eax
call fcn.0041a144
add esp, 0xc
push 0x44
lea eax, [ebp - 0xc3b8]
push ebx
push eax
call fcn.0041a440
add esp, 0xc
push 0x10
lea eax, [ebp - 0xc370]
push ebx
push eax
call fcn.0041a440
add esp, 0xc
lea eax, [ebp - 0xc370]
push eax
lea eax, [ebp - 0xc3b8]
push eax
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
lea eax, [ebp - 0xc358]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4074ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateProcess_failed___d_._n
call fcn.0040a0b9
call fcn.0041c753
add eax, 0x20
push eax
call fcn.0041a144
add esp, 0xc
or eax, 0xffffffff
jmp 0x40753e
push 0xffffffffffffffff
push dword [ebp - 0xc370]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0xc360]
push eax
push dword [ebp - 0xc370]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0xc370]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc36c]
call esi
push dword [ebp - 0xc360]
push str._Spawner__runSpawnerAndWait_returned__d_n
call fcn.0040a0b9
mov eax, dword [ebp - 0xc360]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00418cbb
leave
ret
Function at 0x40754c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xc3b8
call fcn.0041f210
mov eax, dword [0x448504]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
push str._Spawner__Constructing_command..._n
mov byte [ebp - 0xc358], bl
call fcn.0040a0b9
pop ecx
call fcn.0041c753
add eax, 0x20
push eax
call fcn.0041a144
cmp dword [edi], ebx
pop ecx
mov dword [ebp - 0xc35c], ebx
je 0x4075d9
mov esi, edi
lea eax, [ebp - 0xc358]
push 0x43fb58
push eax
call fcn.00418fd0
push dword [esi]
lea eax, [ebp - 0xc358]
push eax
call fcn.00418fd0
lea eax, [ebp - 0xc358]
push 0x4449c4
push eax
call fcn.00418fd0
add esp, 0x18
inc dword [ebp - 0xc35c]
mov eax, dword [ebp - 0xc35c]
lea esi, [edi + eax*4]
cmp dword [esi], ebx
jne 0x407593
lea eax, [ebp - 0xc358]
push eax
push str._Spawner__Executing_command__s_n
call fcn.0040a0b9
call fcn.0041c753
add eax, 0x20
push eax
call fcn.0041a144
add esp, 0xc
push 0x44
lea eax, [ebp - 0xc3b8]
push ebx
push eax
call fcn.0041a440
add esp, 0xc
push 0x10
lea eax, [ebp - 0xc36c]
push ebx
push eax
call fcn.0041a440
add esp, 0xc
lea eax, [ebp - 0xc36c]
push eax
lea eax, [ebp - 0xc3b8]
push eax
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
lea eax, [ebp - 0xc358]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x40766d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateProcess_failed___d_._n
call fcn.0040a0b9
call fcn.0041c753
add eax, 0x20
push eax
call fcn.0041a144
add esp, 0xc
or eax, 0xffffffff
jmp 0x40769f
push str._Spawner__Create_process_seems_to_have_worked_n
call fcn.0040a0b9
pop ecx
call fcn.0041c753
add eax, 0x20
push eax
call fcn.0041a144
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
push dword [ebp - 0xc36c]
call esi
push dword [ebp - 0xc368]
call esi
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00418cbb
leave
ret

Function at 0x407816
Capabilities:
Create thread

Disassembly:
push esi
xor esi, esi
cmp dword [0x449c20], esi
push esi
jne 0x407874
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0x449c24
push esi
push 0x449c20
push 0x407929
push esi
push esi
mov dword [0x449c28], eax
call fcn.0041bf1a
add esp, 0x18
push 0x1388
push dword [0x449c28]
mov dword [0x449c20], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x407884
push str.Error_starting_SplashThread_n
call fcn.0040a0b9
pop ecx
pop esi
ret
push 2
push 6
push dword [0x449c24]
call dword [sym.imp.USER32.dll_PostThreadMessageA]
pop esi
ret