Function at 0x402d5c
Capabilities:
Read file on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffe0
sub esp, 0x7d4
mov eax, dword [0x436504]
xor eax, esp
mov dword [esp + 0x7d0], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
push edi
push eax
push str._ExtractArchive__Extracting_archive__s_into__s_n
mov dword [esp + 0x30], eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x3c], ecx
call fcn.0040855c
add esp, 0xc
mov esi, 0x42eb08
push esi
push dword [esp + 0x28]
call fcn.00418580
test eax, eax
pop ecx
pop ecx
mov dword [esp + 0x2c], eax
jne 0x402dd0
push dword [esp + 0x24]
push str._ExtractArchive__Failed_to_extract_archive___couldnt_open_file__s_n
call fcn.0040855c
pop ecx
pop ecx
push 1
call fcn.00418021
or dword [esp + 0x20], 0xffffffff
and dword [esp + 0x1c], 0
push dword [esp + 0x30]
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x28]
push eax
push ebx
push 0
mov ecx, edi
call fcn.004027f4
add esp, 0x14
test eax, eax
je 0x402dda
push str._ExtractArchive__Done_extracting_archive._n
call fcn.0040855c
pop ecx
push dword [esp + 0x2c]
call fcn.0041a09f
cmp dword [esp + 0x24], 0xffffffff
pop ecx
je 0x4030ba
push str._ExtractArchive__Pre_Alloc_n
call fcn.0040855c
pop ecx
mov ebx, 0xc350
push ebx
call fcn.00417090
mov dword [esp + 0x38], eax
mov dword [esp], str._ExtractArchive__Post_Alloc_n
call fcn.0040855c
pop ecx
push esi
push dword [esp + 0x28]
call fcn.00418580
mov edi, eax
test edi, edi
pop ecx
pop ecx
mov dword [esp + 0x2c], edi
jne 0x402e63
push dword [esp + 0x24]
jmp 0x402dbd
push 0
push dword [esp + 0x24]
push edi
call fcn.00419d51
add esp, 0xc
push edi
call fcn.00407d4f
pop ecx
push edi
call fcn.00407d3e
mov dword [esp], str.jwArcSpBlock_DigitalSignature1
push eax
call fcn.00418a20
test eax, eax
pop ecx
pop ecx
je 0x402e9d
push str._ExtractArchive__Archive_INVALID.__Archive_signature_did_not_match_place_in_file__asb_name_mismatch__n
call fcn.0040855c
pop ecx
push edi
call fcn.00407d4f
pop ecx
push edi
call fcn.00407d4f
cmp dword [esp + 0x24], eax
pop ecx
je 0x402ebc
push str._ExtractArchive__Archive_INVALID.__Archive_signature_did_not_match_place_in_file__len_mismatch__n
call fcn.0040855c
pop ecx
push 0x1000
push edi
call fcn.00407cd2
push eax
push dword [esp + 0x28]
mov dword [esp + 0x38], eax
call fcn.00418a20
add esp, 0x10
test eax, eax
je 0x402ee7
push str._ExtractArchive__Archive_INVALID.__Archive_signature_did_not_match_place_in_file__sig_mismatch__n
call fcn.0040855c
pop ecx
push dword [esp + 0x28]
call fcn.00417220
mov esi, eax
shr esi, 1
inc esi
pop ecx
inc esi
push esi
call fcn.00417090
pop ecx
push dword [esp + 0x28]
mov dword [esp + 0x3c], eax
push esi
push eax
call fcn.00407fe3
add esp, 0xc
push eax
push str._ExtractArchive__Produced_a_signature_of_length__d_n
mov dword [esp + 0x30], eax
call fcn.0040855c
push str._ExtractArchive__Starting_hash..._n
call fcn.0040855c
lea eax, [esp + 0x4c]
add esp, 0xc
push eax
call fcn.00401000
mov dword [esp], str._ExtractArchive__Seeking_to_start_of_data..._n
call fcn.0040855c
pop ecx
push edi
call fcn.004182e9
pop ecx
xor esi, esi
push esi
push esi
push edi
call fcn.00419d51
add esp, 0xc
test eax, eax
je 0x402f62
push str._ExtractArchive__fseek___Error___n
jmp 0x402f67
push str._ExtractArhive__At_start_of_file._n
call fcn.0040855c
cmp dword [esp + 0x24], 0
mov dword [esp + 0x20], esi
pop ecx
mov esi, str.mixed
jle 0x402fce
jmp 0x402f84
mov ebx, 0xc350
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x1c]
cmp eax, ebx
jle 0x402f92
mov eax, ebx
push edi
push eax
push 1
push dword [esp + 0x40]
call fcn.004189f7
push esi
mov ebx, eax
call fcn.0040b9b0
imul eax, eax, 0x68
add esp, 0x14
push ebx
push dword [esp + 0x38]
lea ecx, [esp + 0x48]
push ecx
call dword [eax + 0x437dc0]
add dword [esp + 0x28], ebx
mov eax, dword [esp + 0x28]
add esp, 0xc
cmp eax, dword [esp + 0x20]
jl 0x402f7f
push str._ExtractArchive__Completed_hash_n
call fcn.0040855c
pop ecx
push esi
call fcn.0040b9b0
pop ecx
push 0x40
mov esi, eax
call fcn.00417090
imul esi, esi, 0x68
pop ecx
mov edi, eax
lea eax, [esp + 0x40]
push edi
push eax
call dword [esi + 0x437dc4]
mov esi, eax
neg esi
sbb esi, esi
not esi
and esi, edi
mov edi, 0x80
push edi
call fcn.00417090
add esp, 0xc
push edi
xor edi, edi
mov ebx, eax
push edi
push ebx
call fcn.00418720
add esp, 0xc
mov dword [esp + 0x1c], ebx
movzx eax, byte [edi + esi]
push eax
push str._02x
push dword [esp + 0x24]
call fcn.00417cc2
add dword [esp + 0x28], 2
add esp, 0xc
inc edi
cmp edi, 0x20
jl 0x403026
push ebx
push str._ExtractArchive__Produced_hash:__s_n
call fcn.0040855c
push ebx
call fcn.00416fb3
add esp, 0xc
push dword [esp + 0x2c]
call fcn.0041a09f
pop ecx
push dword [esp + 0x30]
push esi
push dword [esp + 0x30]
push dword [esp + 0x44]
call fcn.0040105a
add esp, 0x10
test al, al
je 0x403085
push str._ExtractArchive__Archive_signature_verified._n
jmp 0x4030b4
mov esi, 0x42fbd0
push esi
call fcn.0040855c
mov dword [esp], str._ExtractArchive__ERROR___unable_to_verify_signature_of_hash_of_archive._n
call fcn.0040855c
mov dword [esp], str._ExtractArchive__JWrapper_will_disregard_this_update._n
call fcn.0040855c
pop ecx
push dword [esp + 0x3c]
call fcn.00408036
pop ecx
push esi
call fcn.0040855c
pop ecx
push dword [esp + 0x24]
call fcn.00418492
pop ecx
mov ecx, dword [esp + 0x7dc]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00416fa4
mov esp, ebp
pop ebp
ret