Function at 0x403269
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x421b9a
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x42a1d4]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x42a1d4]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x14]
xor ebx, ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], bx
mov dword [esp + 0x90], ebx
mov eax, dword [0x42b6ec]
mov edi, 0x42b6ec
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
push 0x34
mov byte [esp + 0x94], 2
call fcn.0040fa93
pop ecx
mov dword [esp + 0x1c], eax
cmp eax, ebx
mov byte [esp + 0x90], 3
je 0x40331e
mov esi, eax
call fcn.0040d9d4
mov dword [esp + 0x10], eax
jmp 0x403322
mov dword [esp + 0x10], ebx
push 0x30
mov byte [esp + 0x94], 2
call fcn.0040fa93
mov esi, eax
pop ecx
mov dword [esp + 0x1c], esi
cmp esi, ebx
mov byte [esp + 0x90], 4
je 0x403350
push esi
call fcn.0040d791
mov dword [esp + 0x14], esi
jmp 0x403354
mov dword [esp + 0x14], ebx
push 0x426f54
lea eax, [esp + 0x4c]
mov byte [esp + 0x94], 2
call fcn.00403672
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x94], 5
call fcn.00408587
push 1
xor ebx, ebx
lea esi, [esp + 0x4c]
mov byte [esp + 0x94], 2
call fcn.0040379f
cmp dword [esp + 0x7c], 8
mov eax, dword [esp + 0x68]
jae 0x4033a4
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00402329
lea eax, [esp + 0x18]
call fcn.004035e9
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x4034d0
mov eax, dword [0x42b6ec]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x28], eax
lea esi, [esp + 0x28]
mov byte [esp + 0x90], 6
call fcn.00402efa
mov eax, dword [0x42b6ec]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x90], 7
mov eax, dword [0x42b6ec]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x90], 8
mov eax, dword [0x42b6ec]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x9c], 9
call fcn.0040309d
lea eax, [esp + 0x10]
push eax
call fcn.00402e0e
mov edi, dword [esp + 0x2c]
cmp dword [edi - 0xc], 0
pop ecx
mov dword [esp + 0x1c], eax
je 0x40347c
push ecx
lea eax, [edi - 0x10]
mov dword [esp + 0x24], esp
mov esi, esp
call fcn.0040252b
add eax, 0x10
mov dword [esi], eax
call fcn.004028ed
pop ecx
mov dword [esp + 0x20], eax
push dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push dword [esp + 0x20]
mov ecx, ebx
call fcn.0040dad3
add ebx, 4
push ebx
lea esi, [esp + 0x3c]
call fcn.0040db89
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
call fcn.004028bd
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.004028bd
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.004028bd
lea eax, [edi - 0x10]
mov byte [esp + 0x90], 2
call fcn.004028bd
cmp dword [esp + 0x14], 0
je 0x4034fe
push dword [ebp + 0x18]
mov eax, dword [esp + 0x18]
push dword [esp + 0x38]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esp + 0x40]
call fcn.0040de03
push dword [esp + 0x14]
lea esi, [esp + 0x3c]
call fcn.0040db89
lea eax, [esp + 0x38]
push eax
call fcn.0040dbe2
mov edi, eax
neg edi
sbb edi, edi
lea eax, [esp + 0x38]
inc edi
call fcn.0040db65
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.004028bd
push 1
xor ebx, ebx
lea esi, [esp + 0x68]
call fcn.0040379f
mov eax, edi
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0040f676
mov esp, ebp
pop ebp
ret 0x14