Function at 0x40d610
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b70e4
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 0x40db10
push edi
call fcn.0044fa0c
add esp, 4
test eax, eax
je 0x40db10
cmp dword [esi + 0x40], ebx
je 0x40da54
push edi
lea ecx, [esp + 0x18]
call fcn.0059dc03
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.004b12f0
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x3c]
push ecx
push edx
lea ecx, [esp + 0x6c]
mov byte [esp + 0xa8], 1
call fcn.004b1520
test eax, eax
je 0x40da7a
lea ecx, [esp + 0x64]
call fcn.004b39b0
cmp eax, ebx
mov dword [esp + 0x5c], eax
je 0x40da9d
mov ecx, 0x639a10
call fcn.0040a1b0
mov eax, dword [0x5d44ec]
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.0047ab70
mov ecx, dword [0x61cab0]
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 0x40dac3
lea ecx, [esp + 0xc]
call fcn.0059db17
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.004b39c0
test eax, eax
je 0x40d93f
cmp dword [esp + 0x58], ebx
je 0x40d93f
mov edx, dword [esp + 0xc]
mov ecx, 0x639d50
push edx
call fcn.0042aed0
test eax, eax
je 0x40d853
push str.CheckImportAuth_Identify
push str.CheckModule
push 0xf
push 0x642404
call fcn.004439a0
add esp, 0x10
lea ecx, [esp + 0x24]
call fcn.0047ab70
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0x6c]
mov byte [esp + 0xa8], 5
call fcn.004b2b00
test eax, eax
je 0x40d83d
lea edx, [esp + 0x18]
lea eax, [esp + 0x24]
push edx
push eax
mov ecx, 0x639d50
call fcn.0042af50
push eax
push str.CheckImportAuth_bGetIdentify__lu_
push str.CheckModule
push 0xf
push 0x642404
call fcn.004439a0
add esp, 0x14
inc edi
mov byte [esp + 0xa0], 4
mov dword [esp + 0x30], edi
lea ecx, [esp + 0x24]
jmp 0x40d935
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, 0x639d50
call fcn.00429e20
test eax, eax
je 0x40d93a
push str.CheckImportAuth_basic
push str.CheckModule
push 0xf
push 0x642404
call fcn.004439a0
add esp, 0x10
lea ecx, [esp + 0x2c]
call fcn.0047ab70
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x2c]
push edx
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0xa8], 6
call fcn.004b2b00
test eax, eax
je 0x40d924
lea ecx, [esp + 0x34]
lea edx, [esp + 0x54]
push ecx
lea eax, [esp + 0x30]
push edx
push eax
mov ecx, 0x639d50
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x60], ebx
call fcn.0042a6e0
mov edi, eax
cmp edi, ebx
je 0x40d902
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.0040edb0
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 0x642404
call fcn.004439a0
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.0047aca0
cmp edi, 2
je 0x40d95d
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x5c]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x40d784
cmp edi, 2
jne 0x40dac3
push str.CheckImportAuth_g_globalInfoImport_update_info
push str.CheckModule
push 0xf
push 0x642404
call fcn.004439a0
mov ecx, dword [esi + 0x4c]
mov edx, dword [esi + 0x48]
add esp, 0x10
push ecx
push edx
mov ecx, 0x639a10
call fcn.0040a350
mov eax, dword [esi + 0x50]
mov ecx, 0x639a10
push eax
call fcn.0040a1f0
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x639a10
call fcn.0040a470
mov ecx, 0x639a10
call fcn.0040a2c0
mov ecx, dword [esi + 0x50]
mov dword [0x639d24], eax
mov dword [0x639d20], ecx
mov ecx, esi
call fcn.0040ee40
test eax, eax
je 0x40dae9
mov ecx, esi
call fcn.0040e680
test eax, eax
je 0x40d9e6
mov ecx, esi
call fcn.0040edd0
test eax, eax
je 0x40daf6
cmp dword [esp + 0x60], ebx
jne 0x40db03
mov dword [esp + 0x28], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0xa0], 3
call fcn.0059db8f
lea ecx, [esp + 0x18]
mov byte [esp + 0xa0], 2
call fcn.0047aca0
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa0], 1
call fcn.00468df0
lea ecx, [esp + 0x64]
mov byte [esp + 0xa0], bl
call fcn.004b1410
lea ecx, [esp + 0x14]
mov dword [esp + 0xa0], 0xffffffff
call fcn.0059db8f
jmp 0x40db18
push str.CImportAuthMgr::CheckImportAuth_NOT_init_
push str.CheckModule
push 0xf
push 0x642404
call fcn.004439a0
add esp, 0x10
mov dword [esp + 0x10], 1
jmp 0x40db18
push str.CImportAuthMgr::CheckImportAuth_Open_fail_
push str.CheckModule
push 0xf
push 0x642404
call fcn.004439a0
add esp, 0x10
mov dword [esp + 0x10], 5
jmp 0x40da2b
push str.CImportAuthMgr::CheckImportAuth_no_files_
push str.CheckModule
push 0xf
push 0x642404
call fcn.004439a0
add esp, 0x10
mov dword [esp + 0x10], 6
jmp 0x40da2b
push str.CheckImportAuth_nCheckHelper___2
push str.CheckModule
push 0xf
push 0x642404
call fcn.004439a0
add esp, 0x10
mov dword [esp + 0x10], 8
jmp 0x40d9f8
mov dword [esp + 0x10], 9
jmp 0x40d9f8
mov dword [esp + 0x10], 0xa
jmp 0x40d9f8
mov dword [esp + 0x10], 7
jmp 0x40d9f8
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 0x642404
mov dword [esi + 0x5c], eax
call fcn.004439a0
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