Function at 0x40c120
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x477770
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x4a5eb0]
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.0x40c15b.21
movzx ecx, byte [eax + 0x40c570]
jmp dword [ecx*4 + 0x40c554]
cmp dword [esi + 0x1c], 0
jne 0x40c196
lea edx, [esi + 0xc]
push 0x481904
push edx
call fcn.0040c0b0
add esp, 8
test al, al
je 0x40c196
lea eax, [esi + 0x10]
push str.6651
push eax
call fcn.0040c0b0
add esp, 8
test al, al
jne case.0x40c15b.20
mov ecx, dword [esi + 8]
push ecx
call fcn.0042edc0
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.00444ea0
mov eax, dword [esi + 8]
push 0x5000000
push eax
push 0
call fcn.0042d650
mov eax, dword [esi + 0x20]
lea edi, [esi + 0x20]
add esp, 0x18
test eax, eax
jne 0x40c1ea
push 0x80004003
call fcn.004671f0
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push eax
call edx
cmp dword [esi + 0x1c], 0
jne case.0x40c15b.20
mov ecx, edi
call fcn.00457f50
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 0x40c233
push 0x80004003
call fcn.004671f0
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.00406300
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.0041cb50
mov ecx, eax
mov byte [esp + 0x30], 0
call fcn.00419e20
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 2
call fcn.00404450
lea ecx, [esp + 0x18]
call fcn.004023d0
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.00444ea0
mov edx, dword [esp + 0x18]
add esp, 0xc
push edx
push 0
lea ecx, [esp + 0x38]
call fcn.00407e60
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.0042b340
mov eax, dword [edi]
add esp, 0xc
test eax, eax
jne 0x40c319
push 0x80004003
call fcn.004671f0
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push eax
call edx
cmp dword [esi + 0x1c], 0
jne 0x40c336
mov ecx, edi
call fcn.00457f50
mov ecx, dword [eax]
mov edx, dword [ecx + 0x4c]
push eax
call edx
lea ecx, [esp + 0xc]
call fcn.004023d0
lea ecx, [esp + 0x30]
call fcn.004023d0
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.00444ea0
mov ecx, dword [esi + 8]
push 0x4000000
push ecx
push 0
call fcn.0042d650
mov eax, dword [esi + 0x20]
add esp, 0x18
test eax, eax
jne 0x40c38c
push 0x80004003
call fcn.004671f0
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x20]
call eax
cmp dword [esi + 0x1c], 0
jne case.0x40c15b.20
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x40c3af
push 0x80004003
call fcn.004671f0
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 0x40c3df
push 0x80004003
call fcn.004671f0
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.00406300
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.0041cb50
mov ecx, eax
mov byte [esp + 0x30], 4
call fcn.00419e20
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 6
call fcn.00404450
lea ecx, [esp + 0x1c]
call fcn.004023d0
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.00444ea0
mov edx, dword [esp + 0x3c]
add esp, 0xc
push edx
push 0
lea ecx, [esp + 0x14]
call fcn.00407e60
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.0042b340
mov eax, dword [edi]
add esp, 0xc
test eax, eax
jne 0x40c4c5
push 0x80004003
call fcn.004671f0
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push eax
call edx
cmp dword [esi + 0x1c], 0
jne 0x40c4e2
mov ecx, edi
call fcn.00457f50
mov ecx, dword [eax]
mov edx, dword [ecx + 0x4c]
push eax
call edx
lea ecx, [esp + 0x30]
call fcn.004023d0
lea ecx, [esp + 0xc]
call fcn.004023d0
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 0x40c519
push 0x80004003
call fcn.004671f0
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push eax
call edx
cmp dword [esi + 0x1c], 0
jne case.0x40c15b.20
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x40c538
push 0x80004003
call fcn.004671f0
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