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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffe0
sub esp, 0x7d4
mov eax, dword [0x435504]
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.00407f5c
add esp, 0xc
mov esi, 0x42eb0c
push esi
push dword [esp + 0x28]
call fcn.00418609
test eax, eax
pop ecx
pop ecx
mov dword [esp + 0x2c], eax
jne 0x402da0
push dword [esp + 0x24]
push str._ExtractArchive__Failed_to_extract_archive___couldnt_open_file__s_n
call fcn.00407f5c
pop ecx
pop ecx
push 1
call fcn.00417a4d
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.004027ea
add esp, 0x14
test eax, eax
je 0x402daa
push str._ExtractArchive__Done_extracting_archive._n
call fcn.00407f5c
pop ecx
push dword [esp + 0x2c]
call fcn.0041a385
cmp dword [esp + 0x24], 0xffffffff
pop ecx
je 0x40308a
push str._ExtractArchive__Pre_Alloc_n
call fcn.00407f5c
pop ecx
mov ebx, 0xc350
push ebx
call fcn.00416a80
mov dword [esp + 0x38], eax
mov dword [esp], str._ExtractArchive__Post_Alloc_n
call fcn.00407f5c
pop ecx
push esi
push dword [esp + 0x28]
call fcn.00418609
mov edi, eax
test edi, edi
pop ecx
pop ecx
mov dword [esp + 0x2c], edi
jne 0x402e33
push dword [esp + 0x24]
jmp 0x402d8d
push 0
push dword [esp + 0x24]
push edi
call fcn.00419f51
add esp, 0xc
push edi
call fcn.004077c3
pop ecx
push edi
call fcn.004077b2
mov dword [esp], str.jwArcSpBlock_DigitalSignature1
push eax
call fcn.00418c20
test eax, eax
pop ecx
pop ecx
je 0x402e6d
push str._ExtractArchive__Archive_INVALID.__Archive_signature_did_not_match_place_in_file__asb_name_mismatch__n
call fcn.00407f5c
pop ecx
push edi
call fcn.004077c3
pop ecx
push edi
call fcn.004077c3
cmp dword [esp + 0x24], eax
pop ecx
je 0x402e8c
push str._ExtractArchive__Archive_INVALID.__Archive_signature_did_not_match_place_in_file__len_mismatch__n
call fcn.00407f5c
pop ecx
push 0x1000
push edi
call fcn.00407746
push eax
push dword [esp + 0x28]
mov dword [esp + 0x38], eax
call fcn.00418c20
add esp, 0x10
test eax, eax
je 0x402eb7
push str._ExtractArchive__Archive_INVALID.__Archive_signature_did_not_match_place_in_file__sig_mismatch__n
call fcn.00407f5c
pop ecx
push dword [esp + 0x28]
call fcn.00416c10
mov esi, eax
shr esi, 1
inc esi
pop ecx
inc esi
push esi
call fcn.00416a80
pop ecx
push dword [esp + 0x28]
mov dword [esp + 0x3c], eax
push esi
push eax
call fcn.004079e3
add esp, 0xc
push eax
push str._ExtractArchive__Produced_a_signature_of_length__d_n
mov dword [esp + 0x30], eax
call fcn.00407f5c
push str._ExtractArchive__Starting_hash..._n
call fcn.00407f5c
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.00407f5c
pop ecx
push edi
call fcn.00418372
pop ecx
xor esi, esi
push esi
push esi
push edi
call fcn.00419f51
add esp, 0xc
test eax, eax
je 0x402f32
push str._ExtractArchive__fseek___Error___n
jmp 0x402f37
push str._ExtractArhive__At_start_of_file._n
call fcn.00407f5c
cmp dword [esp + 0x24], 0
mov dword [esp + 0x20], esi
pop ecx
mov esi, str.mixed
jle 0x402f9e
jmp 0x402f54
mov ebx, 0xc350
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x1c]
cmp eax, ebx
jle 0x402f62
mov eax, ebx
push edi
push eax
push 1
push dword [esp + 0x40]
call fcn.00418bf7
push esi
mov ebx, eax
call fcn.0040b3a0
imul eax, eax, 0x68
add esp, 0x14
push ebx
push dword [esp + 0x38]
lea ecx, [esp + 0x48]
push ecx
call dword [eax + 0x436dc0]
add dword [esp + 0x28], ebx
mov eax, dword [esp + 0x28]
add esp, 0xc
cmp eax, dword [esp + 0x20]
jl 0x402f4f
push str._ExtractArchive__Completed_hash_n
call fcn.00407f5c
pop ecx
push esi
call fcn.0040b3a0
pop ecx
push 0x40
mov esi, eax
call fcn.00416a80
imul esi, esi, 0x68
pop ecx
mov edi, eax
lea eax, [esp + 0x40]
push edi
push eax
call dword [esi + 0x436dc4]
mov esi, eax
neg esi
sbb esi, esi
not esi
and esi, edi
mov edi, 0x80
push edi
call fcn.00416a80
add esp, 0xc
push edi
xor edi, edi
mov ebx, eax
push edi
push ebx
call fcn.00418920
add esp, 0xc
mov dword [esp + 0x1c], ebx
movzx eax, byte [edi + esi]
push eax
push str._02x
push dword [esp + 0x24]
call fcn.004176b2
add dword [esp + 0x28], 2
add esp, 0xc
inc edi
cmp edi, 0x20
jl 0x402ff6
push ebx
push str._ExtractArchive__Produced_hash:__s_n
call fcn.00407f5c
push ebx
call fcn.004169a3
add esp, 0xc
push dword [esp + 0x2c]
call fcn.0041a385
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 0x403055
push str._ExtractArchive__Archive_signature_verified._n
jmp 0x403084
mov esi, 0x42fc70
push esi
call fcn.00407f5c
mov dword [esp], str._ExtractArchive__ERROR___unable_to_verify_signature_of_hash_of_archive._n
call fcn.00407f5c
mov dword [esp], str._ExtractArchive__JWrapper_will_disregard_this_update._n
call fcn.00407f5c
pop ecx
push dword [esp + 0x3c]
call fcn.00407a36
pop ecx
push esi
call fcn.00407f5c
pop ecx
push dword [esp + 0x24]
call fcn.0041851b
pop ecx
mov ecx, dword [esp + 0x7dc]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00416994
mov esp, ebp
pop ebp
ret