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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bfa41
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x501320]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
push edi
mov eax, dword [0x501320]
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.0047d230
mov cl, al
mov eax, dword [0x507de0]
test al, 1
jne 0x40b5f8
or eax, 1
mov dword [0x507de0], 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 [0x507de4], xmm0
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x20], esi
push eax
call fcn.0040c580
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.0040c580
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.0040c580
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.004098a0
lea eax, [esp + 0xc4]
mov byte [esp + 0xd8], 4
lea ecx, [esp + 0x54]
push eax
push ecx
call fcn.0040b7f0
push fcn.0040b700
push 4
push 0x1c
lea eax, [esp + 0x60]
mov byte [esp + 0xe4], 0
push eax
call fcn.004bdef5
push 0x4cbdd0
call fcn.004bdee0
mov dword [esp + 0xdc], 0xffffffff
add esp, 4
mov esi, dword [esp + 0x18]
mov edx, dword [0x507de4]
mov ecx, edx
mov eax, dword [edx + 4]
cmp byte [eax + 0xd], 0
jne 0x40b631
lea esp, [esp]
cmp dword [eax + 0x10], edi
jge 0x40b61a
mov eax, dword [eax + 8]
jmp 0x40b61e
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x40b610
cmp ecx, edx
je 0x40b631
mov dword [esp + 0x18], ecx
cmp edi, dword [ecx + 0x10]
jge 0x40b635
mov dword [esp + 0x18], edx
lea eax, [esp + 0x18]
mov eax, dword [eax]
cmp eax, edx
je 0x40b671
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.00409500
lea eax, [esp + 0x20]
mov ebx, 1
jmp 0x40b684
push 0x4d58ec
lea ecx, [esp + 0x40]
call fcn.004099a0
mov ebx, 2
push eax
mov ecx, esi
call fcn.004092b0
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
or ebx, 4
test bl, 2
je 0x40b6c4
and ebx, 0xfffffffd
cmp dword [esp + 0x50], 8
jb 0x40b6ad
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 0x40b6d9
cmp dword [esp + 0x34], 8
jb 0x40b6d9
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.004bddec
mov esp, ebp
pop ebp
ret