Function at 0x478d0c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffca8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x358], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x478f67
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.0040566c
push eax
mov eax, dword [0x4cdde0]
push eax
push 1
push 0
mov eax, dword [0x4cda18]
push eax
call fcn.0040dbd8
test eax, eax
je 0x478d6f
mov ecx, 0x478f7c
mov dl, 1
mov eax, dword [0x40778c]
call fcn.0040b8b8
call fcn.00403668
lea eax, [ebp - 8]
call fcn.0040566c
push eax
push 0x4cccbc
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax]
test eax, eax
je 0x478d9f
mov ecx, 0x478fa0
mov dl, 1
mov eax, dword [0x40778c]
call fcn.0040b8b8
call fcn.00403668
lea edx, [ebp - 0x352]
mov ecx, 0x104
mov eax, esi
call fcn.00404948
push 0
lea eax, [ebp - 0x352]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
test eax, eax
je 0x478df0
lea eax, [ebp - 0x358]
mov ecx, esi
mov edx, 0x478fc4
call fcn.00403ee8
mov ecx, dword [ebp - 0x358]
mov dl, 1
mov eax, dword [0x40778c]
call fcn.0040b8b8
call fcn.00403668
lea eax, [ebx + 0x24]
mov edx, 0x104
call fcn.004041d0
push 0x104
mov eax, dword [ebx + 0x24]
call fcn.00404060
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x28]
lea eax, [ebx + 0x24]
call fcn.0040406c
call fcn.00408d40
mov edx, eax
lea eax, [ebx + 0x24]
call fcn.004041d0
lea eax, [ebx + 0x28]
mov edx, 0xff
call fcn.004041d0
push 0xff
mov eax, dword [ebx + 0x28]
call fcn.00404060
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
lea eax, [ebx + 0x28]
call fcn.0040406c
call fcn.00408d40
mov edx, eax
lea eax, [ebx + 0x28]
call fcn.004041d0
lea eax, [ebx + 0x2c]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
lea eax, [ebx + 0x30]
mov edx, 0x104
call fcn.004041d0
lea eax, [ebx + 0x34]
push eax
push 0x104
mov eax, dword [ebx + 0x30]
call fcn.00404060
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x40]
lea eax, [ebx + 0x30]
call fcn.0040406c
call fcn.00408d40
mov edx, eax
lea eax, [ebx + 0x30]
call fcn.004041d0
lea eax, [ebx + 0x38]
mov edx, 0x104
call fcn.004041d0
push 2
lea eax, [ebp - 0x148]
push eax
push 0x104
mov eax, dword [ebx + 0x38]
call fcn.00404060
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
lea eax, [ebx + 0x38]
call fcn.0040406c
call fcn.00408d40
mov edx, eax
lea eax, [ebx + 0x38]
call fcn.004041d0
lea eax, [ebx + 0x3c]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x38]
lea eax, [ebx + 0x40]
mov edx, 0x104
call fcn.004041d0
push 0x104
mov eax, dword [ebx + 0x40]
call fcn.00404060
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
lea eax, [ebx + 0x40]
call fcn.0040406c
call fcn.00408d40
mov edx, eax
lea eax, [ebx + 0x40]
call fcn.004041d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478f6e
lea eax, [ebp - 0x358]
call fcn.00403c1c
lea eax, [ebp - 8]
call fcn.0040566c
lea eax, [ebp - 4]
call fcn.0040566c
ret