Function at 0x405ba0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x448492
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
mov eax, dword [0x530d78]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0xc], eax
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x60], 1
call esi
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x68]
mov byte [esp + 0x5c], 3
and eax, 0xffff
mov dword [esp + 0x2c], ebx
cmp eax, 0x11
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
ja case.0x405c06.0
jmp dword [eax*4 + 0x405f0c]
mov edx, dword [esp + 0x70]
lea eax, [esp + 0xc]
and edx, 0xff
push edx
push 0x460230
push eax
call fcn.0043a838
add esp, 0xc
jmp 0x405e6d
movsx ecx, word [esp + 0x70]
push ecx
lea edx, [esp + 0x10]
push 0x460230
push edx
call fcn.0043a838
add esp, 0xc
jmp 0x405e6d
mov eax, dword [esp + 0x70]
jmp 0x405e4a
fld dword [esp + 0x70]
sub esp, 8
lea edx, [esp + 0x14]
fstp qword [esp]
push 0x4605cc
push edx
call fcn.0043a838
add esp, 0x10
jmp 0x405e6d
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
push eax
push ecx
lea edx, [esp + 0x14]
push 0x4605cc
push edx
call fcn.0043a838
add esp, 0x10
jmp 0x405e6d
lea eax, [esp + 0x68]
lea ecx, [esp + 0x28]
push eax
call fcn.00423d6a
push 0x400
lea ecx, [esp + 0x18]
push ebx
push ecx
lea ecx, [esp + 0x34]
call fcn.00423e08
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x60], 4
call fcn.0043fddd
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 3
call fcn.0043fca4
jmp 0x405e6d
lea edx, [esp + 0x68]
lea eax, [esp + 0x34]
push edx
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
cmp eax, ebx
jge 0x405cf5
push eax
call fcn.0043686a
mov edi, 8
cmp word [esp + 0x34], di
jne 0x405d45
mov esi, dword [esp + 0x3c]
lea ecx, [esp + 0x10]
call fcn.00404310
push 0xc
call fcn.0043f9e5
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebx
mov byte [esp + 0x5c], 5
je 0x405d38
push esi
mov ecx, eax
call fcn.00407c30
mov byte [esp + 0x5c], 3
mov dword [esp + 0x10], eax
jmp 0x405dac
xor eax, eax
mov byte [esp + 0x5c], 3
mov dword [esp + 0x10], eax
jmp 0x405dac
lea ecx, [esp + 0x44]
push ecx
call esi
lea edx, [esp + 0x34]
mov byte [esp + 0x5c], 6
test edx, edx
lea eax, [esp + 0x34]
jne 0x405d68
cmp word [esp + 0x44], di
lea eax, [esp + 0x44]
je 0x405d80
push edi
push ebx
push eax
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
cmp eax, ebx
jge 0x405d80
push eax
call fcn.0043686a
mov ecx, dword [esp + 0x4c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00404360
lea edx, [esp + 0x44]
mov byte [esp + 0x5c], 3
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebx
jge 0x405da8
push eax
call fcn.0043686a
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x405def
mov ecx, dword [eax + 4]
lea esi, [eax + 4]
cmp ecx, ebx
mov edi, eax
jne 0x405dd8
mov eax, dword [eax]
push eax
call fcn.0043698c
cmp eax, ebx
mov dword [esi], eax
jne 0x405dd8
cmp dword [edi], ebx
je 0x405dd8
push 0x8007000e
call fcn.0043686a
mov esi, dword [esi]
lea ecx, [esp + 0xc]
push esi
push 0x4605c8
push ecx
call fcn.0043a838
add esp, 0xc
jmp 0x405e6d
xor esi, esi
lea ecx, [esp + 0xc]
push esi
push 0x4605c8
push ecx
call fcn.0043a838
add esp, 0xc
jmp 0x405e6d
fld qword [esp + 0x70]
call fcn.0042bbdc
lea edx, [esp + 0x1c]
push str._A__B_d__Y
push edx
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], eax
call fcn.0043a942
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x60], 7
call fcn.0043fddd
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5c], 3
call fcn.0043fca4
jmp 0x405e6d
movsx eax, word [esp + 0x70]
push eax
lea ecx, [esp + 0x10]
push 0x460230
push ecx
call fcn.0043a838
add esp, 0xc
jmp 0x405e6d
push 0x534b50
lea ecx, [esp + 0x10]
call fcn.0043fe2d
mov edi, dword [esp + 0x64]
lea edx, [esp + 0xc]
push edx
mov ecx, edi
call fcn.0043fa19
mov dword [esp + 0x20], 1
mov esi, dword [esp + 0x10]
mov byte [esp + 0x5c], 2
cmp esi, ebx
je 0x405ece
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x405eca
cmp esi, ebx
je 0x405eca
mov eax, dword [esi]
cmp eax, ebx
je 0x405eb1
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x405ec1
push eax
call fcn.0043fa0e
add esp, 4
push esi
call fcn.0043fa0e
add esp, 4
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0x5c], 1
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebx
jge 0x405ee8
push eax
call fcn.0043686a
lea ecx, [esp + 0xc]
mov byte [esp + 0x5c], bl
call fcn.0043fca4
mov ecx, dword [esp + 0x54]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret