Function at 0x402d57
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.004083fe
add esp, 0xc
mov esi, 0x42fb1c
push esi
push dword [esp + 0x28]
call fcn.00418aa9
test eax, eax
pop ecx
pop ecx
mov dword [esp + 0x2c], eax
jne 0x402dcb
push dword [esp + 0x24]
push str._ExtractArchive__Failed_to_extract_archive___couldnt_open_file__s_n
call fcn.004083fe
pop ecx
pop ecx
push 1
call fcn.00417eed
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.004027ef
add esp, 0x14
test eax, eax
je 0x402dd5
push str._ExtractArchive__Done_extracting_archive._n
call fcn.004083fe
pop ecx
push dword [esp + 0x2c]
call fcn.0041a825
cmp dword [esp + 0x24], 0xffffffff
pop ecx
je 0x4030b5
push str._ExtractArchive__Pre_Alloc_n
call fcn.004083fe
pop ecx
mov ebx, 0xc350
push ebx
call fcn.00416f20
mov dword [esp + 0x38], eax
mov dword [esp], str._ExtractArchive__Post_Alloc_n
call fcn.004083fe
pop ecx
push esi
push dword [esp + 0x28]
call fcn.00418aa9
mov edi, eax
test edi, edi
pop ecx
pop ecx
mov dword [esp + 0x2c], edi
jne 0x402e5e
push dword [esp + 0x24]
jmp 0x402db8
push 0
push dword [esp + 0x24]
push edi
call fcn.0041a3f1
add esp, 0xc
push edi
call fcn.00407c65
pop ecx
push edi
call fcn.00407c54
mov dword [esp], str.jwArcSpBlock_DigitalSignature1
push eax
call fcn.004190c0
test eax, eax
pop ecx
pop ecx
je 0x402e98
push str._ExtractArchive__Archive_INVALID.__Archive_signature_did_not_match_place_in_file__asb_name_mismatch__n
call fcn.004083fe
pop ecx
push edi
call fcn.00407c65
pop ecx
push edi
call fcn.00407c65
cmp dword [esp + 0x24], eax
pop ecx
je 0x402eb7
push str._ExtractArchive__Archive_INVALID.__Archive_signature_did_not_match_place_in_file__len_mismatch__n
call fcn.004083fe
pop ecx
push 0x1000
push edi
call fcn.00407be8
push eax
push dword [esp + 0x28]
mov dword [esp + 0x38], eax
call fcn.004190c0
add esp, 0x10
test eax, eax
je 0x402ee2
push str._ExtractArchive__Archive_INVALID.__Archive_signature_did_not_match_place_in_file__sig_mismatch__n
call fcn.004083fe
pop ecx
push dword [esp + 0x28]
call fcn.004170b0
mov esi, eax
shr esi, 1
inc esi
pop ecx
inc esi
push esi
call fcn.00416f20
pop ecx
push dword [esp + 0x28]
mov dword [esp + 0x3c], eax
push esi
push eax
call fcn.00407e85
add esp, 0xc
push eax
push str._ExtractArchive__Produced_a_signature_of_length__d_n
mov dword [esp + 0x30], eax
call fcn.004083fe
push str._ExtractArchive__Starting_hash..._n
call fcn.004083fe
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.004083fe
pop ecx
push edi
call fcn.00418812
pop ecx
xor esi, esi
push esi
push esi
push edi
call fcn.0041a3f1
add esp, 0xc
test eax, eax
je 0x402f5d
push str._ExtractArchive__fseek___Error___n
jmp 0x402f62
push str._ExtractArhive__At_start_of_file._n
call fcn.004083fe
cmp dword [esp + 0x24], 0
mov dword [esp + 0x20], esi
pop ecx
mov esi, str.mixed
jle 0x402fc9
jmp 0x402f7f
mov ebx, 0xc350
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x1c]
cmp eax, ebx
jle 0x402f8d
mov eax, ebx
push edi
push eax
push 1
push dword [esp + 0x40]
call fcn.00419097
push esi
mov ebx, eax
call fcn.0040b840
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 0x402f7a
push str._ExtractArchive__Completed_hash_n
call fcn.004083fe
pop ecx
push esi
call fcn.0040b840
pop ecx
push 0x40
mov esi, eax
call fcn.00416f20
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.00416f20
add esp, 0xc
push edi
xor edi, edi
mov ebx, eax
push edi
push ebx
call fcn.00418dc0
add esp, 0xc
mov dword [esp + 0x1c], ebx
movzx eax, byte [edi + esi]
push eax
push str._02x
push dword [esp + 0x24]
call fcn.00417b52
add dword [esp + 0x28], 2
add esp, 0xc
inc edi
cmp edi, 0x20
jl 0x403021
push ebx
push str._ExtractArchive__Produced_hash:__s_n
call fcn.004083fe
push ebx
call fcn.00416e43
add esp, 0xc
push dword [esp + 0x2c]
call fcn.0041a825
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 0x403080
push str._ExtractArchive__Archive_signature_verified._n
jmp 0x4030af
mov esi, 0x430be0
push esi
call fcn.004083fe
mov dword [esp], str._ExtractArchive__ERROR___unable_to_verify_signature_of_hash_of_archive._n
call fcn.004083fe
mov dword [esp], str._ExtractArchive__JWrapper_will_disregard_this_update._n
call fcn.004083fe
pop ecx
push dword [esp + 0x3c]
call fcn.00407ed8
pop ecx
push esi
call fcn.004083fe
pop ecx
push dword [esp + 0x24]
call fcn.004189bb
pop ecx
mov ecx, dword [esp + 0x7dc]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00416e34
mov esp, ebp
pop ebp
ret