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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x4ad00c]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
push 0
mov ebx, ecx
push 0
push 0x1032
mov dword [esp + 0x1c], ebx
push dword [ebx + 0x28]
call dword [0x43025c]
test eax, eax
je 0x412de9
push 2
push 0xffffffffffffffff
push 0x100c
push dword [ebx + 0x28]
call dword [0x43025c]
push 0
push 0
push 0x147
push dword [ebx + 0x4c]
mov esi, eax
mov dword [esp + 0x2c], esi
call dword [0x43025c]
mov dword [esp + 0x58], eax
cmp esi, 0xffffffff
je 0x412de9
mov eax, dword [ebx + 0x44]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041aab9
mov edi, eax
add esp, 4
mov dword [esp + 0x24], edi
test edi, edi
je 0x412de9
mov esi, dword [ebx + 0x44]
lea eax, [esp + 0x70]
push 0x34
push 0
push eax
call fcn.0041c3e0
add esp, 0xc
mov dword [esp + 0x78], 0
lea eax, [esp + 0x70]
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], edi
push eax
push dword [esp + 0x20]
push 0x1073
push dword [ebx + 0x28]
call dword [0x43025c]
inc eax
cmp eax, 1
jbe 0x412d82
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call dword [0x430040]
mov esi, eax
push esi
call fcn.0041aab9
mov ebx, eax
add esp, 4
mov dword [esp + 0x20], ebx
test ebx, ebx
je 0x412de0
push 0
push 0
push esi
push ebx
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call dword [0x430040]
test eax, eax
je 0x412dd7
mov eax, dword [esp + 0x58]
mov byte [esp + 0xe], 0
mov byte [esp + 0xf], 0
mov dword [esp + 0x18], 0x2b5d
sub eax, 0
je 0x4128d0
sub eax, 1
je 0x4128bc
sub eax, 1
jne 0x4128e2
mov byte [esp + 0xe], 1
mov dword [esp + 0x18], 0x2b5c
jmp 0x4128dd
mov byte [esp + 0xe], 1
mov byte [esp + 0xf], 1
mov dword [esp + 0x18], 0x2b5e
jmp 0x4128e2
mov byte [esp + 0xe], 0
mov dword [esp + 0x18], 0x2b5d
mov byte [esp + 0xf], 0
push 0xd
call fcn.0041aab9
mov edi, eax
add esp, 4
test edi, edi
je 0x41291b
movq xmm0, qword [str.alwayssecure]
mov esi, edi
movq qword [edi], xmm0
mov ecx, dword [0x43d8a8]
mov dword [edi + 8], ecx
mov byte [edi + 0xc], 0
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x412910
sub esi, ecx
jmp 0x41291d
xor esi, esi
lea eax, [esi + 1]
push eax
call fcn.0041aab9
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x412942
test esi, esi
je 0x41293e
push esi
push edi
push ebx
call fcn.0042ed60
add esp, 0xc
mov byte [ebx + esi], 0
lea eax, [esp + 0xe]
mov dword [esp + 0x48], ebx
push eax
push 1
lea ecx, [esp + 0x50]
mov dword [esp + 0x54], 1
call fcn.00408040
test edi, edi
je 0x41296b
push edi
call fcn.0041aab4
add esp, 4
push 0xc
call fcn.0041aab9
mov edi, eax
add esp, 4
test edi, edi
je 0x4129af
movq xmm0, qword [str.allowsecure]
mov esi, edi
movq qword [edi], xmm0
mov cx, word [0x43d89c]
mov word [edi + 8], cx
mov cl, byte [0x43d89e]
mov byte [edi + 0xa], cl
lea ecx, [esi + 1]
mov byte [edi + 0xb], 0
mov al, byte [esi]
inc esi
test al, al
jne 0x4129a4
sub esi, ecx
jmp 0x4129b1
xor esi, esi
lea eax, [esi + 1]
push eax
call fcn.0041aab9
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4129d6
test esi, esi
je 0x4129d2
push esi
push edi
push ebx
call fcn.0042ed60
add esp, 0xc
mov byte [ebx + esi], 0
lea eax, [esp + 0xf]
mov dword [esp + 0x38], ebx
push eax
push 1
lea ecx, [esp + 0x40]
mov dword [esp + 0x44], 1
call fcn.00408040
test edi, edi
je 0x4129ff
push edi
call fcn.0041aab4
add esp, 4
mov edi, dword [esp + 0x20]
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x412a08
sub esi, ecx
lea eax, [esi + 1]
push eax
call fcn.0041aab9
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x412a36
test esi, esi
je 0x412a32
push esi
push edi
push ebx
call fcn.0042ed60
add esp, 0xc
mov byte [ebx + esi], 0
push 0xd
mov dword [esp + 0x18], ebx
call fcn.0041aab9
mov edi, eax
add esp, 4
test edi, edi
je 0x412a63
movq xmm0, qword [str.alwayssecure]
movq qword [edi], xmm0
mov ecx, dword [0x43d8a8]
mov dword [edi + 8], ecx
mov byte [edi + 0xc], 0
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
mov eax, dword [eax + 0x3c]
mov ecx, eax
mov dword [esp + 0x38], eax
call fcn.00408560
sub esp, 0x10
mov dword [esp + 0x40], eax
lea eax, [esp + 0x58]
mov ecx, esp
push eax
call fcn.00407d00
push ecx
mov dword [esp + 0x40], esp
test edi, edi
je 0x412aab
mov esi, edi
lea ecx, [esi + 1]
nop dword [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x412aa0
sub esi, ecx
jmp 0x412aad
xor esi, esi
lea eax, [esi + 1]
push eax
call fcn.0041aab9
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
je 0x412ad8
test esi, esi
je 0x412ad4
push esi
push edi
push eax
call fcn.0042ed60
mov eax, dword [esp + 0x48]
add esp, 0xc
mov byte [eax + esi], 0
mov ecx, dword [esp + 0x40]
mov dword [ecx], eax
lea eax, [esp + 0x74]
mov ecx, dword [esp + 0x44]
push eax
call fcn.0040b040
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x14]
push eax
call fcn.0040a5d0
mov byte [esp + 0xf], al
test edi, edi
je 0x412b0b
push edi
call fcn.0041aab4
add esp, 4
test ebx, ebx
je 0x412b18
push ebx
call fcn.0041aab4
add esp, 4
mov edi, dword [esp + 0x20]
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x412b21
sub esi, ecx
lea eax, [esi + 1]
push eax
call fcn.0041aab9
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x412b4f
test esi, esi
je 0x412b4b
push esi
push edi
push ebx
call fcn.0042ed60
add esp, 0xc
mov byte [ebx + esi], 0
push 0xc
mov dword [esp + 0x18], ebx
call fcn.0041aab9
mov edi, eax
add esp, 4
test edi, edi
je 0x412b87
movq xmm0, qword [str.allowsecure]
movq qword [edi], xmm0
mov cx, word [0x43d89c]
mov word [edi + 8], cx
mov cl, byte [0x43d89e]
mov byte [edi + 0xa], cl
mov byte [edi + 0xb], 0
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
mov eax, dword [eax + 0x3c]
mov ecx, eax
mov dword [esp + 0x2c], eax
call fcn.00408560
sub esp, 0x10
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x48]
mov ecx, esp
push eax
call fcn.00407d00
push ecx
mov dword [esp + 0x44], esp
test edi, edi
je 0x412bcb
mov esi, edi
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x412bc0
sub esi, ecx
jmp 0x412bcd
xor esi, esi
lea eax, [esi + 1]
push eax
call fcn.0041aab9
add esp, 4
mov dword [esp + 0x48], eax
test eax, eax
je 0x412bf8
test esi, esi
je 0x412bf4
push esi
push edi
push eax
call fcn.0042ed60
mov eax, dword [esp + 0x54]
add esp, 0xc
mov byte [eax + esi], 0
mov ecx, dword [esp + 0x44]
mov dword [ecx], eax
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0x40]
push eax
call fcn.0040b040
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x14]
push eax
call fcn.0040a5d0
mov byte [esp + 0xe], al
test edi, edi
je 0x412c2b
push edi
call fcn.0041aab4
add esp, 4
test ebx, ebx
je 0x412c38
push ebx
call fcn.0041aab4
add esp, 4
cmp byte [esp + 0xf], 0
je 0x412cb3
cmp byte [esp + 0xe], 0
je 0x412cb3
push 0x34
call fcn.0041aad0
mov edi, eax
add esp, 4
test edi, edi
je 0x412daa
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
push dword [esp + 0x18]
mov dword [edi + 4], eax
mov dword [edi + 8], 1
mov dword [edi], 1
mov ecx, dword [ebx + 0x40]
call fcn.0041a280
push eax
lea ecx, [esp + 0x60]
call fcn.00403460
mov esi, dword [esp + 0x5c]
push edi
push 0
push 0x104c
mov dword [edi + 0x14], esi
push dword [ebx + 0x28]
call dword [0x43025c]
push 0x34
push edi
call fcn.0041aac2
push esi
call fcn.0041aab4
add esp, 0xc
jmp 0x412cb7
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x20]
push edi
call fcn.0041aab4
mov eax, dword [esp + 0x40]
add esp, 4
sub eax, 2
je 0x412cee
sub eax, 1
jne 0x412d10
mov edi, dword [esp + 0x40]
test edi, edi
je 0x412d10
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x430274]
mov ecx, edi
call esi
jmp 0x412d10
mov esi, dword [esp + 0x40]
test esi, esi
je 0x412d10
mov eax, dword [esi]
test eax, eax
je 0x412d05
push eax
call fcn.0041aab4
add esp, 4
push 4
push esi
call fcn.0041aac2
add esp, 8
mov eax, dword [esp + 0x38]
test eax, eax
je 0x412d21
push eax
call fcn.0041aab4
add esp, 4
mov eax, dword [esp + 0x4c]
sub eax, 2
je 0x412d4b
sub eax, 1
jne 0x412d6d
mov edi, dword [esp + 0x50]
test edi, edi
je 0x412d6d
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x430274]
mov ecx, edi
call esi
jmp 0x412d6d
mov esi, dword [esp + 0x50]
test esi, esi
je 0x412d6d
mov eax, dword [esi]
test eax, eax
je 0x412d62
push eax
call fcn.0041aab4
add esp, 4
push 4
push esi
call fcn.0041aac2
add esp, 8
mov eax, dword [esp + 0x48]
test eax, eax
je 0x412d7e
push eax
call fcn.0041aab4
add esp, 4
mov edi, dword [esp + 0x24]
push edi
call fcn.0041aab4
add esp, 4
push 2
push dword [esp + 0x20]
push 0x100c
push dword [ebx + 0x28]
call dword [0x43025c]
mov esi, eax
mov dword [esp + 0x1c], esi
jmp 0x4127bb
mov edi, dword [esp + 0x20]
push edi
call fcn.0041aab4
add esp, 4
push dword [esp + 0x24]
call fcn.0041aab4
add esp, 4
lea ecx, [esp + 0x38]
call fcn.00407fc0
lea ecx, [esp + 0x48]
call fcn.00407fc0
jmp 0x412de9
push ebx
call fcn.0041aab4
add esp, 4
push edi
call fcn.0041aab4
add esp, 4
mov ecx, dword [esp + 0xa4]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041aaa3
mov esp, ebp
pop ebp
ret 0x10