Function at 0x40df10
Capabilities:
Contain obfuscated stackstrings
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5c5bc9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x290
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x2b0]
mov esi, ecx
push edi
lea ecx, [esp + 0x2c]
call fcn.0046ab70
mov eax, dword [eax]
xor ebp, ebp
push eax
push str.CImportAuthMgr::CheckImportAuth2___s_
push str.CheckModule
push 0xf
push 0x654a04
mov dword [esp + 0x2bc], ebp
call fcn.00445f90
add esp, 0x14
lea ecx, [esp + 0x28]
mov dword [esp + 0x2a8], 0xffffffff
call fcn.0046b3e0
mov ecx, dword [esp + 0x2b4]
mov dword [esi + 0x5c], ebp
call fcn.005ac4cb
lea ebx, [esi + 0x70]
mov ecx, ebx
call fcn.005ac4cb
test edi, edi
mov dword [esp + 0x20], ebp
je 0x40e563
push edi
call fcn.00451ffc
add esp, 4
test eax, eax
je 0x40e563
push edi
lea ecx, [esp + 0x28]
call fcn.005ac5b7
xor ecx, ecx
mov dword [esp + 0x2a8], 1
mov dword [esp + 0x3a], ecx
mov word [esp + 0x38], 0x54
mov dword [esp + 0x3e], ecx
mov word [esp + 0x3a], 0x65
mov dword [esp + 0x42], ecx
mov word [esp + 0x3c], 0x63
mov dword [esp + 0x46], ecx
mov word [esp + 0x3e], 0x6c
mov dword [esp + 0x4a], ecx
mov word [esp + 0x40], 0x69
mov word [esp + 0x4e], cx
mov word [esp + 0x4e], cx
lea ecx, [esp + 0x64]
mov word [esp + 0x42], 0x6e
mov word [esp + 0x44], 0x6b
mov word [esp + 0x46], 0x32
mov word [esp + 0x48], 0x30
mov word [esp + 0x4a], 0x31
mov word [esp + 0x4c], 0x37
call fcn.004b8f80
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x38]
push edx
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x2b0], 2
call fcn.004b91b0
test eax, eax
jne 0x40e072
mov ecx, dword [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0x6c]
call fcn.004b91b0
test eax, eax
je 0x40e4f7
lea ecx, [esp + 0x64]
call fcn.004bb640
test eax, eax
mov dword [esp + 0x1c], eax
je 0x40e519
mov edx, dword [0x62ed80]
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], edx
xor edi, edi
mov byte [esp + 0x2a8], 3
test eax, eax
jle 0x40e0eb
lea ecx, [esp + 0x10]
call fcn.005ac4cb
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push ecx
push edi
lea ecx, [esp + 0x70]
call fcn.004bb650
test eax, eax
je 0x40e0d0
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x40e0db
mov eax, dword [esp + 0x1c]
inc edi
cmp edi, eax
jl 0x40e0a7
jmp 0x40e0eb
mov edx, dword [esp + 0x10]
mov ecx, esi
push edx
call fcn.0040dde0
mov dword [esp + 0x20], eax
mov edi, dword [esp + 0x20]
push edi
push str.CImportAuthMgr::CheckImportAuth2_bMultiAuth__lu_
push str.CheckModule
push 0xf
push 0x654a04
call fcn.00445f90
add esp, 0x14
test edi, edi
je 0x40e425
mov eax, dword [0x62ed80]
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x2a8], 4
push ecx
mov ecx, esi
call fcn.0040ddc0
mov edx, dword [0x62ed80]
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x2c]
push eax
push 0x624110
push ecx
mov byte [esp + 0x2b4], 5
call fcn.005a91ab
add esp, 0xc
lea ecx, [esp + 0x50]
call fcn.005ab223
lea edx, [esp + 0x98]
mov byte [esp + 0x2a8], 6
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [esp + 0x98]
lea ecx, [esp + 0x34]
push eax
call fcn.005ac5b7
push 0x62261c
lea ecx, [esp + 0x38]
mov byte [esp + 0x2ac], 7
call fcn.005a92d6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x34]
push eax
push ecx
push str._s_temp__lu
push ebx
call fcn.005a91ab
mov eax, dword [esp + 0x2c]
add esp, 0x10
xor edi, edi
test eax, eax
jle 0x40e2c3
lea ecx, [esp + 0x10]
call fcn.005ac4cb
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
push eax
push edi
lea ecx, [esp + 0x70]
call fcn.004bb650
test eax, eax
je 0x40e28a
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40e28a
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
push ecx
push edx
call fcn.00525c80
add esp, 8
test eax, eax
je 0x40e28a
mov eax, dword [ebx]
lea ecx, [esp + 0x64]
push eax
mov eax, dword [esp + 0x14]
push eax
call fcn.004ba220
test eax, eax
je 0x40e28a
mov ecx, dword [0x62ed80]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x10]
mov eax, dword [ebx]
push edx
push eax
lea ecx, [esp + 0x1c]
push 0x622a00
push ecx
mov byte [esp + 0x2b8], 8
call fcn.005a91ab
mov edx, dword [esp + 0x24]
add esp, 0x10
mov ecx, esi
push edx
call fcn.0040e570
mov ebp, eax
mov eax, dword [esp + 0x58]
push edi
push eax
lea ecx, [esp + 0x58]
call fcn.005ab447
test ebp, ebp
jne 0x40e299
cmp dword [esi + 0x5c], 7
je 0x40e299
lea ecx, [esp + 0x14]
mov byte [esp + 0x2a8], 7
call fcn.005ac543
mov eax, dword [esp + 0x1c]
inc edi
cmp edi, eax
jl 0x40e1ca
jmp 0x40e2c3
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x2b8]
call fcn.005ac68a
lea ecx, [esp + 0x14]
mov byte [esp + 0x2a8], 7
call fcn.005ac543
test ebp, ebp
jne 0x40e3e1
mov eax, dword [esp + 0x1c]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x28], edi
jle 0x40e3e1
lea ecx, [esp + 0x10]
call fcn.005ac4cb
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
push eax
push edi
lea ecx, [esp + 0x70]
call fcn.004bb650
test eax, eax
je 0x40e39a
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40e39a
mov ecx, dword [esp + 0x58]
lea eax, [ecx - 1]
test eax, eax
jl 0x40e328
mov edx, dword [esp + 0x54]
lea ecx, [edx + eax*4]
cmp dword [ecx], edi
je 0x40e3a9
dec eax
sub ecx, 4
test eax, eax
jge 0x40e318
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x40e39a
mov eax, dword [ebx]
lea ecx, [esp + 0x64]
push eax
mov eax, dword [esp + 0x14]
push eax
call fcn.004ba220
test eax, eax
je 0x40e39a
mov ecx, dword [0x62ed80]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x10]
mov eax, dword [ebx]
push edx
push eax
lea ecx, [esp + 0x1c]
push 0x622a00
push ecx
mov byte [esp + 0x2b8], 9
call fcn.005a91ab
mov edx, dword [esp + 0x24]
add esp, 0x10
mov ecx, esi
push edx
call fcn.0040e570
mov ebp, eax
test ebp, ebp
jne 0x40e3bf
cmp dword [esi + 0x5c], 7
je 0x40e3bf
lea ecx, [esp + 0x14]
mov byte [esp + 0x2a8], 7
call fcn.005ac543
mov eax, dword [esp + 0x1c]
inc edi
cmp edi, eax
jl 0x40e2d5
jmp 0x40e3e1
push 1
push eax
lea ecx, [esp + 0x58]
mov dword [esp + 0x30], 1
call fcn.005ab500
jmp 0x40e39a
mov ecx, dword [esp + 0x2b4]
lea eax, [esp + 0x14]
push eax
call fcn.005ac68a
lea ecx, [esp + 0x14]
mov byte [esp + 0x2a8], 7
call fcn.005ac543
lea ecx, [esp + 0x34]
mov byte [esp + 0x2a8], 6
call fcn.005ac543
lea ecx, [esp + 0x50]
mov byte [esp + 0x2a8], 5
call fcn.005ab256
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2a8], 4
call fcn.005ac543
lea ecx, [esp + 0x30]
mov byte [esp + 0x2a8], 3
call fcn.005ac543
lea ecx, [esp + 0x10]
mov byte [esp + 0x2a8], 2
call fcn.005ac543
lea ecx, [esp + 0x64]
mov byte [esp + 0x2a8], 1
call fcn.004b90a0
lea ecx, [esp + 0x24]
mov dword [esp + 0x2a8], 0xffffffff
call fcn.005ac543
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x40e48b
mov edi, dword [esp + 0x2b0]
push edi
mov ecx, esi
call fcn.0040e570
mov ebp, eax
test ebp, ebp
jne 0x40e47e
cmp dword [esi + 0x5c], 7
jne 0x40e48b
mov ecx, dword [esp + 0x2b4]
push edi
call fcn.005ac6da
mov ecx, dword [esp + 0x2b4]
mov eax, dword [ecx]
lea ecx, [esp + 0x20]
push eax
call fcn.0046ab70
mov edx, dword [eax]
push ebp
push edx
push str.CImportAuthMgr::CheckImportAuth2_strMatchFile__s__ret__lu_
push str.CheckModule
push 0xf
push 0x654a04
mov dword [esp + 0x2c0], 0xa
call fcn.00445f90
add esp, 0x18
lea ecx, [esp + 0x20]
mov dword [esp + 0x2a8], 0xffffffff
call fcn.0046b3e0
mov ecx, dword [esp + 0x2a0]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x29c
ret 8
push str.CImportAuthMgr::CheckImportAuth2_Open_fail_
push str.CheckModule
push 0xf
push 0x654a04
call fcn.00445f90
add esp, 0x10
mov dword [esi + 0x5c], 5
jmp 0x40e539
push str.CImportAuthMgr::CheckImportAuth2_no_files_
push str.CheckModule
push 0xf
push 0x654a04
call fcn.00445f90
add esp, 0x10
mov dword [esi + 0x5c], 6
lea ecx, [esp + 0x64]
mov byte [esp + 0x2a8], 1
call fcn.004b90a0
lea ecx, [esp + 0x24]
mov dword [esp + 0x2a8], 0xffffffff
call fcn.005ac543
jmp 0x40e46a
mov dword [esi + 0x5c], 2
jmp 0x40e46a