Function at 0x42eefb
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47d284
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4a1060]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [0x4a444c]
mov esi, 0x4a444c
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov dword [esp + 0x38], eax
xor ebx, ebx
inc ebx
mov dword [ecx], ebx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x1c], ebx
mov dword [ecx], eax
jmp 0x42f0da
cmp eax, 0xa
je 0x42f114
cmp eax, 5
je 0x42f118
and dword [esp + 0x1c], 0
cmp eax, 3
je 0x42f179
cmp eax, 6
jne 0x42f0d0
mov edi, dword [ebp + 0xc]
add edi, 4
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jne 0x42efa8
lea eax, [esp + 0x10]
call fcn.00402ed6
jmp 0x42f0da
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.00403bb0
add eax, 0x10
mov dword [esp + 0x14], eax
mov edi, dword [ebp + 8]
lea eax, [esp + 0x10]
push eax
push ebx
mov byte [esp + 0x40], bl
call fcn.0042f1de
cmp eax, 4
jne 0x42f1c4
lea eax, [esp + 0x10]
push eax
push ebx
call fcn.0042f1de
cmp eax, 7
je 0x42f00a
cmp eax, 6
je 0x42f00a
mov eax, edi
mov dword [eax + 0x14], 0x106
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.00403c45
jmp 0x42f0da
mov eax, dword [0x4a444c]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov ecx, esi
lea esi, [esp + 0x28]
mov dword [esp + 0x24], eax
call fcn.00403c2a
lea eax, [esp + 0x14]
lea edi, [esp + 0x24]
mov byte [esp + 0x38], 2
call fcn.00402ed6
lea eax, [esp + 0x10]
mov edi, esi
call fcn.00402ed6
mov esi, dword [esp + 0x24]
and dword [esp + 0x18], 0
push ecx
add esi, 0xfffffff0
mov eax, esi
mov dword [esp + 0x24], esp
mov edi, esp
call fcn.00403bb0
add eax, 0x10
mov dword [edi], eax
mov edi, dword [ebp + 0xc]
push edi
call fcn.0042d07c
test eax, eax
je 0x42f077
mov dword [esp + 0x18], 0x107
push dword [edi + 0xc]
add edi, 8
lea eax, [esp + 0x28]
push eax
call fcn.0042f680
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x42f092
mov dword [ecx], eax
jmp 0x42f094
mov dword [edi], eax
mov dword [edi + 4], eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x42f0a5
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
call fcn.00403c45
mov eax, esi
call fcn.00403c45
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.00403c45
mov esi, 0x4a444c
jmp 0x42f0da
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0x104
mov edi, dword [ebp + 8]
lea eax, [esp + 0x10]
push eax
push ebx
call fcn.0042f1de
cmp eax, 2
jne 0x42ef63
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.00403c45
mov eax, ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
xor ebx, ebx
jmp 0x42f0f1
mov edi, dword [ebp + 8]
lea eax, [esp + 0x10]
push eax
push ebx
call fcn.0042f1de
cmp dword [esp + 0x1c], 0
je 0x42f168
cmp eax, 6
je 0x42f139
mov dword [edi + 0x14], 0x10b
lea eax, [esp + 0x10]
push eax
push ebx
call fcn.0042f1de
cmp eax, 2
je 0x42f150
mov dword [edi + 0x14], 0x103
mov esi, dword [ebp + 0xc]
lea edi, [esi + 4]
lea eax, [esp + 0x10]
call fcn.00402ed6
mov eax, dword [ebp + 0x18]
mov dword [esi], ebx
mov dword [eax], ebx
jmp 0x42f0f1
cmp eax, 2
je 0x42f174
mov dword [edi + 0x14], 0x103
mov eax, dword [ebp + 0x10]
jmp 0x42f164
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x42f1a8
cmp eax, 0xa
je 0x42f1b8
cmp eax, 3
jne 0x42f1a8
lea eax, [esp + 0x10]
push eax
push ebx
call fcn.0042f1de
cmp eax, 2
je 0x42f0f1
mov dword [edi + 0x14], 0x103
lea eax, [esp + 0x10]
push eax
push ebx
call fcn.0042f1de
cmp eax, 2
jne 0x42f183
mov dword [edi + 0x14], 0x101
jmp 0x42f114
mov eax, edi
mov dword [eax + 0x14], 0x105
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.00403c45
jmp 0x42f114