Function at 0x402930
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x230
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x1cc], esi
mov dword [esp + 0x1c8], edi
sub esp, 0x14
movsd xmm0, qword [esp + 0x1dc]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0x11c]
mov dword [esp], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
call fcn.00410a42
add esp, 0x14
test byte [esp + 0x110], 1
jne 0x402a83
mov ecx, dword [esp + 0x108]
mov eax, dword [ecx + 4]
test ecx, ecx
mov dword [esp + 0xc], ecx
je 0x402aec
test eax, eax
jne 0x402aec
mov dword [esp + 0x1d0], 0
lea eax, [esp + 0x1d0]
lea ecx, [esp + 0x48]
push 1
push eax
mov esi, dword [esp + 0x14]
push esi
call fcn.00410af0
lea ecx, [esp + 0xb0]
push esi
call fcn.00410b08
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
movzx ecx, word [esp + 0x58]
mov ebx, dword [esp + 0x5c]
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x54], edi
mov edi, dword [esp + 0xb4]
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0xb8]
mov dword [esp + 8], eax
mov word [esp + 0x58], cx
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x10], eax
test esi, esi
mov dword [esp + 0x44], esi
je 0x402a51
mov eax, dword [esi]
lea ecx, [esp + 0xb0]
push esi
call dword [eax]
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x5c], ebx
test edi, edi
mov dword [esp + 0xa8], edi
je 0x403ad3
mov eax, dword [edi]
lea ecx, [esp + 0xb0]
push edi
call dword [eax]
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xa4], eax
jmp 0x403ade
mov eax, dword [esp + 0x108]
mov dword [esp + 0x108], 0
mov dword [esp + 0x174], eax
mov dword [esp + 0x1c4], 0
mov dword [esp + 0x1c0], 0
sub esp, 0xc
movsd xmm0, qword [esp + 0x1cc]
movsd qword [esp + 4], xmm0
mov dword [esp], esi
lea ecx, [esp + 0x180]
mov edx, edi
call fcn.00405f90
add esp, 0xc
mov ecx, dword [esp + 0x174]
test ecx, ecx
jne 0x4040ee
jmp 0x4040f3
cmp dword [esp + 0xc], 0
je 0x403a5d
cmp eax, 1
jne 0x403a5d
cmp byte [0x415a90], 0
je 0x404154
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0xb0]
push 0
push edx
call fcn.00410a5a
lea ecx, [esp + 0x1d0]
push 0
push 0
call fcn.00410a5a
mov eax, dword [esp + 0xb0]
cmp eax, dword [esp + 0x1d0]
jne 0x402b5b
mov eax, dword [esp + 0x1d4]
cmp dword [esp + 0xb4], eax
je 0x4040f3
lea esi, [esp + 0x48]
nop
mov ecx, esi
lea eax, [esp + 0xb0]
push eax
call fcn.00410ae4
mov edi, dword [esp + 0x48]
test byte [esp + 0x4c], 1
jne 0x402bd0
test edi, edi
je 0x4039c7
mov ebx, dword [edi + 4]
add ebx, 0xffffffef
mov eax, dword [0x415a44]
cmp eax, 1
jne 0x402d91
mov dword [esp + 8], ebx
call fcn.00410a3c
mov ebx, eax
mov ecx, edi
call fcn.00410aea
mov esi, edx
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
sub edx, ecx
cmp edx, esi
jae 0x402ec1
mov ecx, ebx
push esi
push eax
call fcn.004109e2
mov ebx, eax
mov ecx, dword [eax + 0x10]
jmp 0x402ed8
mov dword [esp + 0x130], edi
lea eax, [esp + 0x130]
push eax
lea eax, [esp + 0x8c]
push eax
call fcn.00410a60
add esp, 8
mov ecx, dword [esp + 0x130]
test ecx, ecx
je 0x402bff
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x88]
test eax, eax
mov dword [esp + 0x44], eax
je 0x402cb3
mov dword [esp + 0xfc], eax
mov dword [esp + 0x88], 0
lea eax, [ebp + 8]
mov edi, dword [eax]
mov esi, dword [eax + 4]
cmp dword [esp + 0x10], 1
jbe 0x402dee
lea ecx, [esp + 0x48]
lea eax, [esp + 0xb0]
push eax
call fcn.00409700
movzx eax, byte [esp + 0x48]
mov ecx, eax
shr ecx, 1
test al, 1
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x49]
cmove eax, edx
mov dword [esp + 0x128], eax
cmovne ecx, dword [esp + 0x4c]
mov dword [esp + 0x12c], ecx
sub esp, 0xc
movsd xmm0, qword [esp + 0x134]
movsd qword [esp + 4], xmm0
mov dword [esp], esi
lea ecx, [esp + 0x108]
mov edx, edi
call fcn.00405f90
add esp, 0xc
test byte [esp + 0x48], 1
je 0x402e2a
push dword [esp + 0x50]
call sub.libc.dll_operator_delete_void_
add esp, 4
jmp 0x402e2a
lea ecx, [esp + 0x30]
lea eax, [esp + 0xb0]
push eax
call fcn.00410ade
test byte [esp + 0x34], 1
jne 0x402e5e
mov dword [esp + 0x3c], 0
mov ecx, esi
mov esi, dword [esp + 0x30]
push 1
lea eax, [esp + 0x40]
push eax
push esi
call fcn.00410af0
lea ecx, [esp + 0x18]
push esi
call fcn.00410b08
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
movzx ecx, word [esp + 0x58]
mov esi, dword [esp + 0x5c]
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x54], edi
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xa8], eax
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0x20]
mov dword [esp + 8], eax
mov word [esp + 0x58], cx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xc], ecx
test ebx, ebx
mov dword [esp + 0xa4], ebx
je 0x402d63
mov eax, dword [ebx]
lea ecx, [esp + 0x18]
push dword [esp + 0xa4]
call dword [eax]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x5c], esi
mov ecx, dword [esp + 0xa8]
test ecx, ecx
je 0x402fa1
mov eax, dword [ecx]
mov edx, ecx
lea ecx, [esp + 0x18]
push edx
call dword [eax]
mov eax, dword [esp + 0x18]
mov dword [esp + 0xac], eax
jmp 0x402fac
cmp ebx, 3
ja 0x403870
cmp eax, 2
jne 0x403870
cmp dword [esp + 0x10], 1
ja 0x402db7
cmp byte [0x415a60], 0
je 0x403852
mov dword [esp + 8], ebx
call fcn.00410a3c
mov ebx, eax
mov ecx, edi
call fcn.00410aea
mov esi, edx
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
sub edx, ecx
cmp edx, esi
jae 0x403798
mov ecx, ebx
push esi
push eax
call fcn.004109e2
mov ebx, eax
mov ecx, dword [eax + 0x10]
jmp 0x4037af
mov dword [esp + 0x12c], 0
mov dword [esp + 0x128], 0
sub esp, 0xc
movsd xmm0, qword [esp + 0x134]
movsd qword [esp + 4], xmm0
mov dword [esp], esi
lea ecx, [esp + 0x108]
mov edx, edi
call fcn.00405f90
add esp, 0xc
lea esi, [esp + 0x48]
mov ecx, dword [esp + 0xfc]
test ecx, ecx
je 0x402e3e
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x402e4e
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esp + 0x44], 0
je 0x4039c7
jmp 0x4040f3
mov eax, dword [esp + 0x30]
mov dword [esp + 0x30], 0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.00409bb0
add esp, 0xc
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x402e91
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0x90]
lea eax, [esp + 0xb0]
push eax
call fcn.00409700
movzx eax, byte [esp + 0x90]
test al, 1
je 0x402f1d
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x94]
jmp 0x402f26
test esi, esi
je 0x402ed8
push esi
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [ebx + 0x10]
add ecx, esi
mov dword [ebx + 0x10], ecx
mov eax, dword [ebx + 0xc]
sub eax, ecx
cmp eax, 3
lea esi, [esp + 0x48]
ja 0x402ef6
mov ecx, ebx
push 4
push str.__:_n
call fcn.004109e2
jmp 0x402f00
mov dword [ecx], 0xa3a2020
add dword [ebx + 0x10], 4
mov ebx, dword [esp + 8]
mov ecx, edi
call fcn.004068e0
cmp dword [0x415a44], 0
jne 0x4039c0
jmp 0x403884
shr eax, 1
lea ecx, [esp + 0x91]
lea edx, [esp + 0x18]
mov word [esp + 0x28], 0x503
mov dword [esp + 0x18], str.mach_o_universal_file_for_architecture
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x50], str._is_not_a_mach_o_file_or_an_archive_file
mov word [esp + 0x58], 0x302
lea eax, [ebp + 8]
movsd xmm0, qword [eax]
movsd qword [esp + 0x214], xmm0
sub esp, 8
movsd xmm0, qword [esp + 0x21c]
movsd qword [esp], xmm0
mov ecx, esi
call fcn.00402740
add esp, 8
test byte [esp + 0x90], 1
je 0x40377a
push dword [esp + 0x98]
call sub.libc.dll_operator_delete_void_
add esp, 4
jmp 0x40377a
mov dword [esp + 0xac], 0
lea esi, [esp + 0x48]
jmp 0x402fc7
mov ecx, esi
call fcn.00409640
mov eax, dword [esp + 0x50]
cmp dword [esp + 0x5c], 3
ja 0x402fdd
cmp dword [esp + 0xc], 4
jb 0x4036bc
cmp eax, dword [esp + 8]
je 0x4036bc
lea ecx, [esp + 0x90]
push 0
push esi
call fcn.00410af6
test byte [esp + 0x94], 1
jne 0x403070
mov edi, dword [esp + 0x90]
test edi, edi
je 0x403430
mov ebx, dword [edi + 4]
lea eax, [ebx - 0x17]
cmp eax, 0xfffffff3
jb 0x403430
add ebx, 0xffffffef
mov eax, dword [0x415a44]
cmp eax, 1
jne 0x4031bc
mov dword [esp + 0x14], ebx
call fcn.00410a3c
mov ebx, eax
mov ecx, edi
call fcn.00410aea
mov esi, edx
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
sub edx, ecx
cmp edx, esi
jae 0x403207
mov ecx, ebx
push esi
push eax
call fcn.004109e2
mov ebx, eax
mov ecx, dword [eax + 0x10]
jmp 0x40321e
mov eax, dword [esp + 0x90]
mov dword [esp + 0x90], 0
mov dword [esp + 0x124], eax
lea eax, [esp + 0x124]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00410a60
add esp, 8
mov ecx, dword [esp + 0x124]
test ecx, ecx
je 0x4030ae
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x403430
mov dword [esp + 0xf8], eax
mov dword [esp + 0x40], 0
mov ecx, dword [esp + 0x30]
call fcn.00410aea
mov edi, eax
mov ebx, edx
cmp dword [esp + 0x10], 1
jbe 0x403156
lea ecx, [esp + 0x18]
lea eax, [esp + 0xb0]
push eax
call fcn.00409700
movzx eax, byte [esp + 0x18]
mov ecx, eax
shr ecx, 1
test al, 1
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x19]
cmove eax, edx
mov dword [esp + 0x11c], eax
cmovne ecx, dword [esp + 0x1c]
mov dword [esp + 0x120], ecx
sub esp, 0x10
movsd xmm0, qword [esp + 0x12c]
movsd qword [esp + 8], xmm0
mov dword [esp + 4], esi
mov dword [esp], ebx
lea ecx, [esp + 0x108]
mov edx, edi
call fcn.00406300
add esp, 0x10
test byte [esp + 0x18], 1
je 0x403196
push dword [esp + 0x20]
call sub.libc.dll_operator_delete_void_
add esp, 4
jmp 0x403196
mov dword [esp + 0x120], 0
mov dword [esp + 0x11c], 0
sub esp, 0x10
movsd xmm0, qword [esp + 0x12c]
movsd qword [esp + 8], xmm0
mov dword [esp + 4], esi
mov dword [esp], ebx
lea ecx, [esp + 0x108]
mov edx, edi
call fcn.00406300
add esp, 0x10
mov ecx, dword [esp + 0xf8]
test ecx, ecx
je 0x4031a6
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x403430
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x403430
cmp ebx, 3
ja 0x403420
cmp eax, 2
jne 0x403420
mov dword [esp + 0x14], ebx
call fcn.00410a3c
mov ebx, eax
mov ecx, dword [esp + 0x30]
call fcn.00410aea
mov esi, edx
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
sub edx, ecx
cmp edx, esi
jae 0x4032c4
mov ecx, ebx
push esi
push eax
call fcn.004109e2
mov ebx, eax
mov ecx, dword [eax + 0x10]
jmp 0x4032db
test esi, esi
je 0x40321e
push esi
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [ebx + 0x10]
add ecx, esi
mov dword [ebx + 0x10], ecx
mov eax, dword [ebx + 0xc]
sub eax, ecx
cmp eax, 6
ja 0x40323a
mov ecx, ebx
push 7
push str.____ex
call fcn.004109e2
mov ebx, eax
jmp 0x40324b
mov dword [ecx + 3], 0x20786528
mov dword [ecx], 0x28202020
add dword [ebx + 0x10], 7
mov ecx, dword [esp + 0x30]
call fcn.00410aea
mov esi, edx
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
sub edx, ecx
cmp edx, esi
jae 0x403272
mov ecx, ebx
push esi
push eax
call fcn.004109e2
mov ebx, eax
mov ecx, dword [eax + 0x10]
jmp 0x403289
test esi, esi
je 0x403289
push esi
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [ebx + 0x10]
add ecx, esi
mov dword [ebx + 0x10], ecx
mov eax, dword [ebx + 0xc]
sub eax, ecx
cmp eax, 2
lea esi, [esp + 0x48]
ja 0x4032ae
mov ecx, ebx
push 3
push 0x411870
call fcn.004109e2
mov ebx, dword [esp + 0x14]
jmp 0x403420
mov byte [ecx + 2], 0xa
mov word [ecx], 0x3a29
add dword [ebx + 0x10], 3
mov ebx, dword [esp + 0x14]
jmp 0x403420
test esi, esi
je 0x4032db
push esi
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [ebx + 0x10]
add ecx, esi
mov dword [ebx + 0x10], ecx
cmp dword [ebx + 0xc], ecx
je 0x4032e8
mov byte [ecx], 0x28
inc dword [ebx + 0x10]
jmp 0x4032f8
mov ecx, ebx
push 1
push 0x411874
call fcn.004109e2
mov ebx, eax
mov ecx, edi
call fcn.00410aea
mov esi, edx
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
sub edx, ecx
cmp edx, esi
jae 0x40331d
mov ecx, ebx
push esi
push eax
call fcn.004109e2
mov ebx, eax
mov ecx, dword [eax + 0x10]
jmp 0x403334
test esi, esi
je 0x403334
push esi
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [ebx + 0x10]
add ecx, esi
mov dword [ebx + 0x10], ecx
cmp dword [ebx + 0xc], ecx
lea esi, [esp + 0x48]
je 0x403363
mov byte [ecx], 0x29
mov eax, dword [ebx + 0x10]
inc eax
mov dword [ebx + 0x10], eax
mov ecx, dword [ebx + 0xc]
sub ecx, eax
cmp ecx, 0x12
ja 0x403380
mov ecx, ebx
push 0x13
push str.__for_architecture
call fcn.004109e2
mov ebx, eax
jmp 0x403395
mov ecx, ebx
push 1
push 0x41189d
call fcn.004109e2
mov ebx, eax
mov eax, dword [eax + 0x10]
mov ecx, dword [ebx + 0xc]
sub ecx, eax
cmp ecx, 0x12
jbe 0x403351
movups xmm0, xmmword [str.__for_architecture]
movups xmmword [eax], xmm0
mov dword [eax + 0xf], 0x20657275
add dword [ebx + 0x10], 0x13
lea ecx, [esp + 0x18]
lea eax, [esp + 0xb0]
push eax
call fcn.00409700
movzx eax, byte [esp + 0x18]
test al, 1
je 0x4033b9
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
jmp 0x4033bf
shr eax, 1
lea edx, [esp + 0x19]
mov ecx, ebx
push eax
push edx
call fcn.004109e2
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
sub edx, ecx
cmp edx, 2
ja 0x4033f0
mov ecx, eax
push 3
push 0x411870
call fcn.004109e2
mov ebx, dword [esp + 0x14]
test byte [esp + 0x18], 1
jne 0x403408
jmp 0x403420
mov byte [ecx + 2], 0xa
mov word [ecx], 0x3a29
add dword [eax + 0x10], 3
mov ebx, dword [esp + 0x14]
test byte [esp + 0x18], 1
je 0x403420
push dword [esp + 0x20]
call sub.libc.dll_operator_delete_void_
add esp, 4
nop word cs:[eax + eax]
mov ecx, edi
call fcn.004068e0
cmp dword [0x415a44], 0
je 0x40345c
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x90], 0
test byte [esp + 0x94], 1
test ecx, ecx
je 0x402fc0
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x402fc0
call fcn.00410a3c
mov ecx, ebx
mov ebx, eax
cmp ecx, 3
ja 0x403491
mov ecx, dword [esp + 0x30]
call fcn.00410aea
mov esi, edx
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
sub edx, ecx
cmp edx, esi
jae 0x4034b6
mov ecx, ebx
push esi
push eax
call fcn.004109e2
mov ebx, eax
mov ecx, dword [eax + 0x10]
jmp 0x4034cd
mov ecx, edi
call fcn.00410aea
mov esi, edx
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
sub edx, ecx
cmp edx, esi
jae 0x4034e1
mov ecx, ebx
push esi
push eax
call fcn.004109e2
mov ebx, eax
mov ecx, dword [eax + 0x10]
jmp 0x4034f8
test esi, esi
je 0x4034cd
push esi
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [ebx + 0x10]
add ecx, esi
mov dword [ebx + 0x10], ecx
cmp dword [ebx + 0xc], ecx
je 0x40358f
mov byte [ecx], 0x28
inc dword [ebx + 0x10]
jmp 0x40359f
test esi, esi
je 0x4034f8
push esi
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [ebx + 0x10]
add ecx, esi
mov dword [ebx + 0x10], ecx
mov eax, dword [ebx + 0xc]
sub eax, ecx
cmp eax, 4
ja 0x403514
mov ecx, ebx
push 5
push str.__ex
call fcn.004109e2
mov ebx, eax
jmp 0x403522
mov byte [ecx + 4], 0x20
mov dword [ecx], 0x78652820
add dword [ebx + 0x10], 5
mov ecx, dword [esp + 0x30]
call fcn.00410aea
mov esi, edx
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
sub edx, ecx
cmp edx, esi
jae 0x403549
mov ecx, ebx
push esi
push eax
call fcn.004109e2
mov ebx, eax
mov ecx, dword [eax + 0x10]
jmp 0x403560
test esi, esi
je 0x403560
push esi
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [ebx + 0x10]
add ecx, esi
mov dword [ebx + 0x10], ecx
lea esi, [esp + 0x48]
mov eax, dword [ebx + 0xc]
sub eax, ecx
cmp eax, 1
ja 0x403581
mov ecx, ebx
push 2
push 0x41187c
call fcn.004109e2
jmp 0x403430
mov word [ecx], 0xa29
add dword [ebx + 0x10], 2
jmp 0x403430
mov ecx, ebx
push 1
push 0x411874
call fcn.004109e2
mov ebx, eax
mov ecx, edi
call fcn.00410aea
mov esi, edx
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
sub edx, ecx
cmp edx, esi
jae 0x4035c4
mov ecx, ebx
push esi
push eax
call fcn.004109e2
mov ebx, eax
mov ecx, dword [eax + 0x10]
jmp 0x4035db
test esi, esi
je 0x4035db
push esi
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [ebx + 0x10]
add ecx, esi
mov dword [ebx + 0x10], ecx
cmp dword [ebx + 0xc], ecx
lea esi, [esp + 0x48]
je 0x40360a
mov byte [ecx], 0x29
mov eax, dword [ebx + 0x10]
inc eax
mov dword [ebx + 0x10], eax
mov ecx, dword [ebx + 0xc]
sub ecx, eax
cmp ecx, 0x12
ja 0x403627
mov ecx, ebx
push 0x13
push str.__for_architecture
call fcn.004109e2
mov ebx, eax
jmp 0x40363c
mov ecx, ebx
push 1
push 0x41189d
call fcn.004109e2
mov ebx, eax
mov eax, dword [eax + 0x10]
mov ecx, dword [ebx + 0xc]
sub ecx, eax
cmp ecx, 0x12
jbe 0x4035f8
movups xmm0, xmmword [str.__for_architecture]
movups xmmword [eax], xmm0
mov dword [eax + 0xf], 0x20657275
add dword [ebx + 0x10], 0x13
lea ecx, [esp + 0x18]
lea eax, [esp + 0xb0]
push eax
call fcn.00409700
movzx eax, byte [esp + 0x18]
test al, 1
je 0x403660
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
jmp 0x403666
shr eax, 1
lea edx, [esp + 0x19]
mov ecx, ebx
push eax
push edx
call fcn.004109e2
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
sub edx, ecx
cmp edx, 1
ja 0x403697
mov ecx, eax
push 2
push 0x41187c
call fcn.004109e2
test byte [esp + 0x18], 1
je 0x403430
jmp 0x4036ab
mov word [ecx], 0xa29
add dword [eax + 0x10], 2
test byte [esp + 0x18], 1
je 0x403430
push dword [esp + 0x20]
call sub.libc.dll_operator_delete_void_
add esp, 4
jmp 0x403430
mov ecx, dword [esp + 0xac]
test ecx, ecx
je 0x4036cc
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x4c], 0
test ecx, ecx
je 0x4036e1
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esp + 0xa8]
test ecx, ecx
je 0x4036f1
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esp + 0xa4]
test ecx, ecx
je 0x403701
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x40377a
mov dword [esp + 0x118], eax
mov dword [esp + 0x3c], 0
mov ecx, dword [esp + 0x30]
call fcn.00410aea
mov dword [esp + 0x184], 0
mov dword [esp + 0x180], 0
sub esp, 0xc
movsd xmm0, qword [esp + 0x18c]
movsd qword [esp + 4], xmm0
mov dword [esp], edx
lea ecx, [esp + 0x124]
mov edx, eax
call fcn.00405f90
add esp, 0xc
mov ecx, dword [esp + 0x118]
test ecx, ecx
je 0x40376d
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x40377a
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x30], 0
test byte [esp + 0x34], 1
test ecx, ecx
jne 0x402e39
jmp 0x402e3e
test esi, esi
je 0x4037af
push esi
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [ebx + 0x10]
add ecx, esi
mov dword [ebx + 0x10], ecx
lea esi, [esp + 0x48]
mov eax, dword [ebx + 0xc]
sub eax, ecx
cmp eax, 0x12
ja 0x4037cf
mov ecx, ebx
push 0x13
push str.__for_architecture
call fcn.004109e2
mov ebx, eax
jmp 0x4037e4
movups xmm0, xmmword [str.__for_architecture]
movups xmmword [ecx], xmm0
mov dword [ecx + 0xf], 0x20657275
add dword [ebx + 0x10], 0x13
mov ecx, esi
lea eax, [esp + 0xb0]
push eax
call fcn.00409700
movzx eax, byte [esp + 0x48]
test al, 1
je 0x403806
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
jmp 0x40380c
shr eax, 1
lea edx, [esp + 0x49]
mov ecx, ebx
push eax
push edx
call fcn.004109e2
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
sub edx, ecx
cmp edx, 1
ja 0x403832
mov ecx, eax
push 2
push 0x411916
call fcn.004109e2
jmp 0x40383b
mov word [ecx], 0x3a29
add dword [eax + 0x10], 2
mov ebx, dword [esp + 8]
test byte [esp + 0x48], 1
je 0x403852
push dword [esp + 0x50]
call sub.libc.dll_operator_delete_void_
add esp, 4
call fcn.00410a3c
mov ecx, dword [eax + 0x10]
cmp dword [eax + 0xc], ecx
je 0x4038c9
mov byte [ecx], 0xa
inc dword [eax + 0x10]
nop word cs:[eax + eax]
mov ecx, edi
call fcn.004068e0
cmp dword [0x415a44], 0
jne 0x4039c0
cmp dword [esp + 0x10], 1
ja 0x40389d
cmp ebx, 3
ja 0x40389d
cmp byte [0x415a60], 0
je 0x40398f
call fcn.00410a3c
mov ebx, eax
mov ecx, edi
call fcn.00410aea
mov esi, edx
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
sub edx, ecx
cmp edx, esi
jae 0x4038ed
mov ecx, ebx
push esi
push eax
call fcn.004109e2
mov ebx, eax
mov ecx, dword [eax + 0x10]
jmp 0x403904
mov ecx, eax
push 1
push 0x41189f
call fcn.004109e2
mov ecx, edi
call fcn.004068e0
cmp dword [0x415a44], 0
jne 0x4039c0
jmp 0x403884
test esi, esi
je 0x403904
push esi
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [ebx + 0x10]
add ecx, esi
mov dword [ebx + 0x10], ecx
lea esi, [esp + 0x48]
mov eax, dword [ebx + 0xc]
sub eax, ecx
cmp eax, 0x12
ja 0x403924
mov ecx, ebx
push 0x13
push str.__for_architecture
call fcn.004109e2
mov ebx, eax
jmp 0x403939
movups xmm0, xmmword [str.__for_architecture]
movups xmmword [ecx], xmm0
mov dword [ecx + 0xf], 0x20657275
add dword [ebx + 0x10], 0x13
mov ecx, esi
lea eax, [esp + 0xb0]
push eax
call fcn.00409700
movzx eax, byte [esp + 0x48]
test al, 1
je 0x40395b
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
jmp 0x403961
shr eax, 1
lea edx, [esp + 0x49]
mov ecx, ebx
push eax
push edx
call fcn.004109e2
mov ecx, dword [eax + 0x10]
cmp dword [eax + 0xc], ecx
je 0x403a3f
mov byte [ecx], 0x29
inc dword [eax + 0x10]
test byte [esp + 0x48], 1
je 0x40398f
push dword [esp + 0x50]
call sub.libc.dll_operator_delete_void_
add esp, 4
call fcn.00410a3c
mov ecx, dword [eax + 0x10]
cmp dword [eax + 0xc], ecx
je 0x4039a4
mov byte [ecx], 0xa
inc dword [eax + 0x10]
jmp 0x4039c0
mov ecx, eax
push 1
push 0x41189f
call fcn.004109e2
nop word cs:[eax + eax]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov eax, dword [esp + 0xb4]
inc eax
mov ecx, esi
push eax
push dword [esp + 0xb4]
call fcn.00410a5a
movups xmm0, xmmword [esp + 0x78]
movaps xmmword [esp + 0xe0], xmm0
movups xmm0, xmmword [esp + 0x68]
movaps xmmword [esp + 0xd0], xmm0
movups xmm0, xmmword [esp + 0x48]
movups xmm1, xmmword [esp + 0x58]
movaps xmmword [esp + 0xc0], xmm1
movaps xmmword [esp + 0xb0], xmm0
mov eax, dword [esp + 0xb0]
cmp eax, dword [esp + 0x1d0]
jne 0x402b60
mov eax, dword [esp + 0x1d4]
cmp dword [esp + 0xb4], eax
jne 0x402b60
jmp 0x4040f3
mov ecx, eax
push 1
push 0x41189d
call fcn.004109e2
test byte [esp + 0x48], 1
jne 0x403983
jmp 0x40398f
cmp dword [esp + 0xc], 0
je 0x4051a2
add eax, 0xffffffe9
cmp eax, 0xfffffff3
jb 0x4051a2
mov ecx, dword [esp + 0xc]
mov edx, edi
push esi
call fcn.00406770
add esp, 4
test al, al
je 0x4040f3
mov edi, dword [esp + 0xc]
mov ebx, dword [edi + 4]
add ebx, 0xffffffef
mov eax, dword [0x415a44]
cmp eax, 1
jne 0x405352
call fcn.00410a3c
mov esi, eax
mov ecx, edi
call fcn.00410aea
mov edi, edx
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
sub edx, ecx
cmp edx, edi
jae 0x4053e2
mov ecx, esi
push edi
push eax
call fcn.004109e2
mov esi, eax
jmp 0x4053f4
mov dword [esp + 0xa4], 0
lea esi, [esp + 0x48]
jmp 0x403af7
mov ecx, esi
call fcn.00409640
mov eax, dword [esp + 0x50]
cmp dword [esp + 0x5c], 3
ja 0x403b20
mov edi, 2
cmp dword [esp + 0x10], 4
jb 0x40402a
cmp eax, dword [esp + 8]
jne 0x403b2a
jmp 0x40402a
cmp eax, dword [esp + 8]
je 0x40413b
lea ecx, [esp + 0xb0]
push 0
push esi
call fcn.00410af6
test byte [esp + 0xb4], 1
jne 0x403bd0
mov esi, dword [esp + 0xb0]
test esi, esi
je 0x403ff0
mov ebx, dword [esi + 4]
lea eax, [ebx - 0x17]
cmp eax, 0xfffffff3
jb 0x403ff0
lea eax, [ebp + 8]
mov edx, dword [eax]
mov ecx, esi
push dword [eax + 4]
call fcn.00406770
add esp, 4
mov edi, 1
test al, al
je 0x403ff2
mov edi, ebx
add edi, 0xffffffef
mov eax, dword [0x415a44]
cmp eax, 1
mov dword [esp + 0x14], edi
jne 0x403c95
call fcn.00410a3c
mov ebx, eax
mov ecx, esi
call fcn.00410aea
mov edi, edx
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
sub edx, ecx
cmp edx, edi
jae 0x403cd5
mov ecx, ebx
push edi
push eax
call fcn.004109e2
mov ebx, eax
mov ecx, dword [eax + 0x10]
jmp 0x403cec
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xb0], 0
mov dword [esp + 0x170], eax
lea eax, [esp + 0x170]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00410a60
add esp, 8
mov ecx, dword [esp + 0x170]
test ecx, ecx
je 0x403c0e
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x403c8b
mov dword [esp + 0x16c], eax
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0xc]
call fcn.00410aea
mov dword [esp + 0x1bc], 0
mov dword [esp + 0x1b8], 0
sub esp, 0x10
movsd xmm0, qword [esp + 0x1c8]
movsd qword [esp + 8], xmm0
mov dword [esp + 4], esi
mov dword [esp], edx
lea ecx, [esp + 0x17c]
mov edx, eax
call fcn.00406300
add esp, 0x10
mov ecx, dword [esp + 0x16c]
test ecx, ecx
je 0x403c7e
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x403c8b
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, 3
jmp 0x403ff2
cmp edi, 3
ja 0x403dba
cmp eax, 2
jne 0x403dba
call fcn.00410a3c
mov ebx, eax
mov ecx, dword [esp + 0xc]
call fcn.00410aea
mov edi, edx
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
sub edx, ecx
cmp edx, edi
jae 0x403d1f
mov ecx, ebx
push edi
push eax
call fcn.004109e2
mov ebx, eax
mov ecx, dword [eax + 0x10]
jmp 0x403d36
test edi, edi
je 0x403cec
push edi
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [ebx + 0x10]
add ecx, edi
mov dword [ebx + 0x10], ecx
mov eax, dword [ebx + 0xc]
sub eax, ecx
cmp eax, 6
ja 0x403d08
mov ecx, ebx
push 7
push str.____ex
call fcn.004109e2
mov ebx, eax
jmp 0x403d19
mov dword [ecx + 3], 0x20786528
mov dword [ecx], 0x28202020
add dword [ebx + 0x10], 7
mov ecx, dword [esp + 0xc]
jmp 0x403d55
test edi, edi
je 0x403d36
push edi
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [ebx + 0x10]
add ecx, edi
mov dword [ebx + 0x10], ecx
cmp dword [ebx + 0xc], ecx
je 0x403d43
mov byte [ecx], 0x28
inc dword [ebx + 0x10]
jmp 0x403d53
mov ecx, ebx
push 1
push 0x411874
call fcn.004109e2
mov ebx, eax
mov ecx, esi
call fcn.00410aea
mov edi, edx
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
sub edx, ecx
cmp edx, edi
jae 0x403d78
mov ecx, ebx
push edi
push eax
call fcn.004109e2
mov ebx, eax
mov ecx, dword [eax + 0x10]
jmp 0x403d8f
test edi, edi
je 0x403d8f
push edi
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [ebx + 0x10]
add ecx, edi
mov dword [ebx + 0x10], ecx
mov eax, dword [ebx + 0xc]
sub eax, ecx
cmp eax, 2
mov edi, dword [esp + 0x14]
ja 0x403dad
mov ecx, ebx
push 3
push 0x411870
call fcn.004109e2
jmp 0x403dba
mov byte [ecx + 2], 0xa
mov word [ecx], 0x3a29
add dword [ebx + 0x10], 3
mov ecx, esi
call fcn.004068e0
mov eax, dword [0x415a44]
cmp edi, 4
jb 0x403eaf
cmp eax, 2
jne 0x403eaf
call fcn.00410a3c
mov ebx, eax
mov ecx, esi
call fcn.00410aea
mov edi, edx
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
sub edx, ecx
cmp edx, edi
jae 0x403e04
mov ecx, ebx
push edi
push eax
call fcn.004109e2
mov ebx, eax
mov ecx, dword [eax + 0x10]
jmp 0x403e1b
test edi, edi
je 0x403e1b
push edi
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [ebx + 0x10]
add ecx, edi
mov dword [ebx + 0x10], ecx
mov eax, dword [ebx + 0xc]
sub eax, ecx
cmp eax, 4
ja 0x403e37
mov ecx, ebx
push 5
push str.__ex
call fcn.004109e2
mov ebx, eax
jmp 0x403e45
mov byte [ecx + 4], 0x20
mov dword [ecx], 0x78652820
add dword [ebx + 0x10], 5
mov ecx, dword [esp + 0xc]
call fcn.00410aea
mov edi, edx
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
sub edx, ecx
cmp edx, edi
jae 0x403e6c
mov ecx, ebx
push edi
push eax
call fcn.004109e2
mov ebx, eax
mov ecx, dword [eax + 0x10]
jmp 0x403e83
test edi, edi
je 0x403e83
push edi
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [ebx + 0x10]
add ecx, edi
mov dword [ebx + 0x10], ecx
mov eax, dword [ebx + 0xc]
sub eax, ecx
cmp eax, 1
mov edi, dword [esp + 0x14]
ja 0x403ea1
mov ecx, ebx
push 2
push 0x41187c
call fcn.004109e2
jmp 0x403eaa
mov word [ecx], 0xa29
add dword [ebx + 0x10], 2
mov eax, dword [0x415a44]
test eax, eax
jne 0x403ff0
call fcn.00410a3c
mov ebx, eax
cmp edi, 3
ja 0x403eea
mov ecx, dword [esp + 0xc]
call fcn.00410aea
mov edi, edx
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
sub edx, ecx
cmp edx, edi
jae 0x403f0f
mov ecx, ebx
push edi
push eax
call fcn.004109e2
mov ebx, eax
mov ecx, dword [eax + 0x10]
jmp 0x403f26
mov ecx, esi
call fcn.00410aea
mov esi, edx
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
sub edx, ecx
cmp edx, esi
jae 0x403f33
mov ecx, ebx
push esi
push eax
call fcn.004109e2
mov ebx, eax
mov ecx, dword [eax + 0x10]
jmp 0x403f4a
test edi, edi
je 0x403f26
push edi
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [ebx + 0x10]
add ecx, edi
mov dword [ebx + 0x10], ecx
cmp dword [ebx + 0xc], ecx
je 0x403f7e
mov byte [ecx], 0x28
inc dword [ebx + 0x10]
jmp 0x403f8e
test esi, esi
je 0x403f4a
push esi
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [ebx + 0x10]
add ecx, esi
mov dword [ebx + 0x10], ecx
mov eax, dword [ebx + 0xc]
sub eax, ecx
cmp eax, 4
ja 0x403f6a
mov ecx, ebx
push 5
push str.__ex
call fcn.004109e2
mov ebx, eax
mov ecx, dword [esp + 0xc]
jmp 0x403f90
mov byte [ecx + 4], 0x20
mov dword [ecx], 0x78652820
add dword [ebx + 0x10], 5
mov ecx, dword [esp + 0xc]
jmp 0x403f90
mov ecx, ebx
push 1
push 0x411874
call fcn.004109e2
mov ebx, eax
mov ecx, esi
call fcn.00410aea
mov esi, edx
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
sub edx, ecx
cmp edx, esi
jae 0x403fb3
mov ecx, ebx
push esi
push eax
call fcn.004109e2
mov ebx, eax
mov ecx, dword [eax + 0x10]
jmp 0x403fca
test esi, esi
je 0x403fca
push esi
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [ebx + 0x10]
add ecx, esi
mov dword [ebx + 0x10], ecx
mov eax, dword [ebx + 0xc]
sub eax, ecx
cmp eax, 1
ja 0x403fe4
mov ecx, ebx
push 2
push 0x41187c
call fcn.004109e2
jmp 0x403ff0
mov word [ecx], 0xa29
add dword [ebx + 0x10], 2
nop dword [eax]
xor edi, edi
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0xb0], 0
test byte [esp + 0xb4], 1
test ecx, ecx
lea esi, [esp + 0x48]
je 0x404019
mov eax, dword [ecx]
call dword [eax + 4]
cmp edi, 3
je 0x403af0
test edi, edi
je 0x403af0
mov ecx, dword [esp + 0xa4]
test ecx, ecx
je 0x40403a
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x4c], 0
test ecx, ecx
je 0x40404f
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esp + 0xa8]
test ecx, ecx
je 0x40405f
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x40406c
mov eax, dword [ecx]
call dword [eax + 8]
cmp edi, 2
jne 0x4040e3
mov eax, dword [esp + 0x1d0]
test eax, eax
je 0x4040f3
mov dword [esp + 0x168], eax
mov dword [esp + 0x1d0], 0
mov ecx, dword [esp + 0xc]
call fcn.00410aea
mov dword [esp + 0x1b4], 0
mov dword [esp + 0x1b0], 0
sub esp, 0xc
movsd xmm0, qword [esp + 0x1bc]
movsd qword [esp + 4], xmm0
mov dword [esp], edx
lea ecx, [esp + 0x174]
mov edx, eax
call fcn.00405f90
add esp, 0xc
mov ecx, dword [esp + 0x168]
test ecx, ecx
je 0x4040e3
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x1d0]
test ecx, ecx
je 0x4040f3
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x110], 1
jne 0x404118
mov ecx, dword [esp + 0x10c]
mov dword [esp + 0x10c], 0
test ecx, ecx
je 0x404118
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x108]
mov dword [esp + 0x108], 0
test ecx, ecx
je 0x404133
mov eax, dword [ecx]
call dword [eax + 4]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, 2
mov ecx, dword [esp + 0xa4]
test ecx, ecx
jne 0x404035
jmp 0x40403a
mov eax, dword [0x415aa0]
cmp eax, dword [0x415aa4]
je 0x4051e1
mov dword [esp + 0x10], 0
lea ebx, [esp + 0x48]
lea ecx, [esp + 0xb0]
push 0
push dword [esp + 0x10]
call fcn.00410a5a
lea ecx, [esp + 0x1d0]
push 0
push 0
call fcn.00410a5a
mov eax, dword [esp + 0xb0]
cmp eax, dword [esp + 0x1d0]
jne 0x4041b7
mov eax, dword [esp + 0x1d4]
cmp dword [esp + 0xb4], eax
je 0x4053a3
mov dword [esp + 0x14], 0
nop
mov eax, dword [0x415aa0]
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + ecx*8]
mov dword [esp + 8], edx
mov edi, dword [eax + ecx*8 + 4]
mov ecx, ebx
lea eax, [esp + 0xb0]
push eax
call fcn.00409700
movzx ebx, byte [esp + 0x48]
mov esi, dword [esp + 0x50]
test bl, 1
je 0x4042a0
mov ecx, dword [esp + 0x4c]
mov eax, esi
cmp ecx, edi
je 0x4042b0
xor eax, eax
test bl, 1
je 0x404217
push esi
mov esi, eax
call sub.libc.dll_operator_delete_void_
mov eax, esi
add esp, 4
test al, al
lea ebx, [esp + 0x48]
je 0x4050e0
mov ecx, ebx
lea eax, [esp + 0xb0]
push eax
call fcn.00410ae4
mov esi, dword [esp + 0x48]
test byte [esp + 0x4c], 1
jne 0x4042e0
mov al, 1
mov dword [esp + 0x14], eax
test esi, esi
je 0x4050e0
mov ecx, dword [esi + 4]
add ecx, 0xffffffef
mov eax, dword [0x415a44]
cmp eax, 1
mov dword [esp + 8], ecx
jne 0x4044ce
call fcn.00410a3c
mov edi, eax
mov ecx, esi
call fcn.00410aea
mov ebx, edx
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
sub edx, ecx
cmp edx, ebx
jae 0x4045e3
mov ecx, edi
push ebx
push eax
call fcn.004109e2
mov edi, eax
mov ecx, dword [eax + 0x10]
jmp 0x4045fa
mov ecx, ebx
shr ecx, 1
lea eax, [esp + 0x49]
cmp ecx, edi
jne 0x404203
test edi, edi
je 0x4043d8
push edi
push eax
push dword [esp + 0x10]
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
sete al
test bl, 1
je 0x404217
jmp 0x40420a
mov dword [esp + 0x164], esi
lea eax, [esp + 0x164]
push eax
lea eax, [esp + 0x8c]
push eax
call fcn.00410a60
add esp, 8
mov ecx, dword [esp + 0x164]
test ecx, ecx
je 0x40430f
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x88]
test eax, eax
mov dword [esp + 0xa8], eax
je 0x4043e8
mov dword [esp + 0x104], eax
mov dword [esp + 0x88], 0
lea eax, [ebp + 8]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov eax, dword [0x415aa4]
sub eax, dword [0x415aa0]
cmp eax, 8
jbe 0x404530
mov ecx, ebx
lea eax, [esp + 0xb0]
push eax
call fcn.00409700
movzx eax, byte [esp + 0x48]
mov ecx, eax
shr ecx, 1
test al, 1
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x49]
cmove eax, edx
mov dword [esp + 0x15c], eax
cmovne ecx, dword [esp + 0x4c]
mov dword [esp + 0x160], ecx
sub esp, 0xc
movsd xmm0, qword [esp + 0x168]
movsd qword [esp + 4], xmm0
mov dword [esp], edi
lea ecx, [esp + 0x110]
mov edx, esi
call fcn.00405f90
add esp, 0xc
test byte [esp + 0x48], 1
je 0x4043c4
push dword [esp + 0x50]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 0x104]
test ecx, ecx
jne 0x404ec1
jmp 0x404ec6
mov al, 1
test bl, 1
jne 0x40420a
jmp 0x404217
lea ecx, [esp + 0x30]
lea eax, [esp + 0xb0]
push eax
call fcn.00410ade
test byte [esp + 0x34], 1
jne 0x404580
mov dword [esp + 0x3c], 0
mov esi, dword [esp + 0x30]
mov ecx, ebx
push 1
lea eax, [esp + 0x40]
push eax
push esi
call fcn.00410af0
lea ecx, [esp + 0x18]
push esi
call fcn.00410b08
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
movzx ecx, word [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x54], edi
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xa4], eax
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0x20]
mov dword [esp + 8], eax
mov word [esp + 0x58], cx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
test esi, esi
mov dword [esp + 0xac], esi
je 0x40449c
mov eax, dword [esi]
lea ecx, [esp + 0x18]
push dword [esp + 0xac]
call dword [eax]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0xa4]
test ecx, ecx
je 0x4046ae
mov eax, dword [ecx]
mov edx, ecx
lea ecx, [esp + 0x18]
push edx
call dword [eax]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x114], eax
jmp 0x4046c7
cmp ecx, 3
ja 0x404fad
cmp eax, 2
jne 0x404fad
cmp byte [0x415a60], 0
jne 0x4044fd
mov eax, dword [0x415aa4]
sub eax, dword [0x415aa0]
cmp eax, 9
jb 0x404fad
call fcn.00410a3c
mov edi, eax
mov ecx, esi
call fcn.00410aea
mov ebx, edx
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
sub edx, ecx
cmp edx, ebx
jae 0x404eef
mov ecx, edi
push ebx
push eax
call fcn.004109e2
mov edi, eax
mov ecx, dword [eax + 0x10]
jmp 0x404f06
mov dword [esp + 0x160], 0
mov dword [esp + 0x15c], 0
sub esp, 0xc
movsd xmm0, qword [esp + 0x168]
movsd qword [esp + 4], xmm0
mov dword [esp], edi
lea ecx, [esp + 0x110]
mov edx, esi
call fcn.00405f90
add esp, 0xc
mov ecx, dword [esp + 0x104]
test ecx, ecx
jne 0x404ec1
jmp 0x404ec6
mov eax, dword [esp + 0x30]
mov dword [esp + 0x30], 0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x1c]
push eax
push ebx
call fcn.00409bb0
add esp, 0xc
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4045b3
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0x90]
lea eax, [esp + 0xb0]
push eax
call fcn.00409700
movzx eax, byte [esp + 0x90]
test al, 1
je 0x40462a
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x94]
jmp 0x404633
test ebx, ebx
je 0x4045fa
push ebx
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [edi + 0x10]
add ecx, ebx
mov dword [edi + 0x10], ecx
lea ebx, [esp + 0x48]
mov eax, dword [edi + 0xc]
sub eax, ecx
cmp eax, 3
ja 0x40461b
mov ecx, edi
push 4
push str.__:_n
call fcn.004109e2
jmp 0x404fad
mov dword [ecx], 0xa3a2020
add dword [edi + 0x10], 4
jmp 0x404fad
shr eax, 1
lea ecx, [esp + 0x91]
lea edx, [esp + 0x18]
mov word [esp + 0x28], 0x503
mov dword [esp + 0x18], str.mach_o_universal_file_for_architecture
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x50], str._is_not_a_mach_o_file_or_an_archive_file
mov word [esp + 0x58], 0x302
lea eax, [ebp + 8]
movsd xmm0, qword [eax]
movsd qword [esp + 0x21c], xmm0
sub esp, 8
movsd xmm0, qword [esp + 0x224]
movsd qword [esp], xmm0
mov ecx, ebx
call fcn.00402740
add esp, 8
test byte [esp + 0x90], 1
je 0x404eac
push dword [esp + 0x98]
call sub.libc.dll_operator_delete_void_
add esp, 4
jmp 0x404eac
mov dword [esp + 0x114], 0
jmp 0x4046c7
mov ecx, ebx
call fcn.00409640
mov eax, dword [esp + 0x50]
cmp dword [esp + 0x5c], 3
ja 0x4046dd
cmp dword [esp + 0x14], 4
jb 0x404dee
cmp eax, dword [esp + 8]
je 0x404dee
lea ecx, [esp + 0x90]
push 0
push ebx
call fcn.00410af6
test byte [esp + 0x94], 1
jne 0x404770
mov esi, dword [esp + 0x90]
test esi, esi
je 0x404b30
mov edi, dword [esi + 4]
lea eax, [edi - 0x17]
cmp eax, 0xfffffff3
jb 0x404b30
add edi, 0xffffffef
mov eax, dword [0x415a44]
cmp eax, 1
jne 0x4048c5
mov dword [esp + 0x44], edi
call fcn.00410a3c
mov edi, eax
mov ecx, esi
call fcn.00410aea
mov ebx, edx
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
sub edx, ecx
cmp edx, ebx
jae 0x404910
mov ecx, edi
push ebx
push eax
call fcn.004109e2
mov edi, eax
mov ecx, dword [eax + 0x10]
jmp 0x404927
mov eax, dword [esp + 0x90]
mov dword [esp + 0x90], 0
mov dword [esp + 0x158], eax
lea eax, [esp + 0x158]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00410a60
add esp, 8
mov ecx, dword [esp + 0x158]
test ecx, ecx
je 0x4047ae
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x404b30
mov dword [esp + 0x100], eax
mov dword [esp + 0x40], 0
mov ecx, dword [esp + 0x30]
call fcn.00410aea
mov esi, eax
mov edi, edx
mov eax, dword [0x415aa4]
sub eax, dword [0x415aa0]
cmp eax, 8
jbe 0x40485f
lea ecx, [esp + 0x18]
lea eax, [esp + 0xb0]
push eax
call fcn.00409700
movzx eax, byte [esp + 0x18]
mov ecx, eax
shr ecx, 1
test al, 1
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x19]
cmove eax, edx
mov dword [esp + 0x150], eax
cmovne ecx, dword [esp + 0x1c]
mov dword [esp + 0x154], ecx
sub esp, 0x10
movsd xmm0, qword [esp + 0x160]
movsd qword [esp + 8], xmm0
mov dword [esp + 4], ebx
mov dword [esp], edi
lea ecx, [esp + 0x110]
mov edx, esi
call fcn.00406300
add esp, 0x10
test byte [esp + 0x18], 1
je 0x40489f
push dword [esp + 0x20]
call sub.libc.dll_operator_delete_void_
add esp, 4
jmp 0x40489f
mov dword [esp + 0x154], 0
mov dword [esp + 0x150], 0
sub esp, 0x10
movsd xmm0, qword [esp + 0x160]
movsd qword [esp + 8], xmm0
mov dword [esp + 4], ebx
mov dword [esp], edi
lea ecx, [esp + 0x110]
mov edx, esi
call fcn.00406300
add esp, 0x10
mov ecx, dword [esp + 0x100]
test ecx, ecx
je 0x4048af
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x404b30
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x404b30
cmp edi, 3
ja 0x404b20
cmp eax, 2
jne 0x404b20
mov dword [esp + 0x44], edi
call fcn.00410a3c
mov edi, eax
mov ecx, dword [esp + 0x30]
call fcn.00410aea
mov ebx, edx
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
sub edx, ecx
cmp edx, ebx
jae 0x4049cd
mov ecx, edi
push ebx
push eax
call fcn.004109e2
mov edi, eax
mov ecx, dword [eax + 0x10]
jmp 0x4049e4
test ebx, ebx
je 0x404927
push ebx
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [edi + 0x10]
add ecx, ebx
mov dword [edi + 0x10], ecx
mov eax, dword [edi + 0xc]
sub eax, ecx
cmp eax, 6
ja 0x404943
mov ecx, edi
push 7
push str.____ex
call fcn.004109e2
mov edi, eax
jmp 0x404954
mov dword [ecx + 3], 0x20786528
mov dword [ecx], 0x28202020
add dword [edi + 0x10], 7
mov ecx, dword [esp + 0x30]
call fcn.00410aea
mov ebx, edx
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
sub edx, ecx
cmp edx, ebx
jae 0x40497b
mov ecx, edi
push ebx
push eax
call fcn.004109e2
mov edi, eax
mov ecx, dword [eax + 0x10]
jmp 0x404992
test ebx, ebx
je 0x404992
push ebx
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [edi + 0x10]
add ecx, ebx
mov dword [edi + 0x10], ecx
mov eax, dword [edi + 0xc]
sub eax, ecx
cmp eax, 2
lea ebx, [esp + 0x48]
ja 0x4049b7
mov ecx, edi
push 3
push 0x411870
call fcn.004109e2
mov edi, dword [esp + 0x44]
jmp 0x404b20
mov byte [ecx + 2], 0xa
mov word [ecx], 0x3a29
add dword [edi + 0x10], 3
mov edi, dword [esp + 0x44]
jmp 0x404b20
test ebx, ebx
je 0x4049e4
push ebx
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [edi + 0x10]
add ecx, ebx
mov dword [edi + 0x10], ecx
cmp dword [edi + 0xc], ecx
je 0x4049f1
mov byte [ecx], 0x28
inc dword [edi + 0x10]
jmp 0x404a01
mov ecx, edi
push 1
push 0x411874
call fcn.004109e2
mov edi, eax
mov ecx, esi
call fcn.00410aea
mov ebx, edx
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
sub edx, ecx
cmp edx, ebx
jae 0x404a26
mov ecx, edi
push ebx
push eax
call fcn.004109e2
mov edi, eax
mov ecx, dword [eax + 0x10]
jmp 0x404a3d
test ebx, ebx
je 0x404a3d
push ebx
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [edi + 0x10]
add ecx, ebx
mov dword [edi + 0x10], ecx
cmp dword [edi + 0xc], ecx
lea ebx, [esp + 0x48]
je 0x404a6c
mov byte [ecx], 0x29
mov eax, dword [edi + 0x10]
inc eax
mov dword [edi + 0x10], eax
mov ecx, dword [edi + 0xc]
sub ecx, eax
cmp ecx, 0x12
ja 0x404a89
mov ecx, edi
push 0x13
push str.__for_architecture
call fcn.004109e2
mov edi, eax
jmp 0x404a9e
mov ecx, edi
push 1
push 0x41189d
call fcn.004109e2
mov edi, eax
mov eax, dword [eax + 0x10]
mov ecx, dword [edi + 0xc]
sub ecx, eax
cmp ecx, 0x12
jbe 0x404a5a
movups xmm0, xmmword [str.__for_architecture]
movups xmmword [eax], xmm0
mov dword [eax + 0xf], 0x20657275
add dword [edi + 0x10], 0x13
lea ecx, [esp + 0x18]
lea eax, [esp + 0xb0]
push eax
call fcn.00409700
movzx eax, byte [esp + 0x18]
test al, 1
je 0x404ac2
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
jmp 0x404ac8
shr eax, 1
lea edx, [esp + 0x19]
mov ecx, edi
push eax
push edx
call fcn.004109e2
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
sub edx, ecx
cmp edx, 2
ja 0x404af9
mov ecx, eax
push 3
push 0x411870
call fcn.004109e2
mov edi, dword [esp + 0x44]
test byte [esp + 0x18], 1
jne 0x404b11
jmp 0x404b20
mov byte [ecx + 2], 0xa
mov word [ecx], 0x3a29
add dword [eax + 0x10], 3
mov edi, dword [esp + 0x44]
test byte [esp + 0x18], 1
je 0x404b20
push dword [esp + 0x20]
call sub.libc.dll_operator_delete_void_
add esp, 4
nop dword [eax]
mov ecx, esi
call fcn.004068e0
cmp dword [0x415a44], 0
je 0x404b5c
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x90], 0
test byte [esp + 0x94], 1
test ecx, ecx
je 0x4046c0
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4046c0
call fcn.00410a3c
mov ecx, edi
mov edi, eax
cmp ecx, 3
ja 0x404b91
mov ecx, dword [esp + 0x30]
call fcn.00410aea
mov ebx, edx
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
sub edx, ecx
cmp edx, ebx
jae 0x404bb6
mov ecx, edi
push ebx
push eax
call fcn.004109e2
mov edi, eax
mov ecx, dword [eax + 0x10]
jmp 0x404bcd
mov ecx, esi
call fcn.00410aea
mov esi, edx
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
sub edx, ecx
cmp edx, esi
jae 0x404be5
mov ecx, edi
push esi
push eax
call fcn.004109e2
mov edi, eax
mov ecx, dword [eax + 0x10]
jmp 0x404bfc
test ebx, ebx
je 0x404bcd
push ebx
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [edi + 0x10]
add ecx, ebx
mov dword [edi + 0x10], ecx
cmp dword [edi + 0xc], ecx
lea ebx, [esp + 0x48]
je 0x404c8f
mov byte [ecx], 0x28
inc dword [edi + 0x10]
jmp 0x404c9f
test esi, esi
je 0x404bfc
push esi
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [edi + 0x10]
add ecx, esi
mov dword [edi + 0x10], ecx
mov eax, dword [edi + 0xc]
sub eax, ecx
cmp eax, 4
ja 0x404c18
mov ecx, edi
push 5
push str.__ex
call fcn.004109e2
mov edi, eax
jmp 0x404c26
mov byte [ecx + 4], 0x20
mov dword [ecx], 0x78652820
add dword [edi + 0x10], 5
mov ecx, dword [esp + 0x30]
call fcn.00410aea
mov esi, edx
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
sub edx, ecx
cmp edx, esi
jae 0x404c4d
mov ecx, edi
push esi
push eax
call fcn.004109e2
mov edi, eax
mov ecx, dword [eax + 0x10]
jmp 0x404c64
test esi, esi
je 0x404c64
push esi
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [edi + 0x10]
add ecx, esi
mov dword [edi + 0x10], ecx
mov eax, dword [edi + 0xc]
sub eax, ecx
cmp eax, 1
ja 0x404c81
mov ecx, edi
push 2
push 0x41187c
call fcn.004109e2
jmp 0x404b30
mov word [ecx], 0xa29
add dword [edi + 0x10], 2
jmp 0x404b30
mov ecx, edi
push 1
push 0x411874
call fcn.004109e2
mov edi, eax
mov ecx, esi
call fcn.00410aea
mov esi, edx
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
sub edx, ecx
cmp edx, esi
jae 0x404cc4
mov ecx, edi
push esi
push eax
call fcn.004109e2
mov edi, eax
mov ecx, dword [eax + 0x10]
jmp 0x404cdb
test esi, esi
je 0x404cdb
push esi
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [edi + 0x10]
add ecx, esi
mov dword [edi + 0x10], ecx
cmp dword [edi + 0xc], ecx
je 0x404cfb
mov byte [ecx], 0x29
inc dword [edi + 0x10]
mov eax, dword [0x415aa4]
sub eax, dword [0x415aa0]
cmp eax, 9
jae 0x404d1d
jmp 0x404dac
mov ecx, edi
push 1
push 0x41189d
call fcn.004109e2
mov eax, dword [0x415aa4]
sub eax, dword [0x415aa0]
cmp eax, 9
jb 0x404dac
call fcn.00410a3c
mov esi, eax
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
sub ecx, eax
cmp ecx, 0x12
ja 0x404d43
mov ecx, esi
push 0x13
push str.__for_architecture
call fcn.004109e2
mov esi, eax
jmp 0x404d58
movups xmm0, xmmword [str.__for_architecture]
movups xmmword [eax], xmm0
mov dword [eax + 0xf], 0x20657275
add dword [esi + 0x10], 0x13
lea ecx, [esp + 0x18]
lea eax, [esp + 0xb0]
push eax
call fcn.00409700
movzx eax, byte [esp + 0x18]
test al, 1
je 0x404d7c
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
jmp 0x404d82
shr eax, 1
lea edx, [esp + 0x19]
mov ecx, esi
push eax
push edx
call fcn.004109e2
mov ecx, dword [eax + 0x10]
cmp dword [eax + 0xc], ecx
je 0x404dd7
mov byte [ecx], 0x29
inc dword [eax + 0x10]
test byte [esp + 0x18], 1
je 0x404dac
push dword [esp + 0x20]
call sub.libc.dll_operator_delete_void_
add esp, 4
call fcn.00410a3c
mov ecx, dword [eax + 0x10]
cmp dword [eax + 0xc], ecx
je 0x404dc4
mov byte [ecx], 0xa
inc dword [eax + 0x10]
jmp 0x404b30
mov ecx, eax
push 1
push 0x41189f
call fcn.004109e2
jmp 0x404b30
mov ecx, eax
push 1
push 0x41189d
call fcn.004109e2
test byte [esp + 0x18], 1
jne 0x404da0
jmp 0x404dac
mov ecx, dword [esp + 0x114]
test ecx, ecx
je 0x404dfe
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x4c], 0
test ecx, ecx
je 0x404e13
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esp + 0xa4]
test ecx, ecx
je 0x404e23
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esp + 0xac]
test ecx, ecx
je 0x404e33
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x404eac
mov dword [esp + 0x14c], eax
mov dword [esp + 0x3c], 0
mov ecx, dword [esp + 0x30]
call fcn.00410aea
mov dword [esp + 0x1ac], 0
mov dword [esp + 0x1a8], 0
sub esp, 0xc
movsd xmm0, qword [esp + 0x1b4]
movsd qword [esp + 4], xmm0
mov dword [esp], edx
lea ecx, [esp + 0x158]
mov edx, eax
call fcn.00405f90
add esp, 0xc
mov ecx, dword [esp + 0x14c]
test ecx, ecx
je 0x404e9f
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x404eac
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x30], 0
test byte [esp + 0x34], 1
test ecx, ecx
je 0x404ec6
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x404ed6
mov eax, dword [ecx]
call dword [eax + 4]
mov al, 1
mov dword [esp + 0x14], eax
cmp dword [esp + 0xa8], 0
je 0x4050e0
jmp 0x4040f3
test ebx, ebx
je 0x404f06
push ebx
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [edi + 0x10]
add ecx, ebx
mov dword [edi + 0x10], ecx
lea ebx, [esp + 0x48]
mov eax, dword [edi + 0xc]
sub eax, ecx
cmp eax, 0x12
ja 0x404f26
mov ecx, edi
push 0x13
push str.__for_architecture
call fcn.004109e2
mov edi, eax
jmp 0x404f3b
movups xmm0, xmmword [str.__for_architecture]
movups xmmword [ecx], xmm0
mov dword [ecx + 0xf], 0x20657275
add dword [edi + 0x10], 0x13
mov ecx, ebx
lea eax, [esp + 0xb0]
push eax
call fcn.00409700
movzx eax, byte [esp + 0x48]
test al, 1
je 0x404f5d
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
jmp 0x404f63
shr eax, 1
lea edx, [esp + 0x49]
mov ecx, edi
push eax
push edx
call fcn.004109e2
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
sub edx, ecx
cmp edx, 3
ja 0x404f90
mov ecx, eax
push 4
push str._:__n
call fcn.004109e2
test byte [esp + 0x48], 1
jne 0x404fa1
jmp 0x404fad
mov dword [ecx], 0xa203a29
add dword [eax + 0x10], 4
test byte [esp + 0x48], 1
je 0x404fad
push dword [esp + 0x50]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, esi
call fcn.004068e0
cmp dword [0x415a44], 0
jne 0x4050d6
cmp dword [esp + 8], 3
ja 0x404fe5
cmp byte [0x415a60], 0
jne 0x404fe5
mov eax, dword [0x415aa4]
sub eax, dword [0x415aa0]
cmp eax, 9
jb 0x4050b3
call fcn.00410a3c
mov edi, eax
mov ecx, esi
call fcn.00410aea
mov ebx, edx
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
sub edx, ecx
cmp edx, ebx
jae 0x405011
mov ecx, edi
push ebx
push eax
call fcn.004109e2
mov edi, eax
mov ecx, dword [eax + 0x10]
jmp 0x405028
test ebx, ebx
je 0x405028
push ebx
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [edi + 0x10]
add ecx, ebx
mov dword [edi + 0x10], ecx
lea ebx, [esp + 0x48]
mov eax, dword [edi + 0xc]
sub eax, ecx
cmp eax, 0x12
ja 0x405048
mov ecx, edi
push 0x13
push str.__for_architecture
call fcn.004109e2
mov edi, eax
jmp 0x40505d
movups xmm0, xmmword [str.__for_architecture]
movups xmmword [ecx], xmm0
mov dword [ecx + 0xf], 0x20657275
add dword [edi + 0x10], 0x13
mov ecx, ebx
lea eax, [esp + 0xb0]
push eax
call fcn.00409700
movzx eax, byte [esp + 0x48]
test al, 1
je 0x40507f
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
jmp 0x405085
shr eax, 1
lea edx, [esp + 0x49]
mov ecx, edi
push eax
push edx
call fcn.004109e2
mov ecx, dword [eax + 0x10]
cmp dword [eax + 0xc], ecx
je 0x405155
mov byte [ecx], 0x29
inc dword [eax + 0x10]
test byte [esp + 0x48], 1
je 0x4050b3
push dword [esp + 0x50]
call sub.libc.dll_operator_delete_void_
add esp, 4
call fcn.00410a3c
mov ecx, dword [eax + 0x10]
cmp dword [eax + 0xc], ecx
je 0x4050c8
mov byte [ecx], 0xa
inc dword [eax + 0x10]
jmp 0x4050d6
mov ecx, eax
push 1
push 0x41189f
call fcn.004109e2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
nop dword [eax]
mov eax, dword [esp + 0xb4]
inc eax
mov ecx, ebx
push eax
push dword [esp + 0xb4]
call fcn.00410a5a
movups xmm0, xmmword [esp + 0x78]
movaps xmmword [esp + 0xe0], xmm0
movups xmm0, xmmword [esp + 0x68]
movaps xmmword [esp + 0xd0], xmm0
movups xmm0, xmmword [esp + 0x48]
movups xmm1, xmmword [esp + 0x58]
movaps xmmword [esp + 0xc0], xmm1
movaps xmmword [esp + 0xb0], xmm0
mov eax, dword [esp + 0xb0]
cmp eax, dword [esp + 0x1d0]
jne 0x4041c0
mov eax, dword [esp + 0x1d4]
cmp dword [esp + 0xb4], eax
jne 0x4041c0
jmp 0x405173
mov ecx, eax
push 1
push 0x41189d
call fcn.004109e2
test byte [esp + 0x48], 1
jne 0x4050a7
jmp 0x4050b3
test byte [esp + 0x14], 1
je 0x4053a3
mov ecx, dword [esp + 0x10]
inc ecx
mov eax, dword [0x415aa4]
sub eax, dword [0x415aa0]
sar eax, 3
mov dword [esp + 0x10], ecx
cmp ecx, eax
jb 0x404171
jmp 0x4040f3
mov dword [esp + 0x48], str.unsupported_file_type
mov word [esp + 0x58], 0x103
mov dword [esp + 0x178], edi
mov dword [esp + 0x17c], esi
sub esp, 8
movsd xmm0, qword [esp + 0x180]
movsd qword [esp], xmm0
lea ecx, [esp + 0x50]
call fcn.00402740
add esp, 8
jmp 0x4040f3
lea ebx, [esp + 0x48]
push ebx
call fcn.00410a48
add esp, 4
mov ecx, ebx
call fcn.00410aae
mov dword [esp + 0x14], eax
mov dword [esp + 8], edx
test byte [esp + 0x48], 1
je 0x405210
push dword [esp + 0x50]
call sub.libc.dll_operator_delete_void_
add esp, 4
lea ecx, [esp + 0xb0]
push 0
push dword [esp + 0x10]
call fcn.00410a5a
lea ecx, [esp + 0x1d0]
push 0
push 0
call fcn.00410a5a
mov eax, dword [esp + 0xb0]
cmp eax, dword [esp + 0x1d0]
jne 0x405256
mov eax, dword [esp + 0x1d4]
cmp dword [esp + 0xb4], eax
je 0x402b0d
lea ebx, [esp + 0x48]
mov ecx, ebx
lea eax, [esp + 0xb0]
push eax
call fcn.00409700
movzx ebx, byte [esp + 0x48]
test bl, 1
je 0x405279
mov eax, dword [esp + 0x4c]
jmp 0x40527d
mov eax, ebx
shr eax, 1
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 8]
cmp eax, ecx
mov eax, ecx
sete cl
jne 0x4052bc
test eax, eax
je 0x4052bc
test bl, 1
mov eax, edx
lea ecx, [esp + 0x49]
cmove eax, ecx
push dword [esp + 8]
push eax
push dword [esp + 0x1c]
mov dword [esp + 0x1c], edx
call sub.msvcrt.dll_memcmp
mov edx, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
sete cl
test bl, 1
je 0x4052ce
push edx
mov ebx, ecx
call sub.libc.dll_operator_delete_void_
mov ecx, ebx
add esp, 4
test cl, cl
lea ebx, [esp + 0x48]
jne 0x405400
mov eax, dword [esp + 0xb4]
inc eax
mov ecx, ebx
push eax
push dword [esp + 0xb4]
call fcn.00410a5a
movups xmm0, xmmword [esp + 0x78]
movaps xmmword [esp + 0xe0], xmm0
movups xmm0, xmmword [esp + 0x68]
movaps xmmword [esp + 0xd0], xmm0
movups xmm0, xmmword [esp + 0x48]
movups xmm1, xmmword [esp + 0x58]
movaps xmmword [esp + 0xc0], xmm1
movaps xmmword [esp + 0xb0], xmm0
mov eax, dword [esp + 0xb0]
cmp eax, dword [esp + 0x1d0]
jne 0x40525a
mov eax, dword [esp + 0x1d4]
cmp dword [esp + 0xb4], eax
jne 0x40525a
jmp 0x402b0d
cmp ebx, 3
ja 0x405492
cmp eax, 2
jne 0x405492
cmp byte [0x415a60], 0
je 0x405492
call fcn.00410a3c
mov esi, eax
mov ecx, dword [esp + 0xc]
call fcn.00410aea
mov edi, edx
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
sub edx, ecx
cmp edx, edi
jae 0x405474
mov ecx, esi
push edi
push eax
call fcn.004109e2
mov esi, eax
jmp 0x405486
mov eax, dword [0x415aa0]
mov word [esp + 0x58], 0x503
mov dword [esp + 0x48], str.file_does_not_contain_architecture
mov edx, dword [esp + 0x10]
mov ecx, dword [eax + edx*8]
mov dword [esp + 0x50], ecx
mov eax, dword [eax + edx*8 + 4]
mov dword [esp + 0x54], eax
lea eax, [ebp + 8]
movsd xmm0, qword [eax]
movsd qword [esp + 0x224], xmm0
sub esp, 8
jmp 0x4051cb
test edi, edi
je 0x4053f4
push edi
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
add dword [esi + 0x10], edi
mov ecx, esi
push str.__:_n
jmp 0x40548d
lea ebx, [esp + 0x48]
mov ecx, ebx
lea eax, [esp + 0xb0]
push eax
call fcn.00410ae4
mov ecx, dword [esp + 0x48]
test byte [esp + 0x4c], 1
jne 0x405542
test ecx, ecx
je 0x4040f3
mov esi, dword [ecx + 4]
add esi, 0xffffffef
mov eax, dword [0x415a44]
cmp eax, 1
mov dword [esp + 8], ecx
jne 0x4056b3
mov ebx, ecx
call fcn.00410a3c
mov edi, eax
mov ecx, ebx
call fcn.00410aea
mov ebx, edx
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
sub edx, ecx
cmp edx, ebx
jae 0x405761
mov ecx, edi
push ebx
push eax
call fcn.004109e2
mov edi, eax
jmp 0x405773
test edi, edi
je 0x405486
push edi
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
add dword [esi + 0x10], edi
mov ecx, esi
push 0x411919
call fcn.004026c0
mov ecx, dword [esp + 0xc]
call fcn.004068e0
mov eax, dword [0x415a44]
cmp ebx, 4
jb 0x4054f8
cmp eax, 2
jne 0x4054f8
call fcn.00410a3c
mov esi, eax
mov ecx, dword [esp + 0xc]
call fcn.00410aea
mov edi, edx
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
sub edx, ecx
cmp edx, edi
jae 0x4054d5
mov ecx, esi
push edi
push eax
call fcn.004109e2
mov esi, eax
jmp 0x4054e7
test edi, edi
je 0x4054e7
push edi
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
add dword [esi + 0x10], edi
mov ecx, esi
push 0x41189f
call fcn.004026c0
mov eax, dword [0x415a44]
test eax, eax
jne 0x4040f3
cmp ebx, 3
ja 0x405512
cmp byte [0x415a60], 0
je 0x4055df
call fcn.00410a3c
mov esi, eax
mov ecx, dword [esp + 0xc]
call fcn.00410aea
mov edi, edx
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
sub edx, ecx
cmp edx, edi
jae 0x4055cd
mov ecx, esi
push edi
push eax
call fcn.004109e2
jmp 0x4055df
mov dword [esp + 0x148], ecx
lea eax, [esp + 0x148]
lea ecx, [esp + 0x3c]
push eax
push ecx
call fcn.00410a60
add esp, 8
mov ecx, dword [esp + 0x148]
test ecx, ecx
je 0x40556e
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4055f5
mov dword [esp + 0x144], eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x1a4], 0
mov dword [esp + 0x1a0], 0
sub esp, 0xc
movsd xmm0, qword [esp + 0x1ac]
movsd qword [esp + 4], xmm0
mov dword [esp], esi
lea ecx, [esp + 0x150]
mov edx, edi
call fcn.00405f90
add esp, 0xc
mov ecx, dword [esp + 0x144]
jmp 0x405dfd
test edi, edi
je 0x4055df
push edi
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
add dword [esi + 0x10], edi
call fcn.00410a3c
mov ecx, eax
push 0x41189f
call fcn.004026c0
jmp 0x4040f3
lea ecx, [esp + 0x88]
lea eax, [esp + 0xb0]
push eax
call fcn.00410ade
test byte [esp + 0x8c], 1
jne 0x405704
mov dword [esp + 0x40], 0
lea eax, [esp + 0x40]
lea ecx, [esp + 0x48]
push 1
push eax
push dword [esp + 0x90]
call fcn.00406280
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ecx
movzx ecx, word [esp + 0x58]
mov word [esp + 0x28], cx
test eax, eax
je 0x40567f
mov edx, dword [eax]
lea ecx, [esp + 0x90]
push eax
call dword [edx]
mov eax, dword [esp + 0x90]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x2c], ecx
mov ebx, dword [esp + 0x68]
test eax, eax
je 0x4058cd
mov edx, dword [eax]
lea ecx, [esp + 0x90]
push eax
call dword [edx]
mov eax, dword [esp + 0x90]
mov dword [esp + 0x14], eax
jmp 0x4058d5
cmp esi, 3
ja 0x405873
cmp eax, 2
jne 0x405873
cmp byte [0x415a60], 0
je 0x405873
mov ebx, ecx
call fcn.00410a3c
mov edi, eax
mov ecx, ebx
call fcn.00410aea
mov ebx, edx
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
sub edx, ecx
cmp edx, ebx
jae 0x405815
mov ecx, edi
push ebx
push eax
call fcn.004109e2
mov edi, eax
jmp 0x405827
mov eax, dword [esp + 0x88]
mov dword [esp + 0x88], 0
mov dword [esp + 0x134], eax
lea eax, [esp + 0x134]
push eax
call fcn.004097e0
add esp, 4
mov ecx, dword [esp + 0x134]
test ecx, ecx
je 0x40573d
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0x30]
lea eax, [esp + 0xb0]
push eax
call fcn.00409700
movzx eax, byte [esp + 0x30]
test al, 1
je 0x405788
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
jmp 0x40578e
test ebx, ebx
je 0x405773
push ebx
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
add dword [edi + 0x10], ebx
mov ecx, edi
push str.__:_n
call fcn.004026c0
lea ebx, [esp + 0x48]
jmp 0x40586f
shr eax, 1
lea ecx, [esp + 0x31]
mov word [esp + 0x28], 0x503
mov dword [esp + 0x18], str.mach_o_universal_file_for_architecture
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x90], str._is_not_a_mach_o_file_or_an_archive_file
mov word [esp + 0xa0], 0x103
lea eax, [esp + 0x90]
lea ecx, [esp + 0x18]
push eax
push ecx
push ebx
call fcn.00402620
add esp, 0xc
mov dword [esp + 0x18c], esi
mov dword [esp + 0x188], edi
sub esp, 8
movsd xmm0, qword [esp + 0x190]
movsd qword [esp], xmm0
mov ecx, ebx
call fcn.00402740
add esp, 8
test byte [esp + 0x30], 1
je 0x405de3
push dword [esp + 0x38]
call sub.libc.dll_operator_delete_void_
add esp, 4
jmp 0x405de3
test ebx, ebx
je 0x405827
push ebx
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
add dword [edi + 0x10], ebx
mov ecx, edi
push str.__for_architecture
call fcn.004026c0
mov edi, eax
lea ebx, [esp + 0x48]
mov ecx, ebx
lea eax, [esp + 0xb0]
push eax
call fcn.00409700
mov ecx, edi
push ebx
call fcn.00402710
mov ecx, eax
push 0x411870
call fcn.004026c0
test byte [esp + 0x48], 1
je 0x40586f
push dword [esp + 0x50]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 8]
mov edi, ecx
call fcn.004068e0
cmp dword [0x415a44], 0
jne 0x405e82
cmp esi, 3
ja 0x405899
cmp byte [0x415a60], 0
je 0x405e6d
mov esi, ebx
call fcn.00410a3c
mov edi, eax
mov ecx, dword [esp + 8]
call fcn.00410aea
mov ebx, edx
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
sub edx, ecx
cmp edx, ebx
jae 0x405e17
mov ecx, edi
push ebx
push eax
call fcn.004109e2
mov edi, eax
jmp 0x405e29
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x74]
mov dword [esp + 8], eax
lea edi, [esp + 0x18]
mov dword [esp + 0x10], ebx
jmp 0x4058ee
mov ecx, edi
call fcn.00409640
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x2c], 3
ja 0x405904
cmp dword [esp + 8], 4
jb 0x405d1b
cmp eax, ebx
je 0x405d1b
lea ecx, [esp + 0x30]
push 0
push edi
call fcn.00410af6
test byte [esp + 0x34], 1
jne 0x40597f
mov esi, dword [esp + 0x30]
test esi, esi
je 0x405cf8
mov ecx, dword [esi + 4]
lea eax, [ecx - 0x17]
cmp eax, 0xfffffff3
jb 0x405cf8
add ecx, 0xffffffef
mov eax, dword [0x415a44]
cmp eax, 1
mov dword [esp + 0xc], ecx
jne 0x405a50
call fcn.00410a3c
mov edi, eax
mov ecx, esi
call fcn.00410aea
mov ebx, edx
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
sub edx, ecx
cmp edx, ebx
jae 0x405a93
mov ecx, edi
push ebx
push eax
call fcn.004109e2
mov edi, eax
jmp 0x405aa5
mov eax, dword [esp + 0x30]
mov dword [esp + 0x30], 0
mov dword [esp + 0x140], eax
lea eax, [esp + 0x140]
push eax
lea eax, [esp + 0x94]
push eax
call fcn.00410a60
add esp, 8
mov ecx, dword [esp + 0x140]
test ecx, ecx
je 0x4059ba
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x90]
test eax, eax
je 0x405cf8
mov dword [esp + 0x13c], eax
mov dword [esp + 0x90], 0
mov ecx, dword [esp + 0x88]
call fcn.00410aea
mov dword [esp + 0x19c], 0
mov dword [esp + 0x198], 0
sub esp, 0x10
movsd xmm0, qword [esp + 0x1a8]
movsd qword [esp + 8], xmm0
mov dword [esp + 4], edi
mov dword [esp], edx
lea ecx, [esp + 0x14c]
mov edx, eax
call fcn.00406300
add esp, 0x10
mov ecx, dword [esp + 0x13c]
test ecx, ecx
je 0x405a37
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x405cf8
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x405cf8
cmp ecx, 3
ja 0x405bba
cmp eax, 2
jne 0x405bba
call fcn.00410a3c
mov edi, eax
mov ecx, dword [esp + 0x88]
call fcn.00410aea
mov ebx, edx
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
sub edx, ecx
cmp edx, ebx
jae 0x405b01
mov ecx, edi
push ebx
push eax
call fcn.004109e2
mov edi, eax
jmp 0x405b13
test ebx, ebx
je 0x405aa5
push ebx
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
add dword [edi + 0x10], ebx
mov ecx, edi
push str.____ex
call fcn.004026c0
mov edi, eax
mov ecx, dword [esp + 0x88]
call fcn.00410aea
mov ebx, edx
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
sub edx, ecx
cmp edx, ebx
jae 0x405ada
mov ecx, edi
push ebx
push eax
call fcn.004109e2
mov edi, eax
jmp 0x405aec
test ebx, ebx
je 0x405aec
push ebx
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
add dword [edi + 0x10], ebx
mov ebx, dword [esp + 0x10]
mov ecx, edi
push 0x411870
call fcn.004026c0
jmp 0x405bb6
test ebx, ebx
je 0x405b13
push ebx
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
add dword [edi + 0x10], ebx
mov ecx, edi
push 0x411874
call fcn.004026c0
mov edi, eax
mov ecx, esi
call fcn.00410aea
mov ebx, edx
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
sub edx, ecx
cmp edx, ebx
jae 0x405b43
mov ecx, edi
push ebx
push eax
call fcn.004109e2
mov edi, eax
jmp 0x405b55
test ebx, ebx
je 0x405b55
push ebx
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
add dword [edi + 0x10], ebx
mov ecx, edi
push 0x41189d
call fcn.004026c0
mov ecx, eax
push str.__for_architecture
call fcn.004026c0
mov edi, eax
lea ebx, [esp + 0x90]
mov ecx, ebx
lea eax, [esp + 0xb0]
push eax
call fcn.00409700
mov ecx, edi
push ebx
call fcn.00402710
mov ecx, eax
push 0x411870
call fcn.004026c0
test byte [esp + 0x90], 1
mov ebx, dword [esp + 0x10]
je 0x405bb6
push dword [esp + 0x98]
call sub.libc.dll_operator_delete_void_
add esp, 4
lea edi, [esp + 0x18]
mov ecx, esi
call fcn.004068e0
cmp dword [0x415a44], 0
mov eax, dword [esp + 0xc]
jne 0x405cf8
mov ebx, eax
call fcn.00410a3c
mov edi, eax
cmp ebx, 3
ja 0x405c07
mov ecx, dword [esp + 0x88]
call fcn.00410aea
mov ebx, edx
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
sub edx, ecx
cmp edx, ebx
jae 0x405c2d
mov ecx, edi
push ebx
push eax
call fcn.004109e2
mov edi, eax
jmp 0x405c3f
mov ecx, esi
call fcn.00410aea
mov esi, edx
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
sub edx, ecx
cmp edx, esi
jae 0x405c75
mov ecx, edi
push esi
push eax
call fcn.004109e2
mov edi, eax
mov ebx, dword [esp + 0x10]
jmp 0x405c8b
test ebx, ebx
je 0x405c3f
push ebx
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
add dword [edi + 0x10], ebx
mov ecx, edi
push 0x411874
call fcn.004026c0
mov edi, eax
mov ecx, esi
call fcn.00410aea
mov esi, edx
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
sub edx, ecx
cmp edx, esi
mov ebx, dword [esp + 0x10]
jae 0x405cc0
mov ecx, edi
push esi
push eax
call fcn.004109e2
mov edi, eax
mov ecx, eax
jmp 0x405cea
test esi, esi
mov ebx, dword [esp + 0x10]
je 0x405c8b
push esi
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
add dword [edi + 0x10], esi
mov ecx, edi
push str.__ex
call fcn.004026c0
mov esi, eax
mov ecx, dword [esp + 0x88]
call fcn.00410aea
mov edi, edx
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
sub edx, ecx
cmp edx, edi
jae 0x405cd6
mov ecx, esi
push edi
push eax
call fcn.004109e2
mov esi, eax
jmp 0x405ce8
test esi, esi
je 0x405cd2
push esi
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
add dword [edi + 0x10], esi
mov ecx, edi
jmp 0x405cea
test edi, edi
je 0x405ce8
push edi
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
add dword [esi + 0x10], edi
mov ecx, esi
push 0x41187c
call fcn.004026c0
lea edi, [esp + 0x18]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x30], 0
test byte [esp + 0x34], 1
test ecx, ecx
je 0x4058e7
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4058e7
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x405d28
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x1c], 0
test ecx, ecx
je 0x405d3d
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x64], 0
test ecx, ecx
je 0x405d52
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x4c], 0
test ecx, ecx
je 0x405d67
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x405de3
mov dword [esp + 0x138], eax
mov dword [esp + 0x40], 0
mov ecx, dword [esp + 0x88]
call fcn.00410aea
mov dword [esp + 0x194], 0
mov dword [esp + 0x190], 0
sub esp, 0xc
movsd xmm0, qword [esp + 0x19c]
movsd qword [esp + 4], xmm0
mov dword [esp], edx
lea ecx, [esp + 0x144]
mov edx, eax
call fcn.00405f90
add esp, 0xc
mov ecx, dword [esp + 0x138]
test ecx, ecx
je 0x405dd6
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x405de3
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x88], 0
test byte [esp + 0x8c], 1
test ecx, ecx
je 0x405e06
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jne 0x4040ee
jmp 0x4040f3
test ebx, ebx
je 0x405e29
push ebx
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
add dword [edi + 0x10], ebx
mov ecx, edi
push str.__for_architecture
call fcn.004026c0
mov edi, eax
mov ecx, esi
lea eax, [esp + 0xb0]
push eax
call fcn.00409700
mov ecx, edi
push esi
call fcn.00402710
mov ecx, eax
push 0x41189d
call fcn.004026c0
test byte [esp + 0x48], 1
je 0x405e6d
push dword [esp + 0x50]
call sub.libc.dll_operator_delete_void_
add esp, 4
call fcn.00410a3c
mov ecx, eax
push 0x41189f
call fcn.004026c0
mov edi, dword [esp + 8]
mov eax, dword [edi]
mov ecx, edi
jmp 0x4040f0