joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a740
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x410040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x40dd01], 0
movq xmm0, qword [str._FWXY]
mov ax, word [0x40dd00]
push esi
mov dword [ebp - 8], 0
movq qword [ebp - 0x18], xmm0
mov word [ebp - 0x10], ax
je 0x40a7b7
xor edx, edx
mov dword [ebp - 0xc], edx
mov eax, 0xa0a0a0a1
mul edx
shr edx, 5
movsx eax, dl
mov edx, dword [ebp - 0xc]
mov cl, dl
imul eax, eax, 0x33
sub cl, al
add cl, 0x31
xor byte [ebp + edx - 0x18], cl
inc edx
mov dword [ebp - 0xc], edx
cmp edx, 0xa
jl 0x40a790
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x40a97f
cmp byte [0x40dcf5], 0
movups xmm0, xmmword [0x40dcdc]
mov cx, word [0x40dcf4]
mov word [ebp - 0x1c], cx
movups xmmword [ebp - 0x34], xmm0
movq xmm0, qword [0x40dcec]
movq qword [ebp - 0x24], xmm0
je 0x40a94a
xor ecx, ecx
cmp dword [0x410470], 2
jl 0x40a920
movaps xmm0, xmmword [0x40dde0]
movaps xmm4, xmmword [0x40dd70]
movaps xmm3, xmmword [0x40de30]
movaps xmm5, xmmword [0x40dd90]
movups xmm6, xmmword [0x40ddc0]
movaps xmmword [ebp - 0x50], xmm0
mov edx, dword [ebp - 0x50]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [ebp + ecx - 0x34]
xorps xmm2, xmm0
movd xmm0, eax
movd dword [ebp + ecx - 0x34], xmm2
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [ebp + ecx - 0x30]
xorps xmm2, xmm0
movd dword [ebp + ecx - 0x30], xmm2
add ecx, 8
cmp ecx, 0x18
jl 0x40a834
cmp ecx, 0x1a
jge 0x40a94a
nop word [eax + eax]
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, cl
movsx eax, al
imul eax, eax, 0x33
sub dl, al
add dl, 0x31
xor byte [ebp + ecx - 0x34], dl
inc ecx
cmp ecx, 0x1a
jl 0x40a920
lea eax, [ebp - 0x34]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x40a97f
push 0
push 4
lea eax, [ebp - 8]
push eax
push 7
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
jne 0x40a97f
cmp dword [ebp - 8], eax
je 0x40a97f
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0040b8b7
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x40c49c
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40c4db
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40c4db
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40c4db
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40c4db
cmp dword [ecx + 0x74], 0xe
jbe 0x40c4db
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x580770
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x123000]
push edi
jmp 0x58078a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x580791
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x580780
mov eax, 1
add ebx, ebx
jne 0x5807a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5807b4
jne 0x5807d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5807d3
dec eax
add ebx, ebx
jne 0x5807c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x580798
add ebx, ebx
jne 0x5807cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x580825
xor ecx, ecx
sub eax, 3
jb 0x5807eb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x58085a
sar eax, 1
mov ebp, eax
jmp 0x5807f6
add ebx, ebx
jne 0x5807f6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5807c4
inc ecx
add ebx, ebx
jne 0x580804
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5807c4
add ebx, ebx
jne 0x580811
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x580806
jne 0x580822
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x580806
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x580844
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x580836
jmp 0x580786
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x580844
add edi, ecx
jmp 0x580786
pop esi
mov edi, esi
mov ecx, 0x40d6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x580862
cmp byte [edi], 0x11
jne 0x580862
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x580867
lea edi, [esi + 0x179000]
mov eax, dword [edi]
or eax, eax
je 0x5808df
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x21b0a0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x21b21c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x580894
mov ecx, edi
jns 0x5808c3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x21b220]
or eax, eax
je 0x5808d9
mov dword [ebx], eax
add ebx, 4
jmp 0x5808b1
call dword [esi + 0x21b230]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x580910
cmp al, 0xef
ja 0x580903
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5808e5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5808f2
mov ebp, dword [esi + 0x21b224]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x580944
sub esp, 0xffffff80
jmp 0x4204f7
Function at 0x4018c8
Capabilities:
Move file

Disassembly:
push ebx
push ebp
push esi
mov ebp, 0x400
push ebp
mov esi, eax
call fcn.00418ea7
pop ecx
mov ebx, eax
push ebp
push ebx
call fcn.0041b753
push ebx
push str._Extractor__Working_dir_is__s_n
call fcn.0040a1bf
push ebx
call fcn.00418dca
add esp, 0x14
call fcn.00409a64
test eax, eax
je 0x401911
push str._Rename__The_target_already_exists._Deleting._n
call fcn.0040a1bf
pop ecx
push esi
call fcn.00409933
pop ecx
push esi
push edi
call fcn.00419b3f
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.004192c9
push dword [eax]
push esi
push edi
push str._Rename__Could_not_rename__s_to__s___d__n
call fcn.0040a1bf
add esp, 0x10
push 0x32
call ebx
push str._Rename__Windows___this_FS_seems_to_not_supported_renaming._Trying_alternative_method..._n
call fcn.0040a1bf
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.00409377
pop ecx
pop ecx
push 0x12c
call ebx
push esi
push edi
inc ebp
call fcn.00419b3f
test eax, eax
pop ecx
pop ecx
jne 0x401926
push esi
push edi
push str._Rename__File__s_renamed_to__s_n
call fcn.0040a1bf
add esp, 0xc
pop esi
pop ebp
pop ebx
ret
push str._Rename__MoveFileEx_worked._Assuming_success._n
call fcn.0040a1bf
pop ecx
xor eax, eax
test eax, eax
je 0x401984
call fcn.004192c9
push dword [eax]
push esi
push edi
push str._Rename___FAIL__Could_not_rename__s_to__s___d__n
call fcn.0040a1bf
push str._Rename__Can_do_no_better_than_a_copy_on_this_filesystem_n
call fcn.0040a1bf
add esp, 0x14
push esi
call fcn.0040a09a
pop ecx
push esi
push str._Rename__Created_folder__s_n
call fcn.0040a1bf
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.0040a1bf
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 0x4400c8
push dword [ebp + 8]
call fcn.0041a3a4
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.0040a1bf
pop ecx
jmp 0x401a6e
mov edi, 0xc350
mov esi, 0x44ba50
push dword [ebp + 0xc]
push edi
push 1
push esi
call fcn.0041a817
mov ebx, eax
add esp, 0x10
test ebx, ebx
jbe 0x401a59
push dword [ebp - 4]
push ebx
push 1
push esi
call fcn.0041b55a
add esp, 0x10
cmp ebx, edi
je 0x401a35
push dword [ebp + 0xc]
call fcn.0041bd31
pop ecx
push dword [ebp - 4]
call fcn.0041bd31
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.0041f310
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.0040a1bf
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.00418dbb
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.00419030
cmp eax, 2
pop ecx
jbe 0x401c52
push dword [esi]
lea eax, [ebp - 0x1390]
push dword [ebp - 0x2728]
call fcn.0040a138
push dword [esi]
lea eax, [ebp - 0x2718]
push dword [ebp - 0x272c]
call fcn.0040a138
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.0040a1bf
lea eax, [ebp - 0x2718]
push eax
call fcn.0040a09a
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.0040a1bf
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.0040a1bf
lea eax, [ebp - 0x1390]
push 0x440074
push eax
call fcn.0041a3a4
add esp, 0x10
test eax, eax
mov dword [ebp - 0x2724], eax
je 0x401c8d
lea eax, [ebp - 0x2718]
push 0x4400c8
push eax
call fcn.0041a3a4
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.0041a817
mov esi, eax
add esp, 0x10
test esi, esi
jbe 0x401c36
push dword [ebp - 0x2720]
push esi
push 1
push edi
call fcn.0041b55a
add esp, 0x10
cmp esi, ebx
je 0x401c07
push dword [ebp - 0x2724]
call fcn.0041bd31
pop ecx
push dword [ebp - 0x2720]
call fcn.0041bd31
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.0040a1bf
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.0040a1bf
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 0x402ec2
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.00418ea7
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.0040a1bf
cmp edi, ebx
pop ecx
pop ecx
je 0x402fdb
push edi
call fcn.00418ea7
mov dword [ebp - 4], eax
mov dword [esp], str._JavaCheck__Got_version_size_n
call fcn.0040a1bf
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 0x402fc6
push str._JavaCheck__Got_version_info_n
call fcn.0040a1bf
pop ecx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x440e58
push dword [ebp - 4]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x402fbf
push str._JavaCheck__Queried_value_n
call fcn.0040a1bf
cmp dword [ebp - 0xc], ebx
pop ecx
je 0x402fb8
push str._JavaCheck__Size_OK_n
call fcn.0040a1bf
mov edi, dword [ebp - 0x10]
cmp dword [edi], 0xfeef04bd
pop ecx
jne 0x402fb1
push dword [edi + 0x10]
push str._JavaCheck__file_version_MS_is__ld_n
call fcn.0040a1bf
push dword [edi + 0x14]
push str._JavaCheck__file_version_LS_is__ld_n
call fcn.0040a1bf
movzx eax, word [edi + 0x12]
push eax
push 0x440ed8
push esi
call fcn.00419b6d
add esp, 0x1c
jmp 0x402fd1
push str._JavaCheck__signature_is_wrong_n
jmp 0x402fcb
push str._JavaCheck__size_is_null_n
jmp 0x402fcb
push str._JavaCheck__ver_query_value_function_call_failed_n
jmp 0x402fcb
push str._JavaCheck__get_file_version_info_call_failed_n
call fcn.0040a1bf
pop ecx
push dword [ebp - 4]
call fcn.00418dca
jmp 0x402fe5
push str._JavaCheck__verSize_is_zero_n
call fcn.0040a1bf
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x402fed
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [ebp + 8], esi
je 0x40306d
push 0x440f9c
push dword [ebp + 8]
call fcn.0041a840
test eax, eax
pop ecx
pop ecx
jne 0x40306d
push str._Extractor__Authorised_to_override_the_splash_image._n
call fcn.0040a1bf
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.0040a1bf
add esp, 0xc
cmp dword [ebp + 0xc], esi
je 0x40306d
cmp dword [ebp + 0x10], esi
jbe 0x40306d
push dword [ebp + 0x14]
push str._Extractor__Overwriting_splash_image_at__s_n
call fcn.0040a1bf
push 0x4400c8
push dword [ebp + 0x14]
call fcn.0041a3a4
mov esi, eax
push esi
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
call fcn.0041b55a
push esi
call fcn.0041bd31
add esp, 0x24
pop esi
pop ecx
pop ebp
ret
Function at 0x4034a2
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x440074
push dword [ebp + 8]
call fcn.0041a3a4
mov edi, eax
xor esi, esi
cmp edi, esi
pop ecx
pop ecx
jne 0x4034d6
push dword [ebp + 8]
push str._Extractor___Failed_to_extract_wrapper_params___couldnt_open_file__s_n
call fcn.0040a1bf
pop ecx
pop ecx
push 1
call fcn.00419ee8
mov dword [ebp - 4], esi
push edi
call fcn.0041bdad
inc dword [ebp - 4]
pop ecx
push edi
mov ebx, eax
call fcn.0041c9ce
test eax, eax
pop ecx
jne 0x40351b
mov eax, dword [ebp + 0xc]
cmp bl, byte [esi + eax]
jne 0x4034fb
inc esi
jmp 0x4034fd
xor esi, esi
cmp esi, 0x40
jne 0x4034d9
mov eax, dword [ebp - 4]
cmp eax, 0xffffffff
mov dword [0x457e54], eax
je 0x4034cf
push edi
call fcn.00408504
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push str.Params
push str.Could_not_find_marker:__s_n
jmp 0x4034c8

Function at 0x403527
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x440074
push dword [ebp + 8]
call fcn.0041a3a4
mov edi, eax
xor esi, esi
cmp edi, esi
pop ecx
pop ecx
jne 0x40355b
push dword [ebp + 8]
push str._Extractor___Failed_to_extract_wrapper_tail___couldnt_open_file__s_n
call fcn.0040a1bf
pop ecx
pop ecx
push 1
call fcn.00419ee8
mov dword [ebp - 4], esi
push edi
call fcn.0041bdad
inc dword [ebp - 4]
pop ecx
push edi
mov ebx, eax
call fcn.0041c9ce
test eax, eax
pop ecx
jne 0x4035ae
mov eax, dword [ebp + 0xc]
cmp bl, byte [esi + eax]
jne 0x403580
inc esi
jmp 0x403582
xor esi, esi
cmp esi, 0x80
jne 0x40355e
mov eax, dword [ebp - 4]
cmp eax, 0xffffffff
mov dword [0x457e54], eax
je 0x403554
push str._Extractor__Found_tail_marker_n
call fcn.0040a1bf
pop ecx
push edi
call fcn.00408504
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push str.Tail
push str.Could_not_find_marker:__s_n
jmp 0x40354d
Function at 0x4051a0
Capabilities:
Create thread

Disassembly:
push esi
xor esi, esi
cmp dword [0x449c64], esi
push esi
jne 0x4051fe
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0x449c68
push esi
push 0x449c64
push 0x405274
push esi
push esi
mov dword [0x449c6c], eax
call fcn.0041c01a
add esp, 0x18
push 0x1388
push dword [0x449c6c]
mov dword [0x449c64], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40520e
push str.Error_starting_SplashThread_n
call fcn.0040a1bf
pop ecx
pop esi
ret
push 2
push 6
push dword [0x449c68]
call dword [sym.imp.USER32.dll_PostThreadMessageA]
pop esi
ret
Function at 0x4060e6
Capabilities:
Terminate thread

Disassembly:
cmp dword [0x449c64], 0
je 0x40526c
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 0x405254
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 0x4060f4
jmp 0x40799f
jmp 0x405210
cmp dword [0x449c20], 0
je 0x4079fb
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 0x4079e3
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 0x40640e
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.00418ea7
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.00406a74
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 0x4063a9
push ebx
push ebx
call esi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x24]
push eax
push ebx
push edi
push 0x4061c6
push ebx
push ebx
call esi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push eax
push ebx
push edi
push 0x40623f
push ebx
push ebx
call esi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push edi
push 0x4062df
push ebx
push ebx
call esi
mov dword [ebp - 8], eax
lea eax, [ebp - 0x18]
push eax
push ebx
push edi
push 0x406344
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.0040a1bf
push str._HttpDownloader__Saving_any_detected_proxy_settings_n
call fcn.0040a1bf
mov eax, dword [edi + 0x18]
add esp, 0xc
push dword [eax + 4]
push dword [eax]
call fcn.004056af
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 0x406514
cmp dword [edi + 8], ebx
je 0x406532
xor eax, eax
jmp 0x406548
push str._HttpDownloader__Downloads_failed._Closing_buffer._n
call fcn.0040a1bf
mov esi, dword [ebp + 0xc]
pop ecx
call fcn.00406b7b
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4068b1
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [0x457da4]
cmp dword [esi], 0
push edi
jne 0x4068ca
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x406929
push 0x4400c8
push dword [esp + 0x10]
call fcn.0041a3a4
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x406929
cmp dword [esi], 0
je 0x406922
push str._Proxy__Saved_proxy_list_n
call fcn.0040a1bf
pop ecx
push edi
push dword [esi]
call fcn.0041c5b4
cmp dword [esi + 4], 0
pop ecx
pop ecx
je 0x406922
push str._Proxy__Saved_proxy_bypass_list_n
call fcn.0040a1bf
pop ecx
push edi
push 0x443e94
call fcn.0041c5b4
push edi
push dword [esi + 4]
call fcn.0041c5b4
add esp, 0x10
push edi
call fcn.0041bd31
pop ecx
pop edi
pop esi
ret

Function at 0x40692c
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.00408677
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.0041a540
add esp, 0xc
push 0xc
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.0041a540
add esp, 0xc
push str._Proxy__Opening_HTTP_Session_n
call fcn.0040a1bf
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 0x406a66
cmp dword [ebp + 8], esi
mov dword [ebp - 0x30], ebx
je 0x4069b2
push dword [ebp + 8]
mov dword [ebp - 0x30], 3
push str._Proxy__Using_auto_config_URL:__S_n
call fcn.0040a1bf
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.0040a1bf
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 0x406a30
push str._Proxy__Configuration_found_n
call fcn.0040a1bf
cmp dword [ebp - 0x18], ebx
pop ecx
jne 0x4069ff
push str._Proxy__Direct_connection_used_n
call fcn.0040a1bf
jmp 0x406a42
push dword [ebp - 0x14]
mov ebx, str._Proxy___S_n
push ebx
call fcn.0040a1bf
push dword [ebp - 0x10]
push ebx
call fcn.0040a1bf
push dword [ebp - 0x14]
call fcn.004086b7
add esp, 0x14
push dword [ebp - 0x10]
mov dword [edi], eax
call fcn.004086b7
mov dword [edi + 4], eax
jmp 0x406a42
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._Proxy__Configuration_NOT_found___d__n
call fcn.0040a1bf
pop ecx
cmp dword [ebp - 0x14], esi
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ecx
je 0x406a53
push dword [ebp - 0x14]
call edi
cmp dword [ebp - 0x10], esi
je 0x406a5d
push dword [ebp - 0x10]
call edi
push dword [ebp - 0xc]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [ebp - 8]
call fcn.00418dca
pop ecx
pop edi
pop esi
pop ebx
leave
ret