Function at 0x40ced0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d8070
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x8c]
xor esi, esi
cmp edi, esi
je 0x40d8ee
mov eax, dword [edi]
lea ecx, [esp + 0x44]
push ecx
push edi
mov dword [esp + 0x4c], esi
call dword [eax + 0x34]
mov eax, dword [esp + 0x44]
cmp eax, esi
je 0x40cf43
push 9
push str.ob_folder
push eax
xor ebp, ebp
call dword [sym.imp.MSVCRT.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x40cf30
mov ebp, 1
mov edx, dword [esp + 0x44]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp ebp, esi
jne 0x40d8ee
mov eax, dword [edi]
lea ecx, [esp + 0x28]
push ecx
push edi
mov dword [esp + 0x30], esi
call dword [eax + 0x38]
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x40d13a
mov ebp, dword [sym.imp.MSVCRT.dll__wcsicmp]
push 0x4edb18
push eax
xor ebx, ebx
mov dword [esp + 0x3c], esi
call ebp
add esp, 8
test eax, eax
je 0x40d114
mov edx, dword [esp + 0x28]
push str.span
push edx
call ebp
add esp, 8
test eax, eax
je 0x40d114
mov eax, dword [esp + 0x28]
push 0x4edafc
push eax
call ebp
add esp, 8
test eax, eax
jne 0x40cfb5
mov ebx, 1
mov dword [esp + 0x34], ebx
jmp 0x40d114
mov ecx, dword [esp + 0x28]
push 0x4edaf4
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x40d10b
mov edx, dword [edi]
lea eax, [esp + 0x30]
mov ebx, 1
push eax
push edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], esi
call dword [edx + 0x3c]
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x40d114
lea edx, [esp + 0x58]
mov dword [esp + 0x58], esi
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x38]
mov eax, dword [esp + 0x58]
cmp eax, esi
je 0x40d0ff
push 0x4edb18
push eax
call ebp
add esp, 8
test eax, eax
jne 0x40d0f4
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x54]
mov dword [esp + 0x54], esi
push edx
mov ecx, dword [eax]
push 0x4dfa78
push eax
call dword [ecx]
mov eax, dword [esp + 0x54]
cmp eax, esi
je 0x40d0f4
lea edx, [esp + 0x48]
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x48], esi
mov ecx, dword [eax]
push edx
push 0x4edaf4
push eax
call dword [ecx + 0x1a0]
mov eax, dword [esp + 0x48]
cmp eax, esi
je 0x40d07d
mov ecx, dword [eax]
lea edx, [esp + 0x64]
push edx
push eax
call dword [ecx + 0x24]
mov eax, dword [esp + 0x48]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], esi
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x174]
mov eax, dword [esp + 0x4c]
cmp eax, esi
je 0x40d0b8
mov edx, dword [eax]
lea ecx, [esp + 0x50]
push ecx
push 0x4dfa88
push eax
call dword [edx]
mov eax, dword [esp + 0x4c]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x50]
cmp eax, esi
je 0x40d0d5
mov ecx, dword [eax]
lea edx, [esp + 0x68]
push edx
push eax
call dword [ecx + 0x24]
mov eax, dword [esp + 0x50]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
cmp ecx, eax
je 0x40d0e6
cmp eax, 0x1e
jle 0x40d0ea
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x54]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x58]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x30]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x40d114
mov dword [esp + 0x34], esi
mov ebx, 1
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp ebx, esi
je 0x40d13a
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], esi
mov eax, dword [edi]
lea ecx, [esp + 0x38]
push ecx
push edi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x40], esi
call dword [eax + 0x174]
cmp dword [esp + 0x38], esi
je 0x40d1b2
lea edx, [esp + 0x38]
lea ecx, [esp + 0x1c]
push edx
call fcn.0040f690
cmp eax, esi
jge 0x40d180
cmp eax, 0x80004002
je 0x40d180
push eax
call fcn.004d4bee
mov eax, dword [esp + 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x40d1b2
mov edx, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [edx + 0x24]
cmp dword [esp + 0x14], 0x14
jle 0x40d1b2
lea ecx, [esp + 0x1c]
call fcn.0040ecc0
jmp 0x40d8ee
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x8c], esi
mov edx, dword [edi]
lea eax, [esp + 0x8c]
push eax
push 0x4dfa78
push edi
mov byte [esp + 0x90], 3
call dword [edx]
mov eax, dword [esp + 0x8c]
lea ecx, [esp + 0x10]
cmp eax, esi
jne 0x40d206
call fcn.0040ecc0
lea ecx, [esp + 0x20]
call fcn.0040ecc0
lea ecx, [esp + 0x1c]
call fcn.0040ecc0
jmp 0x40d8ee
call fcn.0040ecc0
mov eax, dword [esp + 0x8c]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], esi
push edx
mov ecx, dword [eax]
push 0x4edaf0
push eax
call dword [ecx + 0x1a0]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x68], esi
cmp eax, esi
je 0x40d273
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
call dword [ecx + 0x24]
mov eax, dword [esp + 0x14]
cmp eax, 0xa
mov dword [esp + 0x68], eax
jle 0x40d273
mov eax, dword [esp + 0x8c]
mov byte [esp + 0x84], 2
cmp eax, esi
je 0x40d353
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x10]
jmp 0x40d1ea
mov edx, dword [edi]
lea eax, [esp + 0x5c]
push eax
push edi
mov dword [esp + 0x64], esi
call dword [edx + 0xf0]
mov eax, dword [esp + 0x5c]
cmp eax, esi
je 0x40d2d6
push eax
mov edi, 1
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
cmp eax, 0xc8
jbe 0x40d2a5
xor edi, edi
mov ecx, dword [esp + 0x5c]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp edi, esi
jne 0x40d2d6
mov eax, dword [esp + 0x8c]
mov byte [esp + 0x84], 2
cmp eax, esi
je 0x40d2cd
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x10]
jmp 0x40d1ea
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x84], 4
call fcn.0040ecc0
mov eax, dword [esp + 0x8c]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], esi
push edx
mov ecx, dword [eax]
push 0x4edaf4
push eax
call dword [ecx + 0x1a0]
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x40d415
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
call dword [ecx + 0x24]
mov eax, dword [esp + 0x14]
cmp eax, esi
jle 0x40d415
cmp eax, 0x10
jle 0x40d35c
lea ecx, [esp + 0x18]
call fcn.0040ecc0
mov eax, dword [esp + 0x8c]
mov byte [esp + 0x84], 2
cmp eax, esi
je 0x40d353
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x10]
jmp 0x40d1ea
cmp eax, esi
mov word [esp + 0x6c], 3
jle 0x40d415
mov edi, dword [esp + 0x78]
mov ebp, dword [esp + 0x70]
mov ebx, dword [esp + 0x6c]
mov eax, dword [esp + 0x18]
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x60], ecx
jne 0x40d397
push 0x80004003
call fcn.004d4bee
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x60]
mov edx, dword [eax]
push ecx
sub esp, 0x10
mov ecx, esp
sub esp, 0x10
mov dword [ecx], ebx
mov dword [ecx + 4], ebp
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], edi
mov ecx, esp
push eax
mov dword [ecx], ebx
mov dword [ecx + 4], ebp
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], edi
call dword [edx + 0x2c]
mov eax, dword [esp + 0x60]
test eax, eax
je 0x40d406
mov edx, dword [eax]
lea ecx, [esp + 0x3c]
push ecx
push 0x4dfa98
push eax
call dword [edx]
mov eax, dword [esp + 0x60]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x40d406
push eax
call fcn.0043e8b0
add esp, 4
test eax, eax
mov eax, dword [esp + 0x3c]
jne 0x40d4fe
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jl 0x40d377
xor esi, esi
mov eax, dword [esp + 0x8c]
lea edx, [esp + 0x24]
mov dword [esp + 0x24], esi
push edx
mov ecx, dword [eax]
push 0x4edafc
push eax
mov byte [esp + 0x90], 5
call dword [ecx + 0x1a0]
mov eax, dword [esp + 0x24]
cmp eax, esi
je 0x40d568
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
call dword [ecx + 0x24]
cmp dword [esp + 0x14], esi
jle 0x40d568
mov eax, dword [esp + 0x24]
mov byte [esp + 0x84], 4
cmp eax, esi
je 0x40d472
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x84], 3
cmp eax, esi
je 0x40d488
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x8c]
mov byte [esp + 0x84], 2
cmp eax, esi
je 0x40d4a1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov byte [esp + 0x84], 1
cmp eax, esi
je 0x40d4b7
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x20]
mov byte [esp + 0x84], 0
cmp eax, esi
je 0x40d4cd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x84], 0xffffffff
cmp eax, esi
je 0x40d4e6
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, 1
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x18]
call fcn.0040ecc0
mov eax, dword [esp + 0x8c]
mov byte [esp + 0x84], 2
test eax, eax
je 0x40d526
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov byte [esp + 0x84], 1
test eax, eax
je 0x40d53c
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x20]
mov byte [esp + 0x84], 0
test eax, eax
je 0x40d552
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x84], 0xffffffff
test eax, eax
jmp 0x40d4de
mov eax, dword [esp + 0x8c]
lea edx, [esp + 0x2c]
mov dword [esp + 0x2c], esi
push edx
mov ecx, dword [eax]
mov bl, 6
push str.iframe
push eax
mov byte [esp + 0x90], bl
call dword [ecx + 0x1a0]
mov eax, dword [esp + 0x2c]
cmp eax, esi
je 0x40d66c
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
call dword [ecx + 0x24]
cmp dword [esp + 0x14], esi
jle 0x40d66c
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x84], 5
cmp eax, esi
je 0x40d5c6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x24]
mov byte [esp + 0x84], 4
cmp eax, esi
je 0x40d5dc
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x84], 3
cmp eax, esi
je 0x40d5f2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x8c]
mov byte [esp + 0x84], 2
cmp eax, esi
je 0x40d60b
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x10]
mov byte [esp + 0x84], 1
cmp eax, esi
je 0x40d621
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x20]
mov byte [esp + 0x84], 0
cmp eax, esi
je 0x40d637
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x84], 0xffffffff
cmp eax, esi
je 0x40d768
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 1
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret
mov eax, dword [esp + 0x8c]
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], esi
push ecx
mov edx, dword [eax]
push str.embed
push eax
mov byte [esp + 0x90], 7
call dword [edx + 0x1a0]
mov eax, dword [esp + 0x40]
cmp eax, esi
je 0x40d784
mov edx, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [edx + 0x24]
cmp dword [esp + 0x14], esi
jle 0x40d780
mov eax, dword [esp + 0x40]
mov byte [esp + 0x84], bl
cmp eax, esi
je 0x40d6c8
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x84], 5
cmp eax, esi
je 0x40d6de
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x24]
mov byte [esp + 0x84], 4
cmp eax, esi
je 0x40d6f4
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x84], 3
cmp eax, esi
je 0x40d70a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x8c]
mov byte [esp + 0x84], 2
cmp eax, esi
je 0x40d723
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x10]
mov byte [esp + 0x84], 1
cmp eax, esi
je 0x40d739
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x20]
mov byte [esp + 0x84], 0
cmp eax, esi
je 0x40d74f
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x84], 0xffffffff
cmp eax, esi
je 0x40d768
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 1
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x68]
mov byte [esp + 0x84], bl
cmp ecx, esi
jne 0x40d844
cmp eax, esi
je 0x40d7a1
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x84], 5
cmp eax, esi
je 0x40d7b7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x24]
mov byte [esp + 0x84], 4
cmp eax, esi
je 0x40d7cd
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x84], 3
cmp eax, esi
je 0x40d7e3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x8c]
mov byte [esp + 0x84], 2
cmp eax, esi
je 0x40d7fc
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x10]
mov byte [esp + 0x84], 1
cmp eax, esi
je 0x40d812
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x20]
mov byte [esp + 0x84], 0
cmp eax, esi
je 0x40d828
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x84], 0xffffffff
cmp eax, esi
je 0x40d8ee
jmp 0x40d8e8
cmp eax, esi
je 0x40d84e
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x84], 5
cmp eax, esi
je 0x40d864
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x24]
mov byte [esp + 0x84], 4
cmp eax, esi
je 0x40d87a
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x84], 3
cmp eax, esi
je 0x40d890
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x8c]
mov byte [esp + 0x84], 2
cmp eax, esi
je 0x40d8a9
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x10]
mov byte [esp + 0x84], 1
cmp eax, esi
je 0x40d8bf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x20]
mov byte [esp + 0x84], 0
cmp eax, esi
je 0x40d8d5
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x84], 0xffffffff
cmp eax, esi
je 0x40d8ee
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x78
ret