Function at 0x402c50
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x536710
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x5ab980]
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x30], 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
mov ebx, 3
test eax, eax
mov byte [esp + 0x30], bl
mov dword [esp + 0x20], 0
je 0x402cad
mov dword [eax], 0
cmp dword [edi], 0
jne 0x402ce9
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 2
call fcn.005128e4
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.005128e4
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.005128e4
mov dword [esp + 0x30], 0xffffffff
jmp 0x4039aa
mov esi, dword [esp + 0x38]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push ecx
push esi
call fcn.00422160
add esp, 0xc
lea ecx, [esp + 0x1c]
push str.CommonFilesDirEx
call fcn.00512952
mov ecx, dword [edi]
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push eax
mov byte [esp + 0x38], 4
call fcn.00495ca0
test eax, eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
setg byte [esp + 0x38]
call fcn.005128e4
mov al, byte [esp + 0x38]
test al, al
je 0x402dbe
mov edx, dword [esp + 0xc]
mov eax, dword [esi]
lea ecx, [esp + 0x20]
push ecx
push edx
push eax
call fcn.00425720
add esp, 0xc
test eax, eax
je 0x402dbe
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x402d6a
mov eax, dword [esp + 0xc]
mov eax, dword [eax - 8]
mov dword [ecx], eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 2
call fcn.005128e4
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.005128e4
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.005128e4
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.005128e4
pop edi
pop esi
mov eax, 0xfffffffb
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
push str.ProgramFilesDirEx
lea ecx, [esp + 0x20]
call fcn.00512952
lea ecx, [esp + 0xc]
lea edx, [esp + 0x1c]
push ecx
mov ecx, dword [edi]
push edx
mov byte [esp + 0x38], 5
call fcn.00495ca0
test eax, eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
setg byte [esp + 0x38]
call fcn.005128e4
mov al, byte [esp + 0x38]
test al, al
je 0x403699
lea eax, [esp + 0xc]
push str.Accessories_
lea ecx, [esp + 0x3c]
push eax
push ecx
call fcn.00512b79
mov eax, dword [eax]
mov ecx, dword [esi]
push eax
push ecx
mov byte [esp + 0x38], 6
call fcn.00422ad0
add esp, 8
lea ecx, [esp + 0x38]
mov edi, eax
mov byte [esp + 0x30], bl
call fcn.005128e4
test edi, edi
je 0x402e90
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 2
call fcn.005128e4
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.005128e4
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.005128e4
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.005128e4
pop edi
pop esi
mov eax, 0xfffffff4
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
lea edx, [esp + 0xc]
push str.Internet_Explorer_
lea eax, [esp + 0x3c]
push edx
push eax
call fcn.00512b79
mov eax, dword [eax]
mov ecx, dword [esi]
push eax
push ecx
mov byte [esp + 0x38], 7
call fcn.00422ad0
add esp, 8
lea ecx, [esp + 0x38]
mov edi, eax
mov byte [esp + 0x30], bl
call fcn.005128e4
test edi, edi
je 0x402f1e
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 2
call fcn.005128e4
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.005128e4
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.005128e4
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.005128e4
pop edi
pop esi
mov eax, 0xfffffff4
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
lea ecx, [esp + 0xc]
push str.MSN_
lea edx, [esp + 0x3c]
push ecx
push edx
call fcn.00512b79
mov eax, dword [eax]
mov ecx, dword [esi]
push eax
push ecx
mov byte [esp + 0x38], 8
call fcn.00422ad0
add esp, 8
lea ecx, [esp + 0x38]
mov edi, eax
mov byte [esp + 0x30], bl
call fcn.005128e4
test edi, edi
je 0x402fac
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 2
call fcn.005128e4
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.005128e4
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.005128e4
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.005128e4
pop edi
pop esi
mov eax, 0xfffffff4
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
lea eax, [esp + 0xc]
push str.Messenger_
lea ecx, [esp + 0x3c]
push eax
push ecx
call fcn.00512b79
mov eax, dword [eax]
mov ecx, dword [esi]
push eax
push ecx
mov byte [esp + 0x38], 9
call fcn.00422ad0
add esp, 8
lea ecx, [esp + 0x38]
mov edi, eax
mov byte [esp + 0x30], bl
call fcn.005128e4
test edi, edi
je 0x40303a
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 2
call fcn.005128e4
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.005128e4
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.005128e4
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.005128e4
pop edi
pop esi
mov eax, 0xfffffff4
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
lea edx, [esp + 0xc]
push str.NetMeeting_
lea eax, [esp + 0x3c]
push edx
push eax
call fcn.00512b79
mov eax, dword [eax]
mov ecx, dword [esi]
push eax
push ecx
mov byte [esp + 0x38], 0xa
call fcn.00422ad0
add esp, 8
lea ecx, [esp + 0x38]
mov edi, eax
mov byte [esp + 0x30], bl
call fcn.005128e4
test edi, edi
je 0x4030c8
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 2
call fcn.005128e4
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.005128e4
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.005128e4
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.005128e4
pop edi
pop esi
mov eax, 0xfffffff4
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
lea ecx, [esp + 0xc]
push str.Online_Services_
lea edx, [esp + 0x3c]
push ecx
push edx
call fcn.00512b79
mov eax, dword [eax]
mov ecx, dword [esi]
push eax
push ecx
mov byte [esp + 0x38], 0xb
call fcn.00422ad0
add esp, 8
lea ecx, [esp + 0x38]
mov edi, eax
mov byte [esp + 0x30], bl
call fcn.005128e4
test edi, edi
je 0x403156
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 2
call fcn.005128e4
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.005128e4
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.005128e4
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.005128e4
pop edi
pop esi
mov eax, 0xfffffff4
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
lea eax, [esp + 0xc]
push str.Outlook_Express_
lea ecx, [esp + 0x3c]
push eax
push ecx
call fcn.00512b79
mov eax, dword [eax]
mov ecx, dword [esi]
push eax
push ecx
mov byte [esp + 0x38], 0xc
call fcn.00422ad0
add esp, 8
lea ecx, [esp + 0x38]
mov edi, eax
mov byte [esp + 0x30], bl
call fcn.005128e4
test edi, edi
je 0x4031e4
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 2
call fcn.005128e4
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.005128e4
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.005128e4
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.005128e4
pop edi
pop esi
mov eax, 0xfffffff4
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
lea edx, [esp + 0xc]
push str.PLUS__
lea eax, [esp + 0x3c]
push edx
push eax
call fcn.00512b79
mov eax, dword [eax]
mov ecx, dword [esi]
push eax
push ecx
mov byte [esp + 0x38], 0xd
call fcn.00422ad0
add esp, 8
lea ecx, [esp + 0x38]
mov edi, eax
mov byte [esp + 0x30], bl
call fcn.005128e4
test edi, edi
je 0x403272
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 2
call fcn.005128e4
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.005128e4
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.005128e4
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.005128e4
pop edi
pop esi
mov eax, 0xfffffff4
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
lea ecx, [esp + 0xc]
push str.Uninstall_Information_
lea edx, [esp + 0x3c]
push ecx
push edx
call fcn.00512b79
mov eax, dword [eax]
mov ecx, dword [esi]
push eax
push ecx
mov byte [esp + 0x38], 0xe
call fcn.00422ad0
add esp, 8
lea ecx, [esp + 0x38]
mov edi, eax
mov byte [esp + 0x30], bl
call fcn.005128e4
test edi, edi
je 0x403300
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 2
call fcn.005128e4
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.005128e4
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.005128e4
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.005128e4
pop edi
pop esi
mov eax, 0xfffffff4
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
lea eax, [esp + 0xc]
push str.Web_Publish_
lea ecx, [esp + 0x3c]
push eax
push ecx
call fcn.00512b79
mov eax, dword [eax]
mov ecx, dword [esi]
push eax
push ecx
mov byte [esp + 0x38], 0xf
call fcn.00422ad0
add esp, 8
lea ecx, [esp + 0x38]
mov edi, eax
mov byte [esp + 0x30], bl
call fcn.005128e4
test edi, edi
je 0x40338e
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 2
call fcn.005128e4
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.005128e4
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.005128e4
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.005128e4
pop edi
pop esi
mov eax, 0xfffffff4
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
lea edx, [esp + 0xc]
push str.Windows_Media_Player_
lea eax, [esp + 0x3c]
push edx
push eax
call fcn.00512b79
mov eax, dword [eax]
mov ecx, dword [esi]
push eax
push ecx
mov byte [esp + 0x38], 0x10
call fcn.00422ad0
add esp, 8
lea ecx, [esp + 0x38]
mov edi, eax
mov byte [esp + 0x30], bl
call fcn.005128e4
test edi, edi
je 0x40341c
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 2
call fcn.005128e4
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.005128e4
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.005128e4
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.005128e4
pop edi
pop esi
mov eax, 0xfffffff4
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
lea ecx, [esp + 0xc]
push str.Windows_NT_
lea edx, [esp + 0x3c]
push ecx
push edx
call fcn.00512b79
mov eax, dword [eax]
mov ecx, dword [esi]
push eax
push ecx
mov byte [esp + 0x38], 0x11
call fcn.00422ad0
add esp, 8
lea ecx, [esp + 0x38]
mov edi, eax
mov byte [esp + 0x30], bl
call fcn.005128e4
test edi, edi
je 0x4034aa
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 2
call fcn.005128e4
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.005128e4
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.005128e4
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.005128e4
pop edi
pop esi
mov eax, 0xfffffff4
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
lea eax, [esp + 0xc]
push str.WindowsUpdate_
lea ecx, [esp + 0x3c]
push eax
push ecx
call fcn.00512b79
mov eax, dword [eax]
mov ecx, dword [esi]
push eax
push ecx
mov byte [esp + 0x38], 0x12
call fcn.00422ad0
add esp, 8
lea ecx, [esp + 0x38]
mov edi, eax
mov byte [esp + 0x30], bl
call fcn.005128e4
test edi, edi
je 0x403538
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 2
call fcn.005128e4
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.005128e4
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.005128e4
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.005128e4
pop edi
pop esi
mov eax, 0xfffffff4
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
mov edx, dword [esp + 0xc]
mov eax, dword [esi]
push edx
push eax
call fcn.00422ad0
add esp, 8
test eax, eax
je 0x4035ff
mov eax, dword [esi]
mov ecx, dword [esp + 0xc]
mov byte [esp + 0x30], 2
mov eax, dword [eax - 8]
mov edx, dword [ecx - 8]
cmp eax, edx
lea ecx, [esp + 0x10]
je 0x4035b4
call fcn.005128e4
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.005128e4
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.005128e4
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.005128e4
pop edi
pop esi
mov eax, 0xc9
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
call fcn.005128e4
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.005128e4
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.005128e4
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.005128e4
pop edi
pop esi
mov eax, 0xffffffe2
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
lea edx, [esp + 0x14]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x10]
push eax
push ecx
call fcn.00422160
add esp, 0xc
test eax, eax
jne 0x403695
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
call fcn.00422ad0
add esp, 8
test eax, eax
je 0x403695
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x403641
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 8]
mov dword [ecx], eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 2
call fcn.005128e4
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.005128e4
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.005128e4
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.005128e4
pop edi
pop esi
mov eax, 0xc8
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
mov edi, dword [esp + 0x24]
push str.ProfilesDirEx
lea ecx, [esp + 0x20]
call fcn.00512952
lea eax, [esp + 0xc]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, dword [edi]
mov byte [esp + 0x38], 0x13
call fcn.00495ca0
test eax, eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
setg byte [esp + 0x38]
call fcn.005128e4
mov al, byte [esp + 0x38]
test al, al
je 0x403752
mov edx, dword [esp + 0xc]
mov eax, dword [esi]
push edx
push eax
call fcn.00422ad0
add esp, 8
test eax, eax
je 0x403752
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4036fe
mov eax, dword [esp + 0xc]
mov eax, dword [eax - 8]
mov dword [ecx], eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 2
call fcn.005128e4
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.005128e4
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.005128e4
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.005128e4
pop edi
pop esi
mov eax, 0xa
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
mov ecx, dword [edi]
mov eax, dword [ecx + 0xe4]
mov ecx, dword [esi]
push eax
push ecx
call fcn.00422ad0
add esp, 8
test eax, eax
je 0x4037d3
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x40377f
mov edx, dword [edi]
mov eax, dword [edx + 0xe4]
mov eax, dword [eax - 8]
mov dword [ecx], eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 2
call fcn.005128e4
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.005128e4
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.005128e4
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.005128e4
pop edi
pop esi
mov eax, 0xfffffff5
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
mov ecx, dword [edi]
mov eax, dword [ecx + 0xdc]
mov ecx, dword [esi]
push eax
push ecx
call fcn.00422ad0
add esp, 8
test eax, eax
je 0x403854
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x403800
mov edx, dword [edi]
mov eax, dword [edx + 0xdc]
mov eax, dword [eax - 8]
mov dword [ecx], eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 2
call fcn.005128e4
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.005128e4
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.005128e4
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.005128e4
pop edi
pop esi
mov eax, 0xfffffff6
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
mov edi, dword [esi]
or esi, 0xffffffff
mov ecx, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, ebx
jne 0x4038b6
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 2
call fcn.005128e4
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.005128e4
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.005128e4
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], esi
call fcn.005128e4
pop edi
pop esi
mov eax, 0xffffffec
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
jle 0x40397c
push 0x5c
lea ecx, [esp + 0x14]
call fcn.00512dab
test eax, eax
jl 0x40392c
inc eax
lea ecx, [esp + 0x10]
push eax
push 0x5c
call fcn.00512db9
cmp eax, esi
jne 0x40392c
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 2
call fcn.005128e4
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.005128e4
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.005128e4
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], esi
call fcn.005128e4
pop edi
pop esi
mov eax, 0x65
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 2
call fcn.005128e4
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.005128e4
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.005128e4
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], esi
call fcn.005128e4
pop edi
pop esi
mov eax, 0x64
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 2
call fcn.005128e4
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.005128e4
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.005128e4
mov dword [esp + 0x30], esi
lea ecx, [esp + 0x18]
call fcn.005128e4
mov ecx, dword [esp + 0x28]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8