Function at 0x40e680
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d5174
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
cmp edi, ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x10], ebx
je 0x40eb80
push edi
call fcn.00453b6c
add esp, 4
test eax, eax
je 0x40eb80
cmp dword [esi + 0x40], ebx
je 0x40eac4
push edi
lea ecx, [esp + 0x18]
call fcn.005bbaf7
xor eax, eax
lea ecx, [esp + 0x64]
mov dword [esp + 0x3e], eax
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x42], eax
mov word [esp + 0x3c], 0x54
mov dword [esp + 0x46], eax
mov word [esp + 0x3e], 0x65
mov dword [esp + 0x4a], eax
mov word [esp + 0x40], 0x63
mov dword [esp + 0x4e], eax
mov word [esp + 0x42], 0x6c
mov word [esp + 0x52], ax
mov word [esp + 0x44], 0x69
mov word [esp + 0x46], 0x6e
mov word [esp + 0x48], 0x6b
mov word [esp + 0x4a], 0x32
mov word [esp + 0x4c], 0x30
mov word [esp + 0x4e], 0x31
mov word [esp + 0x50], 0x37
mov word [esp + 0x52], bx
call fcn.004ba850
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x3c]
push ecx
push edx
lea ecx, [esp + 0x6c]
mov byte [esp + 0xa8], 1
call fcn.004baa80
test eax, eax
je 0x40eaea
lea ecx, [esp + 0x64]
call fcn.004bcf10
cmp eax, ebx
mov dword [esp + 0x5c], eax
je 0x40eb0d
mov ecx, 0x65ed50
call fcn.0040a5c0
mov eax, dword [0x5f5614]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x1c], eax
mov dword [esi + 0x48], ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0xa0], 2
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x4c], ebx
call fcn.0047ecd0
mov ecx, dword [0x641250]
mov dword [esp + 0x58], ebx
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x5c]
xor edi, edi
cmp eax, ebx
mov byte [esp + 0xa0], 4
mov dword [esp + 0x30], edi
mov dword [esp + 0x20], ebx
jle 0x40eb33
lea ecx, [esp + 0xc]
call fcn.005bba0b
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x58]
lea eax, [esp + 0xc]
push edx
push eax
push ecx
lea ecx, [esp + 0x70]
call fcn.004bcf20
test eax, eax
je 0x40e9af
cmp dword [esp + 0x58], ebx
je 0x40e9af
mov edx, dword [esp + 0xc]
mov ecx, 0x65f090
push edx
call fcn.0042ee10
test eax, eax
je 0x40e8c3
push str.CheckImportAuth_Identify
push str.CheckModule
push 0xf
push 0x667744
call fcn.00447b00
add esp, 0x10
lea ecx, [esp + 0x24]
call fcn.0047ecd0
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0x6c]
mov byte [esp + 0xa8], 5
call fcn.004bc060
test eax, eax
je 0x40e8ad
lea edx, [esp + 0x18]
lea eax, [esp + 0x24]
push edx
push eax
mov ecx, 0x65f090
call fcn.0042ee90
push eax
push str.CheckImportAuth_bGetIdentify__lu_
push str.CheckModule
push 0xf
push 0x667744
call fcn.00447b00
add esp, 0x14
inc edi
mov byte [esp + 0xa0], 4
mov dword [esp + 0x30], edi
lea ecx, [esp + 0x24]
jmp 0x40e9a5
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, 0x65f090
call fcn.0042d800
test eax, eax
je 0x40e9aa
push str.CheckImportAuth_basic
push str.CheckModule
push 0xf
push 0x667744
call fcn.00447b00
add esp, 0x10
lea ecx, [esp + 0x2c]
call fcn.0047ecd0
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x2c]
push edx
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0xa8], 6
call fcn.004bc060
test eax, eax
je 0x40e994
lea ecx, [esp + 0x34]
lea edx, [esp + 0x54]
push ecx
lea eax, [esp + 0x30]
push edx
push eax
mov ecx, 0x65f090
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x60], ebx
call fcn.0042e0c0
mov edi, eax
cmp edi, ebx
je 0x40e972
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov dword [esi + 0x50], ecx
mov ecx, eax
mov dword [esi + 0x48], edx
push ecx
push edx
mov ecx, esi
mov dword [esi + 0x4c], eax
call fcn.0040ff50
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x50]
push eax
push edi
push str.CheckImportAuth_bSDProductID__lu___0x_x_
push str.CheckModule
push 0xf
push 0x667744
call fcn.00447b00
mov edi, dword [esp + 0x48]
add esp, 0x18
inc edi
mov byte [esp + 0xa0], 4
mov dword [esp + 0x30], edi
lea ecx, [esp + 0x2c]
call fcn.0047ee00
cmp edi, 2
je 0x40e9cd
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x5c]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x40e7f4
cmp edi, 2
jne 0x40eb33
push str.CheckImportAuth_g_globalInfoImport_update_info
push str.CheckModule
push 0xf
push 0x667744
call fcn.00447b00
mov ecx, dword [esi + 0x4c]
mov edx, dword [esi + 0x48]
add esp, 0x10
push ecx
push edx
mov ecx, 0x65ed50
call fcn.0040a760
mov eax, dword [esi + 0x50]
mov ecx, 0x65ed50
push eax
call fcn.0040a600
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x65ed50
call fcn.0040a880
mov ecx, 0x65ed50
call fcn.0040a6d0
mov ecx, dword [esi + 0x50]
mov dword [0x65f064], eax
mov dword [0x65f060], ecx
mov ecx, esi
call fcn.0040ffe0
test eax, eax
je 0x40eb59
mov ecx, esi
call fcn.0040f810
test eax, eax
je 0x40ea56
mov ecx, esi
call fcn.0040ff70
test eax, eax
je 0x40eb66
cmp dword [esp + 0x60], ebx
jne 0x40eb73
mov dword [esp + 0x28], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0xa0], 3
call fcn.005bba83
lea ecx, [esp + 0x18]
mov byte [esp + 0xa0], 2
call fcn.0047ee00
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa0], 1
call fcn.0046cf50
lea ecx, [esp + 0x64]
mov byte [esp + 0xa0], bl
call fcn.004ba970
lea ecx, [esp + 0x14]
mov dword [esp + 0xa0], 0xffffffff
call fcn.005bba83
jmp 0x40eb88
push str.CImportAuthMgr::CheckImportAuth_NOT_init_
push str.CheckModule
push 0xf
push 0x667744
call fcn.00447b00
add esp, 0x10
mov dword [esp + 0x10], 1
jmp 0x40eb88
push str.CImportAuthMgr::CheckImportAuth_Open_fail_
push str.CheckModule
push 0xf
push 0x667744
call fcn.00447b00
add esp, 0x10
mov dword [esp + 0x10], 5
jmp 0x40ea9b
push str.CImportAuthMgr::CheckImportAuth_no_files_
push str.CheckModule
push 0xf
push 0x667744
call fcn.00447b00
add esp, 0x10
mov dword [esp + 0x10], 6
jmp 0x40ea9b
push str.CheckImportAuth_nCheckHelper___2
push str.CheckModule
push 0xf
push 0x667744
call fcn.00447b00
add esp, 0x10
mov dword [esp + 0x10], 8
jmp 0x40ea68
mov dword [esp + 0x10], 9
jmp 0x40ea68
mov dword [esp + 0x10], 0xa
jmp 0x40ea68
mov dword [esp + 0x10], 7
jmp 0x40ea68
mov dword [esp + 0x10], 2
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
push edx
push eax
push str.CheckImportAuth_dwErr_0x_x___ret__lu_
push str.CheckModule
push 0xf
push 0x667744
mov dword [esi + 0x5c], eax
call fcn.00447b00
mov ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0x40]
add esp, 0x18
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4