Function at 0x412cc0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
push esi
mov ebx, ecx
push edi
push dword [ebx + 0xc]
call fcn.00417c50
push 0x2c
mov dword [ebp - 8], eax
call fcn.004155eb
test eax, eax
pop ecx
pop ecx
je 0x412cec
mov ecx, eax
call fcn.00414098
jmp 0x412cee
xor eax, eax
mov ecx, dword [ebx + 0x20]
or ecx, 0x404
push ecx
push dword [ebx + 8]
mov ecx, eax
mov dword [ebx + 4], eax
call fcn.0041410e
test al, al
je 0x412e0a
mov ecx, dword [ebx + 4]
and dword [ebx + 0x18], 0
call fcn.004144ad
mov ecx, dword [ebx + 4]
add eax, 0xffffffea
push eax
call fcn.004143e5
test al, al
je 0x412d7c
mov ecx, dword [ebx + 4]
push 4
lea eax, [ebp - 4]
push eax
call fcn.004142e1
test eax, eax
je 0x412e0a
mov eax, dword [ebp - 4]
cmp eax, 0x6054b50
je 0x412d50
cmp eax, 0x6054552
jne 0x412d7c
mov ecx, dword [ebx + 4]
mov dword [ebx + 0x24], eax
push 0x12
lea eax, [ebp - 0x24]
push eax
call fcn.004142e1
test eax, eax
je 0x412e0a
movzx eax, word [ebp - 0x1e]
mov edi, dword [ebp - 0x18]
cmp edi, 0xffffffff
mov dword [ebx + 0x18], eax
jne 0x412e78
mov ecx, dword [ebx + 4]
push 4
lea eax, [ebp - 4]
push eax
call fcn.004142e1
test eax, eax
je 0x412e0a
mov esi, 0x2014b50
jmp 0x412dde
cmp dword [ebp - 4], 0x4034b50
jne 0x412dfb
mov ecx, dword [ebx + 4]
push 0x1a
lea eax, [ebp - 0x40]
push eax
call fcn.004142e1
test eax, eax
je 0x412e0a
movzx ecx, word [ebp - 0x28]
movzx eax, word [ebp - 0x2a]
mov edx, dword [ebp - 0x32]
add edx, ecx
mov ecx, dword [ebx + 4]
add eax, edx
push eax
call fcn.004143d4
test al, al
je 0x412e0a
mov ecx, dword [ebx + 4]
push 4
lea eax, [ebp - 4]
push eax
call fcn.004142e1
test eax, eax
je 0x412e0a
cmp dword [ebp - 4], esi
jne 0x412d95
mov ecx, dword [ebx + 4]
call fcn.0041449d
mov edi, eax
sub edi, 4
cmp dword [ebp - 4], 0x6054b50
je 0x412e78
jmp 0x412e1d
push str..EXE
push dword [ebx + 8]
call fcn.00417430
pop ecx
pop ecx
mov ecx, ebx
call fcn.00413111
xor al, al
jmp 0x413005
mov esi, 0x2014b50
cmp dword [ebp - 4], 0x6054552
je 0x412e78
cmp dword [ebp - 4], esi
jne 0x412e0a
mov ecx, dword [ebx + 4]
inc dword [ebx + 0x18]
push 0x2a
lea eax, [ebp - 0x6c]
push eax
call fcn.004142e1
test eax, eax
je 0x412e0a
movzx ecx, word [ebp - 0x52]
movzx eax, word [ebp - 0x50]
add eax, ecx
movzx ecx, word [ebp - 0x54]
add eax, ecx
mov ecx, dword [ebx + 4]
push eax
call fcn.004143d4
test al, al
je 0x412e0a
mov ecx, dword [ebx + 4]
push 4
lea eax, [ebp - 4]
push eax
call fcn.004142e1
test eax, eax
je 0x412e0a
cmp dword [ebp - 4], 0x6054b50
jne 0x412e18
mov esi, dword [ebx + 0x18]
lea eax, [esi + esi*2]
shl eax, 4
add eax, 4
push eax
call fcn.004177e5
test eax, eax
pop ecx
je 0x412eb1
mov dword [eax], esi
dec esi
test esi, esi
lea ecx, [eax + 4]
mov eax, ecx
jl 0x412ead
inc esi
and dword [eax], 0
and byte [eax + 0x2e], 0
and byte [eax + 0x2f], 0
add eax, 0x30
dec esi
jne 0x412e9c
mov eax, ecx
jmp 0x412eb3
xor eax, eax
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0x18]
shl eax, 2
push eax
call fcn.004177e5
pop ecx
mov ecx, dword [ebx + 4]
add edi, 4
push edi
mov dword [ebx + 0x14], eax
mov dword [ebp - 4], 0x2014b50
call fcn.004143e5
xor edi, edi
cmp dword [ebp - 4], 0x6054b50
mov dword [ebp - 0xc], edi
je 0x412feb
mov dword [ebp - 0x10], edi
jmp 0x412ef3
mov edi, dword [ebp - 0x10]
cmp dword [ebp - 4], 0x6054552
je 0x412feb
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebx + 0x18]
jae 0x412feb
cmp dword [ebp - 4], 0x2014b50
jne 0x412e0a
mov ecx, dword [ebx + 4]
push 0x2a
lea eax, [ebp - 0x6c]
push eax
call fcn.004142e1
test eax, eax
je 0x412e0a
movzx esi, word [ebp - 0x54]
add esi, dword [ebp - 8]
lea eax, [esi + 1]
push eax
call fcn.004177e5
pop ecx
mov ecx, dword [ebx + 0x10]
mov dword [edi + ecx], eax
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x412f61
cmp dword [ebp - 8], 0
jbe 0x412f61
push eax
mov eax, dword [ebx + 0x10]
push dword [edi + eax]
call fcn.00417cd0
pop ecx
pop ecx
movzx eax, word [ebp - 0x54]
mov ecx, dword [ebx + 4]
push eax
mov eax, dword [ebx + 0x10]
mov eax, dword [edi + eax]
add eax, dword [ebp - 8]
push eax
call fcn.004142e1
movzx ecx, word [ebp - 0x54]
cmp eax, ecx
jne 0x412e0a
cmp word [ebp - 0x66], 0
jne 0x41300a
mov eax, dword [ebx + 0x10]
mov eax, dword [edi + eax]
and byte [esi + eax], 0
mov eax, dword [ebx + 0x10]
lea edi, [edi + eax + 4]
push 0xa
pop ecx
lea esi, [ebp - 0x6c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movzx ecx, word [ebp - 0x52]
movzx eax, word [ebp - 0x50]
add eax, ecx
mov ecx, dword [ebx + 4]
push eax
call fcn.004143d4
test al, al
je 0x412e0a
mov ecx, dword [ebx + 4]
push 4
lea eax, [ebp - 4]
push eax
call fcn.004142e1
test eax, eax
je 0x412e0a
inc dword [ebp - 0xc]
add dword [ebp - 0x10], 0x30
cmp dword [ebp - 4], 0x6054b50
jne 0x412ef0
mov ecx, ebx
mov byte [ebx], 1
call fcn.00413731
cmp byte [ebx + 2], 0
jne 0x413003
mov ecx, dword [ebx + 4]
mov eax, dword [ecx]
call dword [eax + 4]
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
lea ecx, [ebp - 0x10]
call fcn.00414d97
push dword [ebx + 8]
lea eax, [ebp - 0x10]
push str._s_has_been_created_using_an_unsupported_type_of_compression.__All_zip_archives_must_be_created_with_compression_set_to_none_or_a_type_of_compression_supported_by_the_game_engine.
push eax
call fcn.00415134
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.004151c9
push eax
push 0x4313b8
call fcn.00414bc2
pop ecx
pop ecx
push 0xffffffffffffffff
call fcn.00418fe4