joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e68e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
cmp dword [ebp + 0x10], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edx, ebx
je 0x40e862
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0x1f
sar ecx, 5
lea esi, [eax + eax*8]
lea edi, [ecx*4 + 0x415a00]
mov eax, dword [edi]
shl esi, 2
add eax, esi
mov cl, byte [eax + 4]
test cl, 2
jne 0x40e862
test cl, 0x48
je 0x40e6f9
cmp byte [eax + 5], 0xa
je 0x40e6f9
mov eax, dword [edi]
mov al, byte [eax + esi + 5]
dec dword [ebp + 0x10]
mov byte [ebx], al
mov eax, dword [edi]
lea edx, [ebx + 1]
mov dword [ebp - 8], 1
mov byte [eax + esi + 5], 0xa
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
mov eax, dword [edi]
push edx
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40e74b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop esi
cmp eax, esi
jne 0x40e733
call fcn.004072a8
mov dword [eax], 9
call fcn.004072b1
mov dword [eax], esi
jmp 0x40e743
cmp eax, 0x6d
je 0x40e862
push eax
call fcn.004072ba
pop ecx
or eax, 0xffffffff
jmp 0x40e864
mov eax, dword [ebp - 0xc]
mov ecx, dword [edi]
add dword [ebp - 8], eax
test byte [ecx + esi + 4], 0x80
je 0x40e85d
test eax, eax
je 0x40e772
cmp byte [ebx], 0xa
jne 0x40e772
mov eax, ecx
lea eax, [eax + esi + 4]
or byte [eax], 4
jmp 0x40e77b
mov eax, dword [edi]
lea eax, [eax + esi + 4]
and byte [eax], 0xfb
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
add ecx, eax
cmp eax, ecx
mov dword [ebp + 0x10], eax
mov dword [ebp - 8], ecx
jae 0x40e857
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
cmp al, 0x1a
je 0x40e847
cmp al, 0xd
je 0x40e7ad
mov byte [ebx], al
inc ebx
inc dword [ebp + 0x10]
jmp 0x40e839
dec ecx
cmp dword [ebp + 0x10], ecx
jae 0x40e7c7
mov eax, dword [ebp + 0x10]
inc eax
cmp byte [eax], 0xa
jne 0x40e7c2
add dword [ebp + 0x10], 2
jmp 0x40e81b
mov dword [ebp + 0x10], eax
jmp 0x40e835
inc dword [ebp + 0x10]
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
mov eax, dword [edi]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40e7ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x40e835
cmp dword [ebp - 0xc], 0
je 0x40e835
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x40e810
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x40e81b
mov byte [ebx], 0xd
mov ecx, dword [edi]
mov byte [ecx + esi + 5], al
jmp 0x40e838
cmp ebx, dword [ebp + 0xc]
jne 0x40e820
cmp byte [ebp - 1], 0xa
jne 0x40e820
mov byte [ebx], 0xa
jmp 0x40e838
push 1
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0040672d
add esp, 0xc
cmp byte [ebp - 1], 0xa
je 0x40e839
mov byte [ebx], 0xd
inc ebx
mov ecx, dword [ebp - 8]
cmp dword [ebp + 0x10], ecx
jb 0x40e791
jmp 0x40e857
mov eax, dword [edi]
test byte [eax + esi + 4], 0x40
jne 0x40e857
lea esi, [eax + esi + 4]
or byte [esi], 2
sub ebx, dword [ebp + 0xc]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
jmp 0x40e864
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1b007769
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x1b00b190
cmp edx, dword [eax]
je 0x1b00778b
add eax, 8
inc ecx
cmp eax, 0x1b00b220
jl 0x1b00777c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x1b00b190]
jne 0x1b0078b9
mov eax, dword [0x1b00bbb0]
cmp eax, 1
je 0x1b007893
test eax, eax
jne 0x1b0077bc
cmp dword [0x1b00b0e4], 1
je 0x1b007893
cmp edx, 0xfc
je 0x1b0078b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1b0077f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.1b008670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.1b008490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x1b007836
lea eax, [ebp - 0x1a4]
push eax
call fcn.1b008490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x1b00a45c
push edi
call fcn.1b008f00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.1b008670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.1b008680
lea eax, [ebp - 0xa0]
push 0x1b00a43c
push eax
call fcn.1b008680
push dword [esi + 0x1b00b194]
lea eax, [ebp - 0xa0]
push eax
call fcn.1b008680
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.1b008e75
add esp, 0x2c
pop edi
jmp 0x1b0078b9
lea eax, [ebp + 8]
lea esi, [esi + 0x1b00b194]
push 0
push eax
push dword [esi]
call fcn.1b008490
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x401512
Capabilities:
Move file

Disassembly:
push ecx
push ebx
push ebp
mov ebp, 0x400
push ebp
call fcn.00417090
pop ecx
mov ebx, eax
push ebp
push ebx
call fcn.004199b5
push ebx
push str._Extractor__Working_dir_is__s_n
call fcn.0040855c
push ebx
call fcn.00416fb3
add esp, 0x14
push esi
push edi
call fcn.00417c94
pop ecx
xor ebp, ebp
test eax, eax
pop ecx
je 0x4015b1
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
cmp ebp, 0xa
jge 0x4015d1
call fcn.004174b9
push dword [eax]
push esi
push edi
push str._Rename__Could_not_rename__s_to__s___d__n
call fcn.0040855c
add esp, 0x10
push 0x32
call ebx
push str._Rename__Windows___this_FS_seems_to_not_supported_renaming._Trying_alternative_method..._n
call fcn.0040855c
pop ecx
push 3
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x4015c4
push str.MoveFileEx
push str.Extractor
call fcn.00407d64
pop ecx
pop ecx
push 0x12c
call ebx
push esi
push edi
inc ebp
call fcn.00417c94
test eax, eax
pop ecx
pop ecx
jne 0x401553
push esi
push edi
push str._Rename__File__s_renamed_to__s_n
call fcn.0040855c
add esp, 0xc
pop ebp
pop ebx
pop ecx
ret
push str._Rename__MoveFileEx_worked._Assuming_success._n
call fcn.0040855c
pop ecx
xor eax, eax
test eax, eax
je 0x4015b1
call fcn.004174b9
push dword [eax]
push esi
push edi
push str._Rename___FAIL__Could_not_rename__s_to__s___d__n
call fcn.0040855c
push str._Rename__Can_do_no_better_than_a_copy_on_this_filesystem_n
call fcn.0040855c
add esp, 0x14
push esi
call fcn.004084bb
pop ecx
push esi
push str._Rename__Created_folder__s_n
call fcn.0040855c
push esi
push edi
call fcn.004017d1
add esp, 0x10
test eax, eax
je 0x401622
push str._Rename__Copy_failed_too__Severe_filesystem_issues._n
call fcn.0040855c
pop ecx
jmp 0x4015c0
push esi
push edi
push str._Rename__Copied__s_to__s_n
jmp 0x4015b8
Function at 0x40162b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, eax
push edi
push str._Windows_Subsystem__Fixing__s_n
call fcn.0040855c
push 0x42e9d8
push edi
call fcn.00418580
add esp, 0x10
mov esi, eax
test esi, esi
mov byte [ebp - 4], 0x50
mov byte [ebp - 3], 0x45
mov byte [ebp - 2], 0
mov byte [ebp - 1], 0
push edi
jne 0x401679
push str._Windows_Subsystem__Could_not_open_file__s_n
call fcn.0040855c
pop ecx
pop ecx
push 1
call fcn.00418021
push str._Windows_Subsystem__Opened__s_n
call fcn.0040855c
pop ecx
xor ebx, ebx
pop ecx
xor edi, edi
push esi
call fcn.0041835b
pop ecx
push esi
mov dword [ebp - 8], eax
inc ebx
call fcn.0041a926
test eax, eax
pop ecx
jne 0x40174c
mov al, byte [ebp - 8]
cmp al, byte [ebp + edi - 4]
jne 0x4016af
inc edi
jmp 0x4016b1
xor edi, edi
cmp edi, 4
jne 0x401689
cmp ebx, 0xffffffff
mov dword [0x53a088], ebx
je 0x401672
lea edi, [ebx + 0x58]
push edi
push 0x58
push ebx
push str._Windows_Subsystem__Found_marker_OK_at__d___d___d__n
call fcn.0040855c
xor ebx, ebx
push ebx
push edi
push esi
call fcn.00419d51
add esp, 0x1c
push edi
push str._Windows_Subsystem__Skipped_to_relevant_spot__d_n
call fcn.0040855c
push esi
call fcn.0041835b
add esp, 0xc
push eax
push str._Windows_Subsystem__Was__02X_n
call fcn.0040855c
push ebx
push edi
push esi
call fcn.00419d51
add esp, 0x14
push esi
push 2
call fcn.00417b55
push esi
call fcn.004182e9
add esp, 0xc
push ebx
push edi
push esi
call fcn.00419d51
add esp, 0xc
push esi
call fcn.0041835b
pop ecx
push eax
push str._Windows_Subsystem__Now__02X_n
call fcn.0040855c
push esi
call fcn.004182e9
add esp, 0xc
push esi
call fcn.0041a09f
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push str.SS_edit___PE_sig
push str.Could_not_find_marker:__s_n
jmp 0x40166b

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x42eb60
push dword [ebp + 8]
call fcn.00418580
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 4], eax
jne 0x401788
push dword [ebp + 8]
push str._Extractor___Unable_to_open_destination_file_for_copy__s_n
call fcn.0040855c
pop ecx
jmp 0x4017cb
mov edi, 0xc350
mov esi, 0x52dc90
push dword [ebp + 0xc]
push edi
push 1
push esi
call fcn.004189f7
mov ebx, eax
add esp, 0x10
test ebx, ebx
jbe 0x4017b6
push dword [ebp - 4]
push ebx
push 1
push esi
call fcn.004197bc
add esp, 0x10
cmp ebx, edi
je 0x401792
push dword [ebp + 0xc]
call fcn.0041a09f
pop ecx
push dword [ebp - 4]
call fcn.0041a09f
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4017d1
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x272c
call fcn.0041bc70
mov eax, dword [0x436504]
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.004010aa
test eax, eax
pop ecx
mov dword [ebp - 0x271c], eax
jne 0x40182d
push esi
push str._CopyFolder__SourceDir_from__s_is_NULL_n
call fcn.0040855c
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.00416fa4
leave
ret
call fcn.004011d4
mov esi, eax
test esi, esi
je 0x4019c4
mov edi, 0x52dc90
mov eax, dword [esi]
cmp byte [eax], 0x2e
jne 0x401858
push eax
call fcn.00417220
cmp eax, 2
pop ecx
jbe 0x4019af
push dword [esi]
lea eax, [ebp - 0x1390]
push dword [ebp - 0x2728]
call fcn.00408520
push dword [esi]
lea eax, [ebp - 0x2718]
push dword [ebp - 0x272c]
call fcn.00408520
lea eax, [ebp - 0x1390]
push eax
call fcn.004010aa
add esp, 0x14
test eax, eax
je 0x401910
mov esi, eax
call fcn.00401195
lea eax, [ebp - 0x2718]
push eax
push str._CopyFolder__Copying_DIR__s_n
call fcn.0040855c
lea eax, [ebp - 0x2718]
push eax
call fcn.004084bb
mov ebx, eax
add esp, 0xc
test ebx, ebx
lea eax, [ebp - 0x2718]
push eax
lea eax, [ebp - 0x1390]
push eax
jne 0x4019cb
call fcn.004017d1
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x4019af
lea eax, [ebp - 0x2718]
push eax
lea eax, [ebp - 0x1390]
push eax
push str._CopyFolder___Failed_to_copy__s_to__s_n
call fcn.0040855c
add esp, 0xc
mov edi, esi
mov esi, dword [ebp - 0x271c]
call fcn.00401195
mov eax, edi
jmp 0x40181e
lea eax, [ebp - 0x2718]
push eax
push str._CopyFolder__Copying_FILE__s_n
call fcn.0040855c
lea eax, [ebp - 0x1390]
push 0x42eb08
push eax
call fcn.00418580
add esp, 0x10
test eax, eax
mov dword [ebp - 0x2724], eax
je 0x4019ea
lea eax, [ebp - 0x2718]
push 0x42eb60
push eax
call fcn.00418580
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x2720], eax
je 0x401a05
push dword [ebp - 0x2724]
mov ebx, 0xc350
push ebx
push 1
push edi
call fcn.004189f7
mov esi, eax
add esp, 0x10
test esi, esi
jbe 0x401993
push dword [ebp - 0x2720]
push esi
push 1
push edi
call fcn.004197bc
add esp, 0x10
cmp esi, ebx
je 0x401964
push dword [ebp - 0x2724]
call fcn.0041a09f
pop ecx
push dword [ebp - 0x2720]
call fcn.0041a09f
pop ecx
mov eax, dword [ebp - 0x271c]
call fcn.004011d4
mov esi, eax
test esi, esi
jne 0x401841
xor edi, edi
jmp 0x4018fe
push str._CopyFolder___Failed_to_copy__s_to__s__could_not_create_target_folder__n
call fcn.0040855c
mov esi, dword [ebp - 0x271c]
add esp, 0xc
call fcn.00401195
mov eax, ebx
jmp 0x40181e
lea eax, [ebp - 0x1390]
push eax
push str._CopyFolder___Unable_to_open_source_file_for_copy__s_n
call fcn.0040855c
pop ecx
xor edi, edi
pop ecx
inc edi
jmp 0x4018fe
lea eax, [ebp - 0x2718]
push eax
push str._CopyFolder___Unable_to_open_destination_file_for_copy__s_n
jmp 0x4019f6
Function at 0x40330a
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.00417090
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.0040855c
cmp edi, ebx
pop ecx
pop ecx
je 0x403423
push edi
call fcn.00417090
mov dword [ebp - 4], eax
mov dword [esp], str._JavaCheck__Got_version_size_n
call fcn.0040855c
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 0x40340e
push str._JavaCheck__Got_version_info_n
call fcn.0040855c
pop ecx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x42ff10
push dword [ebp - 4]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x403407
push str._JavaCheck__Queried_value_n
call fcn.0040855c
cmp dword [ebp - 0xc], ebx
pop ecx
je 0x403400
push str._JavaCheck__Size_OK_n
call fcn.0040855c
mov edi, dword [ebp - 0x10]
cmp dword [edi], 0xfeef04bd
pop ecx
jne 0x4033f9
push dword [edi + 0x10]
push str._JavaCheck__file_version_MS_is__ld_n
call fcn.0040855c
push dword [edi + 0x14]
push str._JavaCheck__file_version_LS_is__ld_n
call fcn.0040855c
movzx eax, word [edi + 0x12]
push eax
push 0x42ff90
push esi
call fcn.00417cc2
add esp, 0x1c
jmp 0x403419
push str._JavaCheck__signature_is_wrong_n
jmp 0x403413
push str._JavaCheck__size_is_null_n
jmp 0x403413
push str._JavaCheck__ver_query_value_function_call_failed_n
jmp 0x403413
push str._JavaCheck__get_file_version_info_call_failed_n
call fcn.0040855c
pop ecx
push dword [ebp - 4]
call fcn.00416fb3
jmp 0x40342d
push str._JavaCheck__verSize_is_zero_n
call fcn.0040855c
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x40508f
Capabilities:
Create thread

Disassembly:
push esi
xor esi, esi
cmp dword [0x437c64], esi
push esi
jne 0x4050ed
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0x437c68
push esi
push 0x437c64
push 0x405163
push esi
push esi
mov dword [0x437c6c], eax
call fcn.0041a251
add esp, 0x18
push 0x1388
push dword [0x437c6c]
mov dword [0x437c64], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4050fd
push str.Error_starting_SplashThread_n
call fcn.0040855c
pop ecx
pop esi
ret
push 2
push 6
push dword [0x437c68]
call dword [sym.imp.USER32.dll_PostThreadMessageA]
pop esi
ret
Function at 0x405f96
Capabilities:
Terminate thread

Disassembly:
cmp dword [0x437c64], 0
je 0x40515b
push 0
push 0
push 0x12
push dword [0x437c68]
call dword [sym.imp.USER32.dll_PostThreadMessageA]
push 0x2328
push dword [0x437c64]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x405143
push 0x8ae
push dword [0x437c64]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
push dword [0x437c64]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [0x437c6c]
call esi
pop esi
and dword [0x437c64], 0
ret
call fcn.0040121b
test al, al
je 0x405fa4
jmp 0x407268
jmp 0x4050ff
cmp dword [0x437c20], 0
je 0x4072c4
push 0
push 0
push 0x12
push dword [0x437c24]
call dword [sym.imp.USER32.dll_PostThreadMessageA]
push 0x2328
push dword [0x437c20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4072ac
push 0x8ae
push dword [0x437c20]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
push dword [0x437c20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [0x437c28]
call esi
pop esi
and dword [0x437c20], 0
ret

Function at 0x4062b5
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.00417090
mov ebx, dword [sym.imp.KERNEL32.dll_CreateMutexA]
pop ecx
xor edi, edi
push edi
push edi
push edi
mov esi, eax
call ebx
push edi
push edi
push edi
mov dword [esi], eax
call ebx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
push eax
mov dword [esi + 8], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
mov dword [esi + 0xc], edi
call fcn.00406afb
pop ecx
push edi
push edi
push 1
push edi
mov dword [esi + 0x18], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0xffffffffffffffff
push dword [esi]
mov dword [esi + 0x20], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateThread]
lea eax, [ebp - 0x28]
push eax
push edi
push esi
push 0x406251
push edi
push edi
call ebx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x24]
push eax
push edi
push esi
push 0x406070
push edi
push edi
call ebx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push eax
push edi
push esi
push 0x4060e9
push edi
push edi
call ebx
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x1c]
push eax
push edi
push esi
push 0x40618a
push edi
push edi
call ebx
mov dword [ebp - 8], eax
lea eax, [ebp - 0x18]
push eax
push edi
push esi
push 0x4061ed
push edi
push edi
call ebx
push 5
pop ebx
push dword [esi]
mov dword [ebp - 4], eax
mov dword [esi + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push 0xffffffffffffffff
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 8]
push str._HttpDownloader__Download_Tasks_Complete___success_d__n
call fcn.0040855c
pop ecx
pop ecx
push dword [ebp + edi*4 - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, ebx
jl 0x40639e
mov eax, dword [esi + 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4063cc
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2728
call fcn.0041bc70
mov eax, dword [0x436504]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push str.kernel32
mov dword [ebp - 0x2728], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.SetDllDirectoryA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x2720], eax
lea eax, [ebp - 0x271c]
push ebx
push eax
mov byte [ebp - 0x271c], 0
call fcn.004172c0
mov edi, 0x42e6ac
push edi
lea esi, [ebp - 0x271c]
call fcn.004084da
add esp, 0xc
mov eax, esi
push eax
push str._JNILaunch__Bin_folder_is__s_n
call fcn.0040855c
mov esi, 0x7d0
push esi
call fcn.00417090
add esp, 0xc
push eax
push esi
mov dword [ebp - 0x2724], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x271c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
cmp dword [ebp - 0x2720], 0
je 0x406480
lea eax, [ebp - 0x271c]
push eax
call dword [ebp - 0x2720]
lea eax, [ebp - 0x1394]
push ebx
push eax
mov byte [ebp - 0x1394], 0
call fcn.004172c0
push edi
lea esi, [ebp - 0x1394]
call fcn.004084da
add esp, 0xc
push str.server
call fcn.004084da
mov dword [esp], str.jvm.dll
call fcn.004084da
pop ecx
mov eax, esi
push eax
call fcn.00408161
pop ecx
push eax
mov eax, esi
push eax
push str._JNILaunch__Trying_to_load_library__s__exists_d__n
call fcn.0040855c
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 0xc
mov eax, esi
push eax
call ebx
mov esi, eax
test esi, esi
jne 0x406560
push str._JNILaunch__Unable_to_load_library._Will_attempt_fallback._n
call fcn.0040855c
pop ecx
push dword [ebp - 0x2728]
lea eax, [ebp - 0x1394]
push eax
mov byte [ebp - 0x1394], 0
call fcn.004172c0
push edi
lea esi, [ebp - 0x1394]
call fcn.004084da
add esp, 0xc
push str.client
call fcn.004084da
mov dword [esp], str.jvm.dll
call fcn.004084da
pop ecx
mov eax, esi
push eax
call fcn.00408161
pop ecx
push eax
mov eax, esi
push eax
push str._JNILaunch__Trying_to_load_library__s__exists_d__n
call fcn.0040855c
add esp, 0xc
mov eax, esi
push eax
call ebx
mov esi, eax
test esi, esi
jne 0x406560
push str._JNILaunch__Unable_to_load_second_library._n
call fcn.0040855c
jmp 0x406572
lea eax, [ebp - 0x1394]
push eax
push str._JNILauncher__Loaded_Windows_DLL____s_n
call fcn.0040855c
pop ecx
cmp dword [ebp - 0x2720], 0
pop ecx
je 0x406584
push 0
call dword [ebp - 0x2720]
push dword [ebp - 0x2724]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, dword [ebp - 8]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00416fa4
leave
ret
Function at 0x406938
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [0x539fe4]
cmp dword [esi], 0
push edi
jne 0x406951
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x4069b0
push 0x42eb60
push dword [esp + 0x10]
call fcn.00418580
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x4069b0
cmp dword [esi], 0
je 0x4069a9
push str._Proxy__Saved_proxy_list_n
call fcn.0040855c
pop ecx
push edi
push dword [esi]
call fcn.0041a7e4
cmp dword [esi + 4], 0
pop ecx
pop ecx
je 0x4069a9
push str._Proxy__Saved_proxy_bypass_list_n
call fcn.0040855c
pop ecx
push edi
push 0x432e24
call fcn.0041a7e4
push edi
push dword [esi + 4]
call fcn.0041a7e4
add esp, 0x10
push edi
call fcn.0041a09f
pop ecx
pop edi
pop esi
ret

Function at 0x4069b3
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.00407b5e
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.00418720
add esp, 0xc
push 0xc
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.00418720
add esp, 0xc
push str._Proxy__Opening_HTTP_Session_n
call fcn.0040855c
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 0x406aed
cmp dword [ebp + 8], esi
mov dword [ebp - 0x30], ebx
je 0x406a39
push dword [ebp + 8]
mov dword [ebp - 0x30], 3
push str._Proxy__Using_auto_config_URL:__S_n
call fcn.0040855c
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.0040855c
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 0x406ab7
push str._Proxy__Configuration_found_n
call fcn.0040855c
cmp dword [ebp - 0x18], ebx
pop ecx
jne 0x406a86
push str._Proxy__Direct_connection_used_n
call fcn.0040855c
jmp 0x406ac9
push dword [ebp - 0x14]
mov ebx, str._Proxy___S_n
push ebx
call fcn.0040855c
push dword [ebp - 0x10]
push ebx
call fcn.0040855c
push dword [ebp - 0x14]
call fcn.00407b9e
add esp, 0x14
push dword [ebp - 0x10]
mov dword [edi], eax
call fcn.00407b9e
mov dword [edi + 4], eax
jmp 0x406ac9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._Proxy__Configuration_NOT_found___d__n
call fcn.0040855c
pop ecx
cmp dword [ebp - 0x14], esi
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ecx
je 0x406ada
push dword [ebp - 0x14]
call edi
cmp dword [ebp - 0x10], esi
je 0x406ae4
push dword [ebp - 0x10]
call edi
push dword [ebp - 0xc]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [ebp - 8]
call fcn.00416fb3
pop ecx
pop edi
pop esi
pop ebx
leave
ret