Function at 0x434720
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x469ff7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x44], esi
xor ebp, ebp
lea ecx, [esi + 0x68]
mov dword [esi], 0x476a48
mov dword [esp + 0xd4], ebp
mov dword [ecx + 4], ebp
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], ebp
mov eax, dword [esi + 0x70]
mov edx, dword [esi + 0x6c]
push eax
push edx
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0xe0], 1
mov dword [esi + 0x78], ebp
call fcn.00434370
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0xe4]
cmp eax, ebp
mov ecx, dword [esp + 0xdc]
mov dword [esi + 0x84], edx
mov edx, dword [esp + 0xe8]
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x80], ebp
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], edx
mov byte [esi + 0xa0], 0
jne 0x4348a7
lea eax, [esp + 0x30]
push eax
lea edx, [esp + 0xa8]
push edx
push ebp
push ecx
mov dword [esi + 0x88], ebp
call fcn.00401070
mov edi, dword [esp + 0x40]
add esp, 0x10
xor ecx, ecx
cmp edi, ebp
jle 0x43489e
mov edx, eax
cmp dword [edx], ebp
je 0x434801
inc ecx
add edx, 0x28
cmp ecx, edi
jl 0x4347f0
jmp 0x43489e
lea ecx, [ecx + ecx*4]
lea edx, [eax + ecx*8]
cmp dword [edx + 0x10], 4
jne 0x43489e
mov byte [esi + 0xa0], 1
mov ecx, dword [edx + 0x14]
cmp ecx, ebp
mov dword [esi + 0xb0], ebp
je 0x43483d
test cl, 1
jne 0x43483d
mov ebx, dword [esi + 0xb0]
shr ecx, 1
inc ebx
cmp ecx, ebp
mov dword [esi + 0xb0], ebx
jne 0x434825
mov dword [esi + 0xa4], ecx
mov ecx, dword [edx + 0x18]
cmp ecx, ebp
mov dword [esi + 0xb4], ebp
je 0x434868
test cl, 1
jne 0x434868
mov ebx, dword [esi + 0xb4]
shr ecx, 1
inc ebx
cmp ecx, ebp
mov dword [esi + 0xb4], ebx
jne 0x434850
mov dword [esi + 0xa8], ecx
mov ecx, dword [edx + 0x1c]
cmp ecx, ebp
mov dword [esi + 0xb8], ebp
je 0x434898
jmp 0x434880
test cl, 1
jne 0x434898
mov edi, dword [esi + 0xb8]
shr ecx, 1
inc edi
cmp ecx, ebp
mov dword [esi + 0xb8], edi
jne 0x434880
mov dword [esi + 0xac], ecx
push eax
call fcn.00401070
add esp, 4
mov al, byte [esi + 0xa0]
test al, al
jne 0x434c48
mov al, byte [esp + 0xf0]
test al, al
je 0x434a8a
mov dword [esi + 0x8bc], 6
lea edi, [esi + 0xbc]
jmp 0x4348e0
mov ecx, dword [esi + 0x8bc]
mov eax, ecx
mov edx, dword [esi + 0x8c]
imul eax, ecx
imul eax, ecx
push eax
mov eax, dword [esi + 0x7c]
push edi
push ebp
push ebp
push ebp
push edx
push eax
call fcn.00401070
add esp, 0x1c
test eax, eax
jne 0x43491e
mov ecx, dword [esi + 0x8bc]
dec ecx
mov eax, ecx
cmp eax, 2
mov dword [esi + 0x8bc], ecx
jge 0x4348e0
mov eax, dword [esi + 0x8bc]
cmp eax, 2
jl 0x434a75
mov edi, eax
imul edi, eax
imul edi, eax
lea ecx, [edi + edi*2]
shl ecx, 2
push ecx
mov dword [esp + 0x2c], edi
call fcn.00421140
mov ebx, eax
mov eax, dword [esi + 0x8bc]
xor edx, edx
add esp, 4
cmp eax, ebp
mov dword [esp + 0x34], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebp
jle 0x434a55
mov dword [esp + 0x18], ebp
lea ebx, [ebx]
cmp dword [esi + 0x8bc], ebp
mov dword [esp + 0x20], ebp
jle 0x434a32
mov dword [esp + 0x24], ebp
cmp dword [esi + 0x8bc], ebp
mov dword [esp + 0x2c], ebp
jle 0x434a0f
lea eax, [edx + edx*2]
lea ecx, [ebx + eax*4 + 6]
lea edi, [esi + edx*4 + 0xbc]
mov edi, edi
mov edx, dword [edi]
mov eax, dword [esp + 0x18]
mov dword [ecx - 6], edx
mov ebx, dword [esi + 0x8bc]
cdq
dec ebx
idiv ebx
add edi, 4
add ecx, 0xc
mov word [ecx - 0xe], ax
mov ebx, dword [esi + 0x8bc]
mov eax, dword [esp + 0x24]
dec ebx
cdq
idiv ebx
mov word [ecx - 0xc], ax
mov ebx, dword [esi + 0x8bc]
dec ebx
mov eax, ebp
cdq
idiv ebx
mov edx, dword [esp + 0x14]
mov byte [ecx - 8], 7
inc edx
add ebp, 0xffff
mov dword [esp + 0x14], edx
mov word [ecx - 0xa], ax
mov eax, dword [esp + 0x2c]
mov ebx, dword [esi + 0x8bc]
inc eax
cmp eax, ebx
mov dword [esp + 0x2c], eax
jl 0x4349a0
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x28]
xor ebp, ebp
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add ecx, 0xffff
inc eax
mov dword [esp + 0x24], ecx
cmp eax, dword [esi + 0x8bc]
mov dword [esp + 0x20], eax
jl 0x434984
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
add ecx, 0xffff
inc eax
mov dword [esp + 0x18], ecx
cmp eax, dword [esi + 0x8bc]
mov dword [esp + 0x1c], eax
jl 0x434970
mov eax, dword [esi + 0x8c]
mov ecx, dword [esi + 0x7c]
push edi
push ebx
push eax
push ecx
call fcn.00401070
push ebx
call fcn.004211d0
add esp, 0x14
jmp 0x434c48
mov dword [esi + 0x8bc], 1
mov dword [edi], 1
jmp 0x434c42
mov eax, dword [esp + 0xf4]
cmp eax, 8
jle 0x434a9b
mov eax, 8
cmp eax, 2
mov dword [esi + 0x8bc], eax
jl 0x434c31
lea ebx, [ebx]
cmp dword [esi + 0x8bc], ebp
mov bl, 1
mov byte [esp + 0x13], bl
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], ebp
jle 0x434c48
mov dword [esp + 0x18], ebp
mov edi, edi
test bl, bl
je 0x434bf4
cmp dword [esi + 0x8bc], ebp
mov dword [esp + 0x20], ebp
jle 0x434bc7
xor ebx, ebx
lea ebx, [ebx]
mov al, byte [esp + 0x13]
test al, al
je 0x434bc7
mov eax, dword [esi + 0x8bc]
test eax, eax
jle 0x434ba8
xor edi, edi
lea esp, [esp]
mov al, byte [esp + 0x13]
test al, al
je 0x434ba8
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x434b35
mov eax, 1
mov dword [esi + 0xbc], eax
mov dword [esp + 0x14], eax
jmp 0x434b93
mov ecx, dword [esi + 0x8bc]
mov eax, dword [esp + 0x18]
cdq
dec ecx
idiv ecx
mov word [esp + 0x3c], ax
mov eax, ebx
cdq
idiv ecx
mov word [esp + 0x3e], ax
mov eax, edi
cdq
idiv ecx
mov ecx, dword [esi + 0x7c]
lea edx, [esp + 0x38]
push edx
mov word [esp + 0x44], ax
mov eax, dword [esi + 0x8c]
push eax
push ecx
call fcn.00401070
add esp, 0xc
test eax, eax
je 0x434b8e
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
mov dword [esi + eax*4 + 0xbc], edx
inc eax
mov dword [esp + 0x14], eax
jmp 0x434b93
mov byte [esp + 0x13], 0
mov eax, dword [esi + 0x8bc]
inc ebp
add edi, 0xffff
cmp ebp, eax
jl 0x434b10
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x8bc]
inc eax
add ebx, 0xffff
xor ebp, ebp
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x434af0
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 0x8bc]
mov bl, byte [esp + 0x13]
inc eax
add edx, 0xffff
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
jl 0x434ad0
test bl, bl
jne 0x434c48
mov eax, dword [esp + 0x14]
mov edx, dword [esi + 0x8c]
push ebp
dec eax
push eax
mov eax, dword [esi + 0x7c]
lea ecx, [esi + 0xc0]
push ecx
push edx
push eax
call fcn.00401070
mov ecx, dword [esi + 0x8bc]
add esp, 0x14
dec ecx
mov eax, ecx
cmp eax, 2
mov dword [esi + 0x8bc], ecx
jge 0x434ab0
test bl, bl
jne 0x434c48
mov eax, 1
mov dword [esi + 0x8bc], eax
mov dword [esi + 0xbc], eax
mov dword [esi + 0xc0], ebp
mov edx, dword [esi + 0x84]
mov eax, dword [esi + 0x7c]
lea ecx, [esp + 0x48]
push ecx
push 0x3c
push edx
push eax
mov dword [esp + 0x60], 1
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebp
call fcn.00401070
mov edx, dword [esi + 0x84]
lea ecx, [esp + 0x58]
push ecx
push 0x3c
mov dword [esi + 0x98], eax
mov eax, dword [esi + 0x7c]
push edx
push eax
call fcn.00401070
mov ecx, dword [esp + 0x10c]
lea edx, [esp + 0x68]
push edx
mov dword [esi + 0x9c], eax
mov eax, dword [esi + 0x84]
push 0x3c
mov dword [esp + 0x78], ecx
mov ecx, dword [esi + 0x7c]
push eax
push ecx
call fcn.00401070
push 0x10c
mov dword [esi + 0x94], eax
mov dword [esi + 0x11a0], ebp
mov dword [esi + 0x1180], ebp
mov dword [esi + 0x1184], ebp
call fcn.004588d2
mov edx, eax
add esp, 0x34
cmp edx, ebp
je 0x434d05
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0x7c]
mov dword [edx], ecx
mov dword [edx + 4], eax
lea edi, [edx + 8]
mov ecx, 0x40
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [edx + 0x108], ebp
jmp 0x434d07
xor edx, edx
push 0x70
mov dword [esi + 0x1188], edx
mov dword [esi + 0x118c], ebp
call fcn.004588d2
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebp
mov byte [esp + 0xd4], 2
je 0x434d37
push ebp
mov ecx, eax
call fcn.0043d990
jmp 0x434d39
xor eax, eax
mov ecx, dword [esp + 0xcc]
mov dword [esi + 0x1190], eax
pop edi
mov byte [esi + 0x1194], 0
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xc8
ret 0x1c