Function at 0x402d47
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.00408291
add esp, 0xc
mov esi, 0x42fb1c
push esi
push dword [esp + 0x28]
call fcn.00418939
test eax, eax
pop ecx
pop ecx
mov dword [esp + 0x2c], eax
jne 0x402dbb
push dword [esp + 0x24]
push str._ExtractArchive__Failed_to_extract_archive___couldnt_open_file__s_n
call fcn.00408291
pop ecx
pop ecx
push 1
call fcn.00417d7d
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 0x402dc5
push str._ExtractArchive__Done_extracting_archive._n
call fcn.00408291
pop ecx
push dword [esp + 0x2c]
call fcn.0041a6b5
cmp dword [esp + 0x24], 0xffffffff
pop ecx
je 0x4030a5
push str._ExtractArchive__Pre_Alloc_n
call fcn.00408291
pop ecx
mov ebx, 0xc350
push ebx
call fcn.00416db0
mov dword [esp + 0x38], eax
mov dword [esp], str._ExtractArchive__Post_Alloc_n
call fcn.00408291
pop ecx
push esi
push dword [esp + 0x28]
call fcn.00418939
mov edi, eax
test edi, edi
pop ecx
pop ecx
mov dword [esp + 0x2c], edi
jne 0x402e4e
push dword [esp + 0x24]
jmp 0x402da8
push 0
push dword [esp + 0x24]
push edi
call fcn.0041a281
add esp, 0xc
push edi
call fcn.00407af8
pop ecx
push edi
call fcn.00407ae7
mov dword [esp], str.jwArcSpBlock_DigitalSignature1
push eax
call fcn.00418f50
test eax, eax
pop ecx
pop ecx
je 0x402e88
push str._ExtractArchive__Archive_INVALID.__Archive_signature_did_not_match_place_in_file__asb_name_mismatch__n
call fcn.00408291
pop ecx
push edi
call fcn.00407af8
pop ecx
push edi
call fcn.00407af8
cmp dword [esp + 0x24], eax
pop ecx
je 0x402ea7
push str._ExtractArchive__Archive_INVALID.__Archive_signature_did_not_match_place_in_file__len_mismatch__n
call fcn.00408291
pop ecx
push 0x1000
push edi
call fcn.00407a7b
push eax
push dword [esp + 0x28]
mov dword [esp + 0x38], eax
call fcn.00418f50
add esp, 0x10
test eax, eax
je 0x402ed2
push str._ExtractArchive__Archive_INVALID.__Archive_signature_did_not_match_place_in_file__sig_mismatch__n
call fcn.00408291
pop ecx
push dword [esp + 0x28]
call fcn.00416f40
mov esi, eax
shr esi, 1
inc esi
pop ecx
inc esi
push esi
call fcn.00416db0
pop ecx
push dword [esp + 0x28]
mov dword [esp + 0x3c], eax
push esi
push eax
call fcn.00407d18
add esp, 0xc
push eax
push str._ExtractArchive__Produced_a_signature_of_length__d_n
mov dword [esp + 0x30], eax
call fcn.00408291
push str._ExtractArchive__Starting_hash..._n
call fcn.00408291
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.00408291
pop ecx
push edi
call fcn.004186a2
pop ecx
xor esi, esi
push esi
push esi
push edi
call fcn.0041a281
add esp, 0xc
test eax, eax
je 0x402f4d
push str._ExtractArchive__fseek___Error___n
jmp 0x402f52
push str._ExtractArhive__At_start_of_file._n
call fcn.00408291
cmp dword [esp + 0x24], 0
mov dword [esp + 0x20], esi
pop ecx
mov esi, str.mixed
jle 0x402fb9
jmp 0x402f6f
mov ebx, 0xc350
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x1c]
cmp eax, ebx
jle 0x402f7d
mov eax, ebx
push edi
push eax
push 1
push dword [esp + 0x40]
call fcn.00418f27
push esi
mov ebx, eax
call fcn.0040b6d0
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 0x402f6a
push str._ExtractArchive__Completed_hash_n
call fcn.00408291
pop ecx
push esi
call fcn.0040b6d0
pop ecx
push 0x40
mov esi, eax
call fcn.00416db0
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.00416db0
add esp, 0xc
push edi
xor edi, edi
mov ebx, eax
push edi
push ebx
call fcn.00418c50
add esp, 0xc
mov dword [esp + 0x1c], ebx
movzx eax, byte [edi + esi]
push eax
push str._02x
push dword [esp + 0x24]
call fcn.004179e2
add dword [esp + 0x28], 2
add esp, 0xc
inc edi
cmp edi, 0x20
jl 0x403011
push ebx
push str._ExtractArchive__Produced_hash:__s_n
call fcn.00408291
push ebx
call fcn.00416cd3
add esp, 0xc
push dword [esp + 0x2c]
call fcn.0041a6b5
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 0x403070
push str._ExtractArchive__Archive_signature_verified._n
jmp 0x40309f
mov esi, 0x430bb8
push esi
call fcn.00408291
mov dword [esp], str._ExtractArchive__ERROR___unable_to_verify_signature_of_hash_of_archive._n
call fcn.00408291
mov dword [esp], str._ExtractArchive__JWrapper_will_disregard_this_update._n
call fcn.00408291
pop ecx
push dword [esp + 0x3c]
call fcn.00407d6b
pop ecx
push esi
call fcn.00408291
pop ecx
push dword [esp + 0x24]
call fcn.0041884b
pop ecx
mov ecx, dword [esp + 0x7dc]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00416cc4
mov esp, ebp
pop ebp
ret