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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x806c
call fcn.00465b08
cmp dword [ebp + 0x14], 0xffffffff
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
jl 0x455b8d
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x30], 0
test eax, eax
je 0x455b9b
cmp eax, 1
jne 0x455b63
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], 0x30001
jmp 0x455ba3
push 1
push 0x51dd80
push 1
push 0x51dd80
push 0x30000
push eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], 0x30001
call dword [sym.imp.KERNEL32.dll_CompareStringW]
test eax, eax
jne 0x455ba3
mov eax, 0x80070057
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [esp + 0x34]
mov dword [esp + 0x2c], eax
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x455bb8
mov eax, dword [ebx - 4]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x28], eax
jmp 0x455bc0
mov dword [esp + 0x28], 0
xor eax, eax
mov byte [esp + 0x68], 0
mov word [esp + 0x48], ax
mov word [esp + 0x58], ax
movzx eax, word [esi]
cmp eax, 8
jne 0x455bed
mov edi, dword [esi + 8]
mov dword [esp + 0x44], edi
mov dword [esp + 0x69], 0
jmp 0x455d74
mov ecx, 0x4008
cmp ax, cx
jne 0x455c0d
mov eax, dword [esi + 8]
mov edi, dword [eax]
mov dword [esp + 0x44], edi
mov dword [esp + 0x69], 0
jmp 0x455d74
xor edi, edi
mov dword [esp + 0x44], edi
cmp eax, 0xa
jne 0x455c63
cmp dword [esi + 8], 0x80020004
jne 0x455c63
mov byte [esp + 0x68], 1
mov dword [esp + 0x69], 0x80020005
cmp dword [esp + 0x28], 0
mov edi, 0x51d6e4
mov dword [esp + 0x44], edi
mov ebx, 1
je 0x455da7
cmp dword [ebp + 0xc], 0
jne 0x455ddb
test ebx, ebx
jne 0x455ddb
mov esi, 0x800a000e
jmp 0x456089
cmp eax, 9
je 0x455c78
mov edx, 0x4009
mov ecx, eax
cmp ax, dx
jne 0x455d0b
mov ecx, dword [esi + 8]
test eax, 0x4000
je 0x455c84
mov ecx, dword [ecx]
test ecx, ecx
je 0x456080
push 0
push 0
lea edx, [esp + 0x50]
xor eax, eax
push edx
lea edx, [esp + 0x40]
mov dword [esp + 0x40], eax
push edx
push 3
push 0
push 0x519ca0
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x18]
mov esi, eax
mov dword [esp + 0x69], esi
test esi, esi
js 0x455d5d
movzx ecx, word [esp + 0x48]
lea esi, [esp + 0x48]
mov edx, 0x4008
mov eax, ecx
cmp cx, dx
jne 0x455cf2
mov eax, dword [esp + 0x50]
xor esi, esi
mov edi, dword [eax]
mov dword [esp + 0x44], edi
mov dword [esp + 0x69], esi
jmp 0x455d61
cmp eax, 8
jne 0x455d07
mov edi, dword [esp + 0x50]
xor esi, esi
mov dword [esp + 0x44], edi
mov dword [esp + 0x69], esi
jmp 0x455d61
mov edi, dword [esp + 0x44]
cmp cx, 1
jne 0x455d1c
mov esi, 0x800a005e
mov dword [esp + 0x69], esi
jmp 0x455d61
mov eax, 0x400c
cmp cx, ax
jne 0x455d2e
mov esi, dword [esi + 8]
cmp word [esi], ax
je 0x455d26
push 8
push 2
push 0x400
push esi
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayPtrOfIndex]
mov esi, eax
mov dword [esp + 0x69], esi
test esi, esi
js 0x455d5d
mov edi, dword [esp + 0x60]
xor esi, esi
mov dword [esp + 0x44], edi
mov dword [esp + 0x69], esi
jmp 0x455d61
mov edi, dword [esp + 0x44]
cmp byte [esp + 0x68], 0
jne 0x455c2e
test esi, esi
js 0x456089
test edi, edi
jne 0x455d8a
test ebx, ebx
jne 0x455d86
mov esi, 0x800a000e
jmp 0x456089
xor ebx, ebx
jmp 0x455d94
mov eax, dword [edi - 4]
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
cmp dword [esp + 0x28], 0
jne 0x455c47
test ebx, ebx
je 0x455c47
lea eax, [esp + 0x34]
mov dword [esp + 0x34], 0
push eax
push 1
push 8
mov dword [esp + 0x44], 0
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
mov ecx, dword [ebp + 8]
xor esi, esi
mov dword [ecx + 8], eax
mov eax, 0x2008
mov word [ecx], ax
jmp 0x456089
mov ecx, 0x2000
lea eax, [esp + 0x78]
mov dword [esp + 0x1c], ecx
xor esi, esi
mov ecx, dword [esp + 0x28]
xor edx, edx
mov dword [esp + 0x14], eax
sub ecx, ebx
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x18], esi
mov esi, edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x34], ecx
test eax, eax
je 0x45601e
cmp eax, 1
je 0x455f56
test ebx, ebx
jle 0x455f56
test ecx, ecx
js 0x455f56
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x24], ecx
cmp dword [ebp + 0x18], 0
jne 0x455e5f
cmp ebx, 1
jne 0x455e42
mov ax, word [ecx]
cmp ax, word [edi]
jmp 0x455e80
cmp ebx, 2
jne 0x455e4d
mov eax, dword [ecx]
cmp eax, dword [edi]
jmp 0x455e80
lea eax, [ebx + ebx]
push eax
push edi
push ecx
call fcn.004b2b78
add esp, 0xc
test eax, eax
jmp 0x455e78
push ebx
push edi
push ebx
push ecx
push dword [esp + 0x3c]
push dword [esp + 0x44]
call dword [sym.imp.KERNEL32.dll_CompareStringW]
mov edi, dword [esp + 0x44]
cmp eax, 2
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
sete al
test al, al
je 0x455f40
mov eax, dword [esp + 0x1c]
cmp esi, eax
jl 0x455f12
add eax, 0x20000
xor ecx, ecx
mov edx, 4
mov dword [esp + 0x18], eax
mul edx
seto cl
neg ecx
or ecx, eax
jne 0x455eb6
xor edi, edi
jmp 0x455ec7
push ecx
push 8
push dword [0x4cefc8]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov ecx, dword [esp + 0x1c]
shl ecx, 2
push ecx
push dword [esp + 0x18]
push edi
call fcn.004c4b46
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x84]
mov dword [esp + 0x28], eax
add esp, 0xc
mov eax, dword [esp + 0x14]
cmp eax, ecx
je 0x455f02
push eax
push 0
push dword [0x4cefc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [esp + 0x24]
mov eax, edi
mov edx, dword [esp + 0x20]
mov dword [esp + 0x14], eax
jmp 0x455f16
mov eax, dword [esp + 0x14]
mov edi, dword [ebp + 0x14]
lea ecx, [ecx + ebx*2]
mov dword [eax + esi*4], edx
inc esi
add edx, ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], edx
lea eax, [edi - 1]
mov dword [esp + 0x24], ecx
cmp esi, eax
jl 0x455f3a
cmp edi, 0xffffffff
jne 0x455f56
mov edi, dword [esp + 0x44]
jmp 0x455f4c
inc edx
add ecx, 2
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
cmp edx, dword [esp + 0x34]
jle 0x455e2f
inc esi
lea eax, [esp + 0x70]
mov dword [esp + 0x70], esi
push eax
push 1
push 8
mov dword [esp + 0x80], 0
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
mov edi, dword [ebp + 8]
mov ecx, 0x2008
mov word [edi], cx
xor cl, cl
cmp dword [ebp + 0x14], 0
mov dword [edi + 8], eax
jne 0x455f93
test ebx, ebx
jne 0x45603b
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroyDescriptor]
mov esi, eax
test esi, esi
js 0x45604a
push dword [edi + 8]
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnlock]
mov esi, eax
test esi, esi
js 0x45604a
mov eax, dword [edi + 8]
xor esi, esi
xor ecx, ecx
mov byte [esp + 0x13], 1
mov edi, dword [eax + 0xc]
mov eax, dword [esp + 0x18]
test eax, eax
js 0x456034
mov edx, dword [esp + 0x14]
sub edx, edi
cmp esi, eax
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x28]
je 0x455fe3
mov eax, dword [edx + edi]
mov dword [esp + 0x1c], eax
sub eax, ecx
push eax
mov eax, dword [ebp + 0xc]
lea eax, [eax + ecx*2]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov dword [edi], eax
test eax, eax
je 0x45602d
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add ecx, ebx
cmp esi, eax
je 0x456034
mov edx, dword [esp + 0x34]
inc esi
add edi, 4
cmp esi, eax
jle 0x455fda
mov edi, dword [ebp + 8]
xor esi, esi
jmp 0x456041
test ebx, ebx
je 0x455f56
xor esi, esi
jmp 0x455f57
mov esi, 0x8007000e
jmp 0x456089
mov cl, byte [esp + 0x13]
mov edi, dword [ebp + 8]
xor esi, esi
test cl, cl
je 0x45604a
push dword [edi + 8]
call dword [sym.imp.OLEAUT32.dll_SafeArrayAccessData]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x78]
cmp eax, ecx
je 0x456065
push eax
push 0
push dword [0x4cefc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
test esi, esi
jns 0x456089
mov eax, dword [edi + 8]
test eax, eax
je 0x456089
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
mov dword [edi + 8], 0
jmp 0x456089
mov esi, 0x800a005b
mov dword [esp + 0x69], esi
cmp word [esp + 0x48], 0
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
je 0x45609e
lea eax, [esp + 0x48]
push eax
call edi
cmp word [esp + 0x58], 0
je 0x4560ad
lea eax, [esp + 0x58]
push eax
call edi
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14