Function at 0x672578
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x2b
push 0
push 0
dec ecx
jne 0x672581
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x672a06
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xc]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, 0x672a1c
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, dword [ebp + 8]
call fcn.0040b918
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.006613c0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
push eax
push 0
lea eax, [ebp - 0x20]
push eax
mov eax, 0x672a30
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, dword [ebp + 8]
call fcn.0040b918
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.006613c0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, 0x672a44
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, dword [ebp + 8]
call fcn.0040b918
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
push eax
push 0
lea eax, [ebp - 0x28]
push eax
mov eax, 0x672a5c
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, dword [ebp + 8]
call fcn.0040b918
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.006613c0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
push eax
push 0xa
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x672a70
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, dword [ebp + 8]
call fcn.0040b918
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.006613c0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
push eax
push 0
lea eax, [ebp - 0x30]
push eax
mov eax, 0x672a84
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, dword [ebp + 8]
call fcn.0040b918
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.006613c0
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x30]
push eax
push 0
lea eax, [ebp - 0x34]
push eax
mov eax, 0x672a9c
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, dword [ebp + 8]
call fcn.0040b918
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.006613c0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x67281d
cmp dword [eax + 0xc], 0
je 0x67281d
lea edx, [ebp - 0x138]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
call fcn.00403ef4
lea edx, [ebp - 0x138]
lea eax, [ebp - 0x38]
call fcn.004050a4
mov eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x13c]
push eax
mov eax, 0x672ab4
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, dword [ebp + 8]
call fcn.0040b918
mov ecx, dword [ebp - 0x13c]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 4]
mov dl, 1
mov eax, dword [0x5b5f4c]
call fcn.00403f74
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x672816
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x58]
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.004217e4
lea edx, [ebp - 0x140]
mov eax, dword [ebp - 0x10]
call fcn.00635210
mov eax, dword [ebp - 0x140]
push eax
lea eax, [ebp - 0x144]
push eax
mov eax, 0x672acc
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, dword [ebp + 8]
call fcn.0040b918
mov ecx, dword [ebp - 0x144]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.00661498
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x67281d
mov eax, dword [ebp - 0x10]
call fcn.00403fa4
ret
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
je 0x67286f
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00661780
mov eax, dword [ebp - 0x148]
push eax
lea eax, [ebp - 0x14c]
push eax
mov eax, 0x672adc
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, dword [ebp + 8]
call fcn.0040b918
mov ecx, dword [ebp - 0x14c]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 4]
test byte [eax + 0x38], 1
setne al
push eax
push 1
lea eax, [ebp - 0x150]
push eax
mov eax, 0x672aec
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, dword [ebp + 8]
call fcn.0040b918
mov ecx, dword [ebp - 0x150]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.006613dc
mov eax, dword [ebp - 4]
test byte [eax + 0x38], 2
setne al
push eax
push 1
lea eax, [ebp - 0x154]
push eax
mov eax, 0x672b00
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, dword [ebp + 8]
call fcn.0040b918
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.006613dc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
xor edx, edx
call fcn.00405810
je 0x6729a7
mov dl, 1
mov eax, dword [0x5b5f4c]
call fcn.00403f74
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x6729a0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call fcn.004056f4
mov ecx, eax
add ecx, ecx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x20]
mov eax, dword [ebp - 0x10]
call fcn.00421a28
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.004217e4
lea edx, [ebp - 0x158]
mov eax, dword [ebp - 0x10]
call fcn.00635210
mov eax, dword [ebp - 0x158]
push eax
lea eax, [ebp - 0x15c]
push eax
mov eax, 0x672b14
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, dword [ebp + 8]
call fcn.0040b918
mov ecx, dword [ebp - 0x15c]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6729a7
mov eax, dword [ebp - 0x10]
call fcn.00403fa4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x672a0d
lea eax, [ebp - 0x15c]
call fcn.00404e30
lea eax, [ebp - 0x158]
call fcn.00404e30
lea eax, [ebp - 0x154]
mov edx, 5
call fcn.00404e54
lea eax, [ebp - 0x140]
call fcn.00404e30
lea eax, [ebp - 0x13c]
call fcn.00404e30
lea eax, [ebp - 0x38]
mov edx, 7
call fcn.00404e54
lea eax, [ebp - 0x14]
call fcn.00404e30
ret