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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4be901
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x4fe320]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
push edi
mov eax, dword [0x4fe320]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x38], 0
call fcn.0047c290
mov cl, al
mov eax, dword [0x504930]
test al, 1
jne 0x40a338
or eax, 1
mov dword [0x504930], eax
test cl, cl
mov dword [esp + 0xd8], 0
mov eax, str.common_msg_noice48.png
mov dword [esp + 0x14], 2
mov esi, str.commonEnalarge_msg_noice48.png
lea ecx, [esp + 0x54]
cmove esi, eax
xorps xmm0, xmm0
lea eax, [esp + 0x1c]
movq qword [0x504934], xmm0
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x20], esi
push eax
call fcn.0040b1c0
lea eax, [esp + 0x14]
mov byte [esp + 0xd8], 1
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x18], esi
push eax
lea ecx, [esp + 0x78]
mov dword [esp + 0x24], 0
call fcn.0040b1c0
lea eax, [esp + 0x14]
mov byte [esp + 0xd8], 2
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x18], esi
push eax
lea ecx, [esp + 0x94]
mov dword [esp + 0x24], 1
call fcn.0040b1c0
mov byte [esp + 0xd8], 3
lea ecx, [esp + 0xac]
push 0x13
xor eax, eax
mov dword [esp + 0xac], 3
push str.common_msg_ok48.png
mov dword [esp + 0xc8], 7
mov dword [esp + 0xc4], 0
mov word [esp + 0xb4], ax
call fcn.00408780
lea eax, [esp + 0xc4]
mov byte [esp + 0xd8], 4
lea ecx, [esp + 0x54]
push eax
push ecx
call fcn.0040a530
push fcn.0040a440
push 4
push 0x1c
lea eax, [esp + 0x60]
mov byte [esp + 0xe4], 0
push eax
call fcn.004bcf75
push 0x4cab60
call fcn.004bcf60
mov dword [esp + 0xdc], 0xffffffff
add esp, 4
mov esi, dword [esp + 0x18]
mov edx, dword [0x504934]
mov ecx, edx
mov eax, dword [edx + 4]
cmp byte [eax + 0xd], 0
jne 0x40a371
lea esp, [esp]
cmp dword [eax + 0x10], edi
jge 0x40a35a
mov eax, dword [eax + 8]
jmp 0x40a35e
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x40a350
cmp ecx, edx
je 0x40a371
mov dword [esp + 0x18], ecx
cmp edi, dword [ecx + 0x10]
jge 0x40a375
mov dword [esp + 0x18], edx
lea eax, [esp + 0x18]
mov eax, dword [eax]
cmp eax, edx
je 0x40a3b1
xor ecx, ecx
mov dword [esp + 0x34], 7
push 0xffffffffffffffff
push ecx
add eax, 0x14
mov word [esp + 0x28], cx
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x3c], 0
call fcn.00408360
lea eax, [esp + 0x20]
mov ebx, 1
jmp 0x40a3c4
push 0x4d48b8
lea ecx, [esp + 0x40]
call fcn.00408880
mov ebx, 2
push eax
mov ecx, esi
call fcn.0040bf20
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
or ebx, 4
test bl, 2
je 0x40a404
and ebx, 0xfffffffd
cmp dword [esp + 0x50], 8
jb 0x40a3ed
push dword [esp + 0x3c]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], ax
test bl, 1
je 0x40a419
cmp dword [esp + 0x34], 8
jb 0x40a419
push dword [esp + 0x20]
call edi
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.004bce6c
mov esp, ebp
pop ebp
ret