Function at 0x4f2910
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x524cc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push ebp
push esi
xor esi, esi
push edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov word [esp + 0x30], 3
mov dword [esp + 0x38], 1
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push 0x56f400
mov dword [esp + 0x5c], esi
call edi
mov ebx, eax
mov dword [esp + 0x18], ebx
push 0x5711d0
call edi
mov ecx, eax
mov dword [esp + 0x1c], ecx
lea ebp, [esp + 0x10]
mov eax, dword [esp + 0x68]
push ebp
mov ebp, dword [esp + 0x34]
push ecx
push ebx
sub esp, 0x10
mov edx, dword [eax]
mov ecx, esp
mov byte [esp + 0x74], 2
push eax
mov dword [ecx], ebp
mov ebp, dword [esp + 0x54]
mov dword [ecx + 4], ebp
mov ebp, dword [esp + 0x58]
mov dword [ecx + 8], ebp
mov ebp, dword [esp + 0x5c]
mov dword [ecx + 0xc], ebp
call dword [edx + 0xe0]
test eax, eax
jl 0x4f2b87
mov ecx, dword [esp + 0x10]
cmp ecx, esi
je 0x4f2b87
mov eax, dword [esp + 0x6c]
lea ebp, [esp + 0x14]
push ebp
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x54]
mov ebp, eax
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp ebp, esi
jl 0x4f2b87
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x4f2b87
lea ecx, [esp + 0x68]
mov dword [esp + 0x68], esi
mov edx, dword [eax]
push ecx
push 0x52e140
push eax
call dword [edx]
mov ebp, dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp eax, esi
jl 0x4f2b50
cmp dword [esp + 0x68], esi
je 0x4f2b50
mov eax, dword [esp + 0x60]
cmp eax, esi
je 0x4f2a9d
push eax
lea ecx, [esp + 0x24]
mov word [esp + 0x24], si
call fcn.004f2bc0
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x20]
push 0x56d150
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
call edi
mov esi, eax
mov dword [esp + 0x6c], esi
sub esp, 0x10
mov eax, dword [esp + 0x78]
mov ecx, esp
mov byte [esp + 0x68], 4
mov edx, dword [eax]
push esi
mov dword [ecx], ebx
mov ebx, dword [esp + 0x58]
push eax
mov dword [ecx + 4], ebx
mov ebx, dword [esp + 0x60]
mov dword [ecx + 8], ebx
mov ebx, dword [esp + 0x64]
mov dword [ecx + 0xc], ebx
call dword [edx + 0xb4]
push esi
call ebp
lea edx, [esp + 0x20]
mov byte [esp + 0x58], 2
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ebx, dword [esp + 0x18]
xor esi, esi
cmp dword [esp + 0x64], esi
je 0x4f2b46
lea ecx, [esp + 0x20]
mov word [esp + 0x20], si
call fcn.004f2c10
mov eax, dword [esp + 0x64]
mov word [esp + 0x20], 8
push eax
call edi
cmp eax, esi
mov dword [esp + 0x28], eax
jne 0x4f2adb
mov eax, 0x8007000e
mov word [esp + 0x20], 0xa
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x20]
push 0x53fc98
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edx
call edi
mov esi, eax
mov dword [esp + 0x64], esi
mov edi, dword [esp + 0x44]
sub esp, 0x10
mov eax, dword [esp + 0x78]
mov edx, esp
push esi
push eax
mov ecx, dword [eax]
mov dword [edx], ebx
mov byte [esp + 0x70], 6
mov dword [edx + 4], edi
mov edi, dword [esp + 0x60]
mov dword [edx + 8], edi
mov edi, dword [esp + 0x64]
mov dword [edx + 0xc], edi
call dword [ecx + 0xb4]
push esi
call ebp
lea eax, [esp + 0x20]
mov byte [esp + 0x58], 2
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x68]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x1c]
push eax
call ebp
push ebx
call ebp
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov edx, dword [esp + 0x1c]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edx
call esi
push ebx
call esi
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x4c
ret