Function at 0x430881
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x464d8b
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x480070]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [0x4831ec]
mov esi, 0x4831ec
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 0x430a60
cmp eax, 0xa
je 0x430a9a
cmp eax, 5
je 0x430a9e
and dword [esp + 0x1c], 0
cmp eax, 3
je 0x430aff
cmp eax, 6
jne 0x430a56
mov edi, dword [ebp + 0xc]
add edi, 4
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jne 0x43092e
lea eax, [esp + 0x10]
call fcn.0040144e
jmp 0x430a60
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.004015c5
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.00430b64
cmp eax, 4
jne 0x430b4a
lea eax, [esp + 0x10]
push eax
push ebx
call fcn.00430b64
cmp eax, 7
je 0x430990
cmp eax, 6
je 0x430990
mov eax, edi
mov dword [eax + 0x14], 0x106
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.004017a1
jmp 0x430a60
mov eax, dword [0x4831ec]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov ecx, esi
lea esi, [esp + 0x28]
mov dword [esp + 0x24], eax
call fcn.00401786
lea eax, [esp + 0x14]
lea edi, [esp + 0x24]
mov byte [esp + 0x38], 2
call fcn.0040144e
lea eax, [esp + 0x10]
mov edi, esi
call fcn.0040144e
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.004015c5
add eax, 0x10
mov dword [edi], eax
mov edi, dword [ebp + 0xc]
push edi
call fcn.0042e8b8
test eax, eax
je 0x4309fd
mov dword [esp + 0x18], 0x107
push dword [edi + 0xc]
add edi, 8
lea eax, [esp + 0x28]
push eax
call fcn.00430fda
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x430a18
mov dword [ecx], eax
jmp 0x430a1a
mov dword [edi], eax
mov dword [edi + 4], eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x430a2b
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
call fcn.004017a1
mov eax, esi
call fcn.004017a1
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.004017a1
mov esi, 0x4831ec
jmp 0x430a60
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.00430b64
cmp eax, 2
jne 0x4308e9
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.004017a1
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 0x430a77
mov edi, dword [ebp + 8]
lea eax, [esp + 0x10]
push eax
push ebx
call fcn.00430b64
cmp dword [esp + 0x1c], 0
je 0x430aee
cmp eax, 6
je 0x430abf
mov dword [edi + 0x14], 0x10b
lea eax, [esp + 0x10]
push eax
push ebx
call fcn.00430b64
cmp eax, 2
je 0x430ad6
mov dword [edi + 0x14], 0x103
mov esi, dword [ebp + 0xc]
lea edi, [esi + 4]
lea eax, [esp + 0x10]
call fcn.0040144e
mov eax, dword [ebp + 0x18]
mov dword [esi], ebx
mov dword [eax], ebx
jmp 0x430a77
cmp eax, 2
je 0x430afa
mov dword [edi + 0x14], 0x103
mov eax, dword [ebp + 0x10]
jmp 0x430aea
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x430b2e
cmp eax, 0xa
je 0x430b3e
cmp eax, 3
jne 0x430b2e
lea eax, [esp + 0x10]
push eax
push ebx
call fcn.00430b64
cmp eax, 2
je 0x430a77
mov dword [edi + 0x14], 0x103
lea eax, [esp + 0x10]
push eax
push ebx
call fcn.00430b64
cmp eax, 2
jne 0x430b09
mov dword [edi + 0x14], 0x101
jmp 0x430a9a
mov eax, edi
mov dword [eax + 0x14], 0x105
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.004017a1
jmp 0x430a9a