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

Disassembly:
push 0xffffffffffffffff
push 0x4931f8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c3aa8]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, dword [esp + 0x80]
xor ebp, ebp
mov dword [esp + 0x78], ebp
cmp dword [esi], ebp
jne 0x41b300
push str.NULL_pointer
call fcn.0041af90
or edi, 0xffffffff
mov dword [esp + 0x78], edi
mov eax, dword [esp + 0x84]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x41b2f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x41b62e
mov ebx, dword [esp + 0x84]
cmp ebx, ebp
je 0x41b322
call fcn.0041b810
mov dword [esp + 0x14], eax
cmp eax, ebp
jne 0x41b326
push 0x8007000e
call fcn.00402c90
mov dword [esp + 0x14], ebp
lea edx, [esp + 0x24]
push edx
push 0x800
push 1
mov byte [esp + 0x84], 1
mov eax, dword [esi]
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x34], ebp
mov ecx, dword [eax]
push 0x49c408
push eax
mov eax, dword [ecx + 0x14]
call eax
cmp eax, ebp
jge 0x41b3dc
push eax
lea ecx, [esp + 0x8c]
push ecx
call fcn.0041b050
add esp, 8
mov byte [esp + 0x78], 2
mov eax, dword [eax]
push eax
call fcn.0041af90
mov byte [esp + 0x78], 1
mov eax, dword [esp + 0x88]
add eax, 0xfffffff0
or edi, 0xffffffff
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41b3a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esp + 0x78], edi
mov eax, dword [esp + 0x84]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], edi
dec edi
test edi, edi
jg 0x41b2f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x41b62e
mov esi, dword [esp + 0x88]
mov edi, dword [esi + 8]
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
xor ecx, ecx
mov eax, edi
mov edx, 0x10
mul edx
seto cl
mov dword [esp + 0x34], edi
neg ecx
or ecx, eax
push ecx
call fcn.0042e6a6
add esp, 4
cmp edi, ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], ebp
jle 0x41b4d6
lea eax, [edi - 1]
lea ecx, [edi*4 - 4]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
jmp 0x41b44b
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x88]
test eax, eax
jl 0x41b5bb
cmp eax, dword [esi + 8]
jge 0x41b5bb
mov eax, dword [esi + 4]
add eax, dword [esp + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x41b47c
mov ebx, eax
call fcn.0041b810
mov esi, eax
test esi, esi
je 0x41b318
jmp 0x41b47e
xor esi, esi
mov edx, dword [esp + 0x2c]
lea ebx, [edx + ebp + 8]
test ebx, ebx
je 0x41b4a3
test esi, esi
jne 0x41b492
xor eax, eax
jmp 0x41b4a1
push esi
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
mov dword [ebx], eax
mov ecx, dword [esp + 0x2c]
mov eax, 8
push esi
mov word [ecx + ebp], ax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x20]
sub dword [esp + 0x18], 4
dec dword [esp + 0x1c]
inc eax
add ebp, 0x10
cmp eax, edi
mov dword [esp + 0x20], eax
jl 0x41b440
xor ebp, ebp
xor eax, eax
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esp + 0x80]
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x54]
push edx
lea edx, [esp + 0x44]
push edx
lea edx, [esp + 0x38]
push edx
push 1
push ebp
mov bl, 3
mov byte [esp + 0x90], bl
mov eax, dword [eax]
mov edx, dword [esp + 0x3c]
push 0x49c408
or edi, 0xffffffff
mov dword [esp + 0x44], edi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov ecx, dword [esp + 0x2c]
push ecx
mov esi, eax
call fcn.0042e69b
add esp, 4
test esi, esi
jge 0x41b5c0
lea edx, [esp + 0x88]
push esi
push edx
call fcn.0041b050
add esp, 8
mov byte [esp + 0x78], 4
mov eax, dword [eax]
push eax
call fcn.0041af90
mov byte [esp + 0x78], bl
mov eax, dword [esp + 0x88]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b5a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x41b2d5
call fcn.00435d5d
mov esi, dword [esp + 0x8c]
test esi, esi
je 0x41b5f2
lea ecx, [esp + 0x3c]
cmp esi, ecx
je 0x41b5f2
mov edx, ecx
push edx
push esi
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jge 0x41b5f2
mov ecx, 0xa
push eax
mov word [esi], cx
mov dword [esi + 8], eax
call fcn.00402c90
lea edx, [esp + 0x3c]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esp + 0x78], edi
mov eax, dword [esp + 0x84]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x41b62c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 0x10