Function at 0x40d170
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a1554
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 0x40d670
push edi
call fcn.0044c0ec
add esp, 4
test eax, eax
je 0x40d670
cmp dword [esi + 0x40], ebx
je 0x40d5b4
push edi
lea ecx, [esp + 0x18]
call fcn.00588149
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.0049db20
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x3c]
push ecx
push edx
lea ecx, [esp + 0x6c]
mov byte [esp + 0xa8], 1
call fcn.0049dd70
test eax, eax
je 0x40d5da
lea ecx, [esp + 0x64]
call fcn.004a01d0
cmp eax, ebx
mov dword [esp + 0x5c], eax
je 0x40d5fd
mov ecx, 0x620950
call fcn.00409ef0
mov eax, dword [0x5be444]
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.00477240
mov ecx, dword [0x603f10]
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 0x40d623
lea ecx, [esp + 0xc]
call fcn.0058805d
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.004a01e0
test eax, eax
je 0x40d49f
cmp dword [esp + 0x58], ebx
je 0x40d49f
mov edx, dword [esp + 0xc]
mov ecx, 0x620c48
push edx
call fcn.004275f0
test eax, eax
je 0x40d3b3
push str.CheckImportAuth_Identify
push str.CheckModule
push 0xf
push 0x6292fc
call fcn.00440080
add esp, 0x10
lea ecx, [esp + 0x24]
call fcn.00477240
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0x6c]
mov byte [esp + 0xa8], 5
call fcn.0049f330
test eax, eax
je 0x40d39d
lea edx, [esp + 0x18]
lea eax, [esp + 0x24]
push edx
push eax
mov ecx, 0x620c48
call fcn.00427670
push eax
push str.CheckImportAuth_bGetIdentify__lu_
push str.CheckModule
push 0xf
push 0x6292fc
call fcn.00440080
add esp, 0x14
inc edi
mov byte [esp + 0xa0], 4
mov dword [esp + 0x30], edi
lea ecx, [esp + 0x24]
jmp 0x40d495
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, 0x620c48
call fcn.00426540
test eax, eax
je 0x40d49a
push str.CheckImportAuth_basic
push str.CheckModule
push 0xf
push 0x6292fc
call fcn.00440080
add esp, 0x10
lea ecx, [esp + 0x2c]
call fcn.00477240
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x2c]
push edx
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0xa8], 6
call fcn.0049f330
test eax, eax
je 0x40d484
lea ecx, [esp + 0x34]
lea edx, [esp + 0x54]
push ecx
lea eax, [esp + 0x30]
push edx
push eax
mov ecx, 0x620c48
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x60], ebx
call fcn.00426e00
mov edi, eax
cmp edi, ebx
je 0x40d462
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.0040e360
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 0x6292fc
call fcn.00440080
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.00477370
cmp edi, 2
je 0x40d4bd
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x5c]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x40d2e4
cmp edi, 2
jne 0x40d623
push str.CheckImportAuth_g_globalInfoImport_update_info
push str.CheckModule
push 0xf
push 0x6292fc
call fcn.00440080
mov ecx, dword [esi + 0x4c]
mov edx, dword [esi + 0x48]
add esp, 0x10
push ecx
push edx
mov ecx, 0x620950
call fcn.0040a030
mov eax, dword [esi + 0x50]
mov ecx, 0x620950
push eax
call fcn.00409f30
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x620950
call fcn.0040a150
mov ecx, 0x620950
call fcn.0040a000
mov ecx, dword [esi + 0x50]
mov dword [0x620c20], eax
mov dword [0x620c1c], ecx
mov ecx, esi
call fcn.0040e3f0
test eax, eax
je 0x40d649
mov ecx, esi
call fcn.0040dc30
test eax, eax
je 0x40d546
mov ecx, esi
call fcn.0040e380
test eax, eax
je 0x40d656
cmp dword [esp + 0x60], ebx
jne 0x40d663
mov dword [esp + 0x28], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0xa0], 3
call fcn.005880d5
lea ecx, [esp + 0x18]
mov byte [esp + 0xa0], 2
call fcn.00477370
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa0], 1
call fcn.004654c0
lea ecx, [esp + 0x64]
mov byte [esp + 0xa0], bl
call fcn.0049dc40
lea ecx, [esp + 0x14]
mov dword [esp + 0xa0], 0xffffffff
call fcn.005880d5
jmp 0x40d678
push str.CImportAuthMgr::CheckImportAuth_NOT_init_
push str.CheckModule
push 0xf
push 0x6292fc
call fcn.00440080
add esp, 0x10
mov dword [esp + 0x10], 1
jmp 0x40d678
push str.CImportAuthMgr::CheckImportAuth_Open_fail_
push str.CheckModule
push 0xf
push 0x6292fc
call fcn.00440080
add esp, 0x10
mov dword [esp + 0x10], 5
jmp 0x40d58b
push str.CImportAuthMgr::CheckImportAuth_no_files_
push str.CheckModule
push 0xf
push 0x6292fc
call fcn.00440080
add esp, 0x10
mov dword [esp + 0x10], 6
jmp 0x40d58b
push str.CheckImportAuth_nCheckHelper___2
push str.CheckModule
push 0xf
push 0x6292fc
call fcn.00440080
add esp, 0x10
mov dword [esp + 0x10], 8
jmp 0x40d558
mov dword [esp + 0x10], 9
jmp 0x40d558
mov dword [esp + 0x10], 0xa
jmp 0x40d558
mov dword [esp + 0x10], 7
jmp 0x40d558
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 0x6292fc
mov dword [esi + 0x5c], eax
call fcn.00440080
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