Function at 0x40c6b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x477f60
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x4a6eb0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x30]
cmp eax, 0x21
ja case.0x40c6eb.21
movzx ecx, byte [eax + 0x40cb00]
jmp dword [ecx*4 + 0x40cae4]
cmp dword [esi + 0x1c], 0
jne 0x40c726
lea edx, [esi + 0xc]
push 0x482a7c
push edx
call fcn.0040c640
add esp, 8
test al, al
je 0x40c726
lea eax, [esi + 0x10]
push str.6651
push eax
call fcn.0040c640
add esp, 8
test al, al
jne case.0x40c6eb.20
mov ecx, dword [esi + 8]
push ecx
call fcn.0042fd00
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 4
mov edx, dword [esi + 8]
push 6
push edx
push 0
call fcn.00445de0
mov eax, dword [esi + 8]
push 0x5000000
push eax
push 0
call fcn.0042e590
mov eax, dword [esi + 0x20]
lea edi, [esi + 0x20]
add esp, 0x18
test eax, eax
jne 0x40c77a
push 0x80004003
call fcn.00467970
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push eax
call edx
cmp dword [esi + 0x1c], 0
jne case.0x40c6eb.20
mov ecx, edi
call fcn.004010a0
mov ecx, dword [eax]
mov edx, dword [ecx + 0x4c]
push eax
call edx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 4
mov eax, dword [esi + 0x20]
lea edi, [esi + 0x20]
test eax, eax
jne 0x40c7c3
push 0x80004003
call fcn.00467970
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push eax
mov eax, dword [ecx + 0x3c]
call eax
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x34]
call fcn.00406310
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov dword [esp + 0x30], 0
call fcn.00402410
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x30], 1
call fcn.0041d6a0
mov ecx, eax
mov byte [esp + 0x30], 0
call fcn.0041a690
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 2
call fcn.00404460
lea ecx, [esp + 0x18]
call fcn.00450df0
lea ecx, [esp + 0xc]
call fcn.004023f0
mov ecx, dword [esi + 8]
push ecx
lea edx, [esp + 0x10]
push str.__d_
push edx
mov byte [esp + 0x34], 3
call fcn.00402e80
mov eax, dword [esp + 0x1c]
add esp, 0xc
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [esi + 8]
push 0x21
push ecx
push 0
call fcn.00445de0
mov edx, dword [esp + 0x18]
add esp, 0xc
push edx
push 0
lea ecx, [esp + 0x38]
call fcn.00408080
push 0x81000004
push ecx
lea eax, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.00402410
push 0
call fcn.0042c280
mov eax, dword [edi]
add esp, 0xc
test eax, eax
jne 0x40c8a9
push 0x80004003
call fcn.00467970
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push eax
call edx
cmp dword [esi + 0x1c], 0
jne 0x40c8c6
mov ecx, edi
call fcn.004010a0
mov ecx, dword [eax]
mov edx, dword [ecx + 0x4c]
push eax
call edx
lea ecx, [esp + 0xc]
call fcn.00450df0
lea ecx, [esp + 0x30]
call fcn.00450df0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 4
push eax
mov eax, dword [esi + 8]
push eax
push 0
call fcn.00445de0
mov ecx, dword [esi + 8]
push 0x4000000
push ecx
push 0
call fcn.0042e590
mov eax, dword [esi + 0x20]
add esp, 0x18
test eax, eax
jne 0x40c91c
push 0x80004003
call fcn.00467970
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x20]
call eax
cmp dword [esi + 0x1c], 0
jne case.0x40c6eb.20
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x40c93f
push 0x80004003
call fcn.00467970
mov ecx, dword [esi]
mov edx, dword [ecx + 0x4c]
push esi
call edx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 4
mov eax, dword [esi + 0x20]
lea edi, [esi + 0x20]
test eax, eax
jne 0x40c96f
push 0x80004003
call fcn.00467970
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [ecx + 0x3c]
call eax
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x10]
call fcn.00406310
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov dword [esp + 0x30], 4
call fcn.00402410
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x30], 5
call fcn.0041d6a0
mov ecx, eax
mov byte [esp + 0x30], 4
call fcn.0041a690
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 6
call fcn.00404460
lea ecx, [esp + 0x1c]
call fcn.00450df0
lea ecx, [esp + 0x30]
call fcn.004023f0
mov ecx, dword [esi + 8]
push ecx
lea edx, [esp + 0x34]
push str.__d_
push edx
mov byte [esp + 0x34], 7
call fcn.00402e80
mov eax, dword [esp + 0x20]
add esp, 0xc
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [esi + 8]
push 0x20
push ecx
push 0
call fcn.00445de0
mov edx, dword [esp + 0x3c]
add esp, 0xc
push edx
push 0
lea ecx, [esp + 0x14]
call fcn.00408080
push 0x4000000
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.00402410
push 0
call fcn.0042c280
mov eax, dword [edi]
add esp, 0xc
test eax, eax
jne 0x40ca55
push 0x80004003
call fcn.00467970
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push eax
call edx
cmp dword [esi + 0x1c], 0
jne 0x40ca72
mov ecx, edi
call fcn.004010a0
mov ecx, dword [eax]
mov edx, dword [ecx + 0x4c]
push eax
call edx
lea ecx, [esp + 0x30]
call fcn.00450df0
lea ecx, [esp + 0xc]
call fcn.00450df0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 4
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x40caa9
push 0x80004003
call fcn.00467970
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push eax
call edx
cmp dword [esi + 0x1c], 0
jne case.0x40c6eb.20
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x40cac8
push 0x80004003
call fcn.00467970
mov eax, dword [esi]
mov ecx, dword [eax + 0x4c]
push esi
call ecx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 4