Function at 0x435880
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f37c6
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
mov eax, dword [0x530630]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [edi + 4], vtable.ILuaDispatch.0
mov dword [edi], vtable.tLuaDispatch.1.0
mov dword [edi + 4], vtable.tLuaDispatch.0
mov dword [edi + 0x10], ebx
mov eax, dword [ebx + 0xc]
mov esi, dword [eax + 0x28]
push ecx
call fcn.0040a0d0
mov edx, dword [eax]
mov ecx, dword [ebx + 8]
mov dword [ecx], edx
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
add dword [ebx + 8], 8
mov eax, dword [edi + 0x10]
add esp, 4
call fcn.00404880
mov dword [edi + 0x38], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 8], eax
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
push 8
call fcn.004cabf3
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x43594c
mov ebx, dword [edi + 8]
mov dword [esi], vtable.tLuaCOMTypeHandler.0
mov dword [esi + 4], 0
mov byte [ebp - 4], 1
mov eax, dword [esi + 4]
test eax, eax
je 0x435937
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, ebx
mov dword [esi + 4], ebx
test eax, eax
je 0x435948
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
xor ebx, ebx
jmp 0x43594e
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi + 8]
lea edx, [ebp - 0x14]
mov dword [edi + 0x24], esi
mov dword [ebp - 0x14], ebx
mov dword [ebp + 8], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
js 0x435add
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov dword [edi + 0x14], ecx
mov edx, dword [eax + 4]
mov dword [edi + 0x18], edx
mov ecx, dword [eax + 8]
mov dword [edi + 0x1c], ecx
mov edx, dword [eax + 0xc]
mov ecx, dword [edi + 8]
mov dword [edi + 0x20], edx
movzx esi, word [eax + 0x2c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x4c]
push ecx
mov dword [ebp - 0x18], esi
call eax
xor ecx, ecx
mov eax, esi
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00468dae
add esp, 4
mov dword [edi + 0x2c], eax
mov dword [edi + 0x34], ebx
test esi, esi
je 0x435a73
jmp 0x4359d0
mov eax, dword [edi + 8]
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push ebx
push eax
mov eax, dword [ecx + 0x14]
call eax
test eax, eax
js 0x435ac2
mov eax, dword [ebp + 8]
test eax, eax
je 0x435ac2
test byte [eax + 0x30], 1
jne 0x435a6a
mov ecx, dword [edi + 0x34]
mov edx, dword [edi + 0x2c]
mov dword [edx + ecx*8], eax
mov eax, dword [edi + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push 1
lea edx, [ebp - 0x10]
push edx
mov edx, dword [ebp + 8]
mov edx, dword [edx]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
test eax, eax
js 0x435aa7
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantInit]
lea esi, [eax + 1]
push esi
call fcn.00468dae
mov edx, dword [edi + 0x34]
mov ecx, dword [edi + 0x2c]
mov dword [ecx + edx*8 + 4], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edi + 0x34]
mov ecx, dword [edi + 0x2c]
push esi
push edx
mov edx, dword [ecx + eax*8 + 4]
push edx
call fcn.004e776a
mov eax, dword [ebp - 0x10]
add esp, 0x10
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
inc dword [edi + 0x34]
mov esi, dword [ebp - 0x18]
inc ebx
cmp ebx, esi
jb 0x4359d0
xor eax, eax
push 0x533978
mov dword [edi + 0xc], eax
mov dword [edi + 0x30], eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push eax
mov dword [edi + 0x3c], eax
call fcn.004349d0
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push 0
lea ecx, [ebp - 0x40]
push ecx
call fcn.0043c150
push 0x529018
lea edx, [ebp - 0x40]
push edx
call fcn.004cac73
push 0
push 0
lea eax, [ebp - 0x64]
push eax
call fcn.0043c150
push 0x529018
lea ecx, [ebp - 0x64]
push ecx
call fcn.004cac73
push ebx
push ebx
lea edx, [ebp - 0x64]
push edx
call fcn.0043c150
push 0x529018
lea eax, [ebp - 0x64]
push eax
call fcn.004cac73
int3