Function at 0x4104f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4506b9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x46e224]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
lea esi, [edi + 8]
mov dword [edi], vtable.MessageLoop.0
mov dword [edi + 4], eax
mov dword [ebp - 0x18], esi
push 8
mov dword [ebp - 4], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.00432115
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov byte [edi + 0x28], 0
lea esi, [edi + 0x38]
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [ebp - 0x18], esi
push 8
mov byte [ebp - 4], 2
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.00432115
add esp, 8
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov dword [edi + 0x4c], 0
lea esi, [edi + 0x50]
mov byte [ebp - 4], 4
mov ecx, esi
mov dword [ebp - 0x18], esi
call fcn.0041ff50
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov word [edi + 0x68], 1
mov dword [edi + 0x6c], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0xf
mov byte [edi + 0x6c], 0
lea esi, [edi + 0x88]
mov dword [edi + 0x84], 0
mov dword [ebp - 0x18], esi
push 8
mov byte [ebp - 4], 6
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.00432115
add esp, 4
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
lea ecx, [edi + 0x9c]
mov byte [ebp - 4], 7
mov dword [ebp - 0x18], ecx
call fcn.0041aea0
mov dword [edi + 0xb4], 0
lea esi, [edi + 0xc8]
mov dword [edi + 0xb8], 0
mov ecx, esi
mov dword [edi + 0xbc], 0
mov byte [ebp - 4], 8
mov byte [edi + 0xc0], 0
mov dword [edi + 0xc4], 0
mov dword [ebp - 0x18], esi
call fcn.0041ff50
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [edi + 0xe0], 0
mov dword [edi + 0xe4], 0
mov eax, dword [0x47055c]
mov dword [ebp - 4], 0xb
test eax, 0xfffffffe
jne 0x410764
push 0x47055c
call fcn.0041af10
add esp, 4
test al, al
je 0x410764
push 0x470560
mov dword [0x470560], 0
call fcn.00426540
push 0x411dd0
push 0x47055c
push 0x470560
push 0x47055c
call fcn.0041aef0
add esp, 0x14
mov eax, dword [0x47055c]
push edi
push eax
call fcn.00426670
push 0x24
call fcn.00432115
add esp, 0xc
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xe
test eax, eax
je 0x410790
mov ecx, eax
call fcn.00423640
mov ebx, eax
jmp 0x410792
xor ebx, ebx
mov byte [ebp - 4], 0xb
test ebx, ebx
je 0x4107a2
lea ecx, [ebx + 4]
call fcn.00415f30
mov esi, dword [edi + 0xe0]
mov dword [edi + 0xe0], ebx
test esi, esi
je 0x4107d0
lea ebx, [esi + 4]
mov ecx, ebx
call fcn.00415f50
test al, al
je 0x4107d0
xor eax, eax
test ebx, ebx
cmove esi, eax
push esi
call fcn.00415fd0
add esp, 4
push 4
call fcn.00432115
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 0xf
test esi, esi
je 0x410816
mov ecx, dword [edi + 0xe0]
mov dword [ebp + 8], ecx
test ecx, ecx
je 0x4107fc
add ecx, 4
call fcn.00415f30
lea eax, [ebp + 8]
mov byte [ebp - 4], 0x10
push eax
mov ecx, esi
mov dword [ebp - 0x10], 2
call fcn.00426330
mov ebx, eax
jmp 0x410818
xor ebx, ebx
mov esi, dword [edi + 0xe4]
cmp ebx, esi
je 0x41083e
test esi, esi
je 0x410838
mov ecx, esi
call fcn.004263f0
push 4
push esi
call fcn.00432145
add esp, 8
mov dword [edi + 0xe4], ebx
test byte [ebp - 0x10], 2
mov dword [ebp - 4], 0xb
je 0x41087a
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 0x12
test eax, eax
je 0x410876
lea esi, [eax + 4]
mov ecx, esi
call fcn.00415f50
test al, al
je 0x410876
lea eax, [esi - 4]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00415fd0
add esp, 4
mov byte [ebp - 4], 0xb
mov eax, dword [edi + 4]
cmp eax, 1
jne 0x4108b1
mov eax, dword [0x470568]
test eax, eax
je 0x410891
call eax
mov ebx, eax
jmp 0x4108fc
push 0x40
call fcn.00432115
add esp, 4
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0x13
test eax, eax
je 0x4108f6
mov ecx, eax
call fcn.00420510
mov ebx, eax
jmp 0x4108f8
cmp eax, 2
jne 0x4108d6
push 0x58
call fcn.00432115
add esp, 4
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0x14
test eax, eax
je 0x4108f6
mov ecx, eax
call fcn.004203c0
mov ebx, eax
jmp 0x4108f8
push 0x18
call fcn.00432115
add esp, 4
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0x17
test eax, eax
je 0x4108f6
mov ecx, eax
call fcn.004239e0
mov ebx, eax
jmp 0x4108f8
xor ebx, ebx
mov byte [ebp - 4], 0xb
test ebx, ebx
je 0x410908
lea ecx, [ebx + 4]
call fcn.00415f30
mov esi, dword [edi + 0x4c]
mov dword [edi + 0x4c], ebx
test esi, esi
je 0x410934
lea ebx, [esi + 4]
mov ecx, ebx
call fcn.00415f50
test al, al
je 0x410934
xor eax, eax
test ebx, ebx
cmove esi, eax
test esi, esi
je 0x410934
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4