Function at 0x40e570
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5c5c24
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 0x40ea70
push edi
call fcn.00451ffc
add esp, 4
test eax, eax
je 0x40ea70
cmp dword [esi + 0x40], ebx
je 0x40e9b4
push edi
lea ecx, [esp + 0x18]
call fcn.005ac5b7
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.004b8f80
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x3c]
push ecx
push edx
lea ecx, [esp + 0x6c]
mov byte [esp + 0xa8], 1
call fcn.004b91b0
test eax, eax
je 0x40e9da
lea ecx, [esp + 0x64]
call fcn.004bb640
cmp eax, ebx
mov dword [esp + 0x5c], eax
je 0x40e9fd
mov ecx, 0x64c010
call fcn.0040a530
mov eax, dword [0x5e45d4]
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.0047d160
mov ecx, dword [0x62ed80]
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 0x40ea23
lea ecx, [esp + 0xc]
call fcn.005ac4cb
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.004bb650
test eax, eax
je 0x40e89f
cmp dword [esp + 0x58], ebx
je 0x40e89f
mov edx, dword [esp + 0xc]
mov ecx, 0x64c350
push edx
call fcn.0042d370
test eax, eax
je 0x40e7b3
push str.CheckImportAuth_Identify
push str.CheckModule
push 0xf
push 0x654a04
call fcn.00445f90
add esp, 0x10
lea ecx, [esp + 0x24]
call fcn.0047d160
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0x6c]
mov byte [esp + 0xa8], 5
call fcn.004ba790
test eax, eax
je 0x40e79d
lea edx, [esp + 0x18]
lea eax, [esp + 0x24]
push edx
push eax
mov ecx, 0x64c350
call fcn.0042d3f0
push eax
push str.CheckImportAuth_bGetIdentify__lu_
push str.CheckModule
push 0xf
push 0x654a04
call fcn.00445f90
add esp, 0x14
inc edi
mov byte [esp + 0xa0], 4
mov dword [esp + 0x30], edi
lea ecx, [esp + 0x24]
jmp 0x40e895
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, 0x64c350
call fcn.0042bd60
test eax, eax
je 0x40e89a
push str.CheckImportAuth_basic
push str.CheckModule
push 0xf
push 0x654a04
call fcn.00445f90
add esp, 0x10
lea ecx, [esp + 0x2c]
call fcn.0047d160
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x2c]
push edx
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0xa8], 6
call fcn.004ba790
test eax, eax
je 0x40e884
lea ecx, [esp + 0x34]
lea edx, [esp + 0x54]
push ecx
lea eax, [esp + 0x30]
push edx
push eax
mov ecx, 0x64c350
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x60], ebx
call fcn.0042c620
mov edi, eax
cmp edi, ebx
je 0x40e862
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.0040fd30
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 0x654a04
call fcn.00445f90
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.0047d290
cmp edi, 2
je 0x40e8bd
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x5c]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x40e6e4
cmp edi, 2
jne 0x40ea23
push str.CheckImportAuth_g_globalInfoImport_update_info
push str.CheckModule
push 0xf
push 0x654a04
call fcn.00445f90
mov ecx, dword [esi + 0x4c]
mov edx, dword [esi + 0x48]
add esp, 0x10
push ecx
push edx
mov ecx, 0x64c010
call fcn.0040a6d0
mov eax, dword [esi + 0x50]
mov ecx, 0x64c010
push eax
call fcn.0040a570
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x64c010
call fcn.0040a7f0
mov ecx, 0x64c010
call fcn.0040a640
mov ecx, dword [esi + 0x50]
mov dword [0x64c324], eax
mov dword [0x64c320], ecx
mov ecx, esi
call fcn.0040fdc0
test eax, eax
je 0x40ea49
mov ecx, esi
call fcn.0040f5e0
test eax, eax
je 0x40e946
mov ecx, esi
call fcn.0040fd50
test eax, eax
je 0x40ea56
cmp dword [esp + 0x60], ebx
jne 0x40ea63
mov dword [esp + 0x28], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0xa0], 3
call fcn.005ac543
lea ecx, [esp + 0x18]
mov byte [esp + 0xa0], 2
call fcn.0047d290
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa0], 1
call fcn.0046b3e0
lea ecx, [esp + 0x64]
mov byte [esp + 0xa0], bl
call fcn.004b90a0
lea ecx, [esp + 0x14]
mov dword [esp + 0xa0], 0xffffffff
call fcn.005ac543
jmp 0x40ea78
push str.CImportAuthMgr::CheckImportAuth_NOT_init_
push str.CheckModule
push 0xf
push 0x654a04
call fcn.00445f90
add esp, 0x10
mov dword [esp + 0x10], 1
jmp 0x40ea78
push str.CImportAuthMgr::CheckImportAuth_Open_fail_
push str.CheckModule
push 0xf
push 0x654a04
call fcn.00445f90
add esp, 0x10
mov dword [esp + 0x10], 5
jmp 0x40e98b
push str.CImportAuthMgr::CheckImportAuth_no_files_
push str.CheckModule
push 0xf
push 0x654a04
call fcn.00445f90
add esp, 0x10
mov dword [esp + 0x10], 6
jmp 0x40e98b
push str.CheckImportAuth_nCheckHelper___2
push str.CheckModule
push 0xf
push 0x654a04
call fcn.00445f90
add esp, 0x10
mov dword [esp + 0x10], 8
jmp 0x40e958
mov dword [esp + 0x10], 9
jmp 0x40e958
mov dword [esp + 0x10], 0xa
jmp 0x40e958
mov dword [esp + 0x10], 7
jmp 0x40e958
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 0x654a04
mov dword [esi + 0x5c], eax
call fcn.00445f90
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