Function at 0x420cf0
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x44b2f2
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45b030]
xor eax, esp
push eax
lea eax, [esp + 0x1cc]
mov dword fs:[0], eax
xor ebp, ebp
lea esi, [esp + 0xcc]
mov dword [esp + 0x30], ebp
call fcn.00410cb0
mov dword [esp + 0x1d4], ebp
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push eax
call edx
mov edi, eax
mov ecx, esi
mov dword [esp + 0x64], edi
mov dword [esp + 0x1d4], 0xffffffff
call fcn.00411b90
lea eax, [esp + 0x6c]
push eax
call fcn.00422950
mov ebx, 1
mov dword [esp + 0x1d4], ebx
mov dword [esp + 0x20], ebp
lea esi, [esp + 0x8c]
call fcn.00410cb0
mov byte [esp + 0x1d4], 3
mov esi, dword [eax]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], ebx
cmp eax, ebp
je 0x420da0
mov dword [esp + 0x20], ebp
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], ebp
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push edi
push esi
call edx
test eax, eax
je 0x420dc0
cmp dword [esp + 0x20], ebp
je 0x420dc0
mov bl, 1
jmp 0x420dc2
xor bl, bl
mov dword [esp + 0x1d4], 2
lea ecx, [esp + 0x8c]
mov dword [esp + 0x30], ebp
call fcn.00411b90
test bl, bl
je 0x421a10
lea esi, [esp + 0x8c]
lea eax, [esp + 0x20]
call fcn.0040c410
mov byte [esp + 0x1d4], 4
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push eax
call edx
mov edi, eax
mov ecx, esi
shr edi, 2
mov byte [esp + 0x1d4], 2
call fcn.00411b90
lea esi, [esp + 0x8c]
lea eax, [esp + 0x20]
call fcn.0040c410
mov byte [esp + 0x1d4], 5
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push eax
call edx
lea ecx, [esp + 0x8c]
mov esi, eax
mov byte [esp + 0x1d4], 2
call fcn.00411b90
cmp edi, ebp
jbe 0x420e8f
mov ebx, esi
mov ebp, edi
jmp 0x420e60
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 4]
lea edi, [eax + 4]
push ebx
push ecx
push eax
call fcn.004181e0
lea ecx, [esp + 0x6c]
mov esi, eax
call fcn.00422b30
mov dword [edi], esi
mov eax, dword [esi + 4]
add ebx, 4
sub ebp, 1
mov dword [eax], esi
jne 0x420e60
mov edx, dword [esp + 0x1dc]
mov eax, dword [edx + 0x9c]
push ebp
push ebp
push 0xb
push eax
mov dword [esp + 0x78], 1
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], eax
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
xor ebp, ebp
mov esi, dword [esp + 0x80]
cmp ebx, ebp
je 0x420edf
cmp ebx, dword [esp + 0x6c]
je 0x420ee4
call fcn.00431380
cmp edi, esi
je 0x4218eb
mov dword [esp + 0x1c], ebp
lea esi, [esp + 0x194]
call fcn.00410cb0
mov byte [esp + 0x1d4], 7
mov esi, dword [eax]
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x420f1a
mov dword [esp + 0x1c], ebp
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x1c], ebp
cmp ebx, ebp
jne 0x42106f
call fcn.00431380
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x420f37
call fcn.00431380
mov edx, dword [edi + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x68]
push edx
mov edx, dword [eax + 0x3c]
push ecx
push esi
call edx
lea ecx, [esp + 0x194]
mov esi, eax
mov byte [esp + 0x1d4], 6
call fcn.00411b90
cmp esi, 0xffffffff
je 0x4218ab
cmp esi, ebp
jbe 0x4218ab
cmp dword [esp + 0x1c], ebp
je 0x4218ab
lea eax, [esp + 0x48]
push eax
call fcn.00422950
lea esi, [esp + 0x1b4]
lea eax, [esp + 0x1c]
call fcn.0040c410
mov byte [esp + 0x1d4], 9
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push eax
call edx
mov edi, eax
shr edi, 2
mov ecx, esi
mov dword [esp + 0x2c], edi
mov byte [esp + 0x1d4], 8
call fcn.00411b90
lea esi, [esp + 0x184]
lea eax, [esp + 0x1c]
call fcn.0040c410
mov byte [esp + 0x1d4], 0xa
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push eax
call edx
mov ecx, esi
mov dword [esp + 0x88], eax
mov byte [esp + 0x1d4], 8
call fcn.00411b90
mov dword [esp + 0x28], ebp
cmp edi, ebp
jbe 0x4213ba
mov ebx, ebp
jmp 0x421010
xor edi, edi
mov dword [esp + 0x18], edi
lea esi, [esp + 0x174]
call fcn.00410cb0
mov byte [esp + 0x1d4], 0xc
mov esi, dword [eax]
mov eax, dword [esp + 0x18]
or dword [esp + 0x30], 2
cmp eax, edi
je 0x421045
mov dword [esp + 0x18], edi
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov edx, dword [esp + 0x88]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [edx + ebx*4]
mov dword [esp + 0x1c], edi
mov eax, dword [esi]
mov edx, dword [eax + 0x48]
push ecx
push esi
call edx
test eax, eax
je 0x421076
cmp dword [esp + 0x18], edi
je 0x421076
mov bl, 1
jmp 0x421078
mov eax, dword [ebx]
jmp 0x420f2d
xor bl, bl
mov dword [esp + 0x1d4], 0xb
test byte [esp + 0x30], 2
je 0x42109b
and dword [esp + 0x30], 0xfffffffd
lea ecx, [esp + 0x174]
call fcn.00411b90
test bl, bl
je 0x42138f
lea esi, [esp + 0x104]
lea eax, [esp + 0x18]
call fcn.0040c410
mov byte [esp + 0x1d4], 0xd
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x4c]
push eax
call edx
test eax, eax
mov ecx, esi
sete bl
mov byte [esp + 0x1d4], 0xb
call fcn.00411b90
test bl, bl
jne 0x42138f
lea esi, [esp + 0x164]
lea eax, [esp + 0x18]
call fcn.0040c410
mov byte [esp + 0x1d4], 0xe
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
push eax
call edx
test eax, eax
mov ecx, esi
sete bl
mov byte [esp + 0x1d4], 0xb
call fcn.00411b90
test bl, bl
je 0x421123
mov dword [esp + 0x68], 0
push 0x64
call fcn.0043154a
mov esi, eax
add esp, 4
test esi, esi
je 0x421159
call fcn.0042a990
mov dword [esi], vtable.CSomWndTipImpl_class_COneKeyCheckBoxImp_.0
mov eax, dword [0x45e5d0]
mov edx, dword [eax + 0xc]
mov ecx, 0x45e5d0
call edx
add eax, 0x10
mov dword [esi + 0x60], eax
mov dword [esp + 0x24], esi
jmp 0x421161
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x24]
mov dword [esp + 0xa8], eax
lea esi, [esp + 0x114]
lea eax, [esp + 0x18]
call fcn.0040c410
mov edi, dword [eax]
lea esi, [esp + 0xf4]
lea eax, [esp + 0x18]
call fcn.0040c410
mov ebx, dword [eax]
lea esi, [esp + 0xe4]
lea eax, [esp + 0x18]
call fcn.0040c410
mov ebp, dword [eax]
lea esi, [esp + 0x144]
lea eax, [esp + 0x18]
call fcn.0040c410
mov ecx, dword [eax]
lea esi, [esp + 0x1a4]
lea eax, [esp + 0x18]
mov dword [esp + 0xa4], ecx
call fcn.0040c410
mov edx, dword [eax]
lea esi, [esp + 0x124]
lea eax, [esp + 0x18]
mov dword [esp + 0xa0], edx
call fcn.0040c410
mov byte [esp + 0x1d4], 0x14
mov esi, dword [eax]
mov eax, dword [edi]
mov ecx, dword [eax + 0xc]
push edi
call ecx
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x3c]
push ebx
call eax
mov ecx, dword [ebp]
mov edx, dword [ecx + 0x10]
push eax
push ebp
call edx
push eax
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push eax
call edx
mov edi, eax
mov eax, dword [esp + 0xac]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x4c]
push eax
call edx
push eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x44]
push esi
call ecx
mov esi, dword [esp + 0x34]
push eax
mov eax, edi
call fcn.0042aae0
lea ecx, [esp + 0x124]
mov byte [esp + 0x1d4], 0x13
call fcn.00411b90
lea ecx, [esp + 0x1a4]
mov byte [esp + 0x1d4], 0x12
call fcn.00411b90
lea ecx, [esp + 0x144]
mov byte [esp + 0x1d4], 0x11
call fcn.00411b90
mov byte [esp + 0x1d4], 0x10
lea ecx, [esp + 0xe4]
call fcn.00411b90
lea ecx, [esp + 0xf4]
mov byte [esp + 0x1d4], 0xf
call fcn.00411b90
lea ecx, [esp + 0x114]
mov byte [esp + 0x1d4], 0xb
call fcn.00411b90
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 4]
lea edi, [eax + 4]
lea edx, [esp + 0xa8]
push edx
push ecx
push eax
call fcn.004181e0
lea ecx, [esp + 0x48]
mov esi, eax
call fcn.00422b30
mov dword [edi], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
lea esi, [esp + 0x134]
lea eax, [esp + 0x18]
call fcn.0040c410
mov byte [esp + 0x1d4], 0x15
mov eax, dword [eax]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x1c]
call eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, eax
call fcn.00403410
mov ecx, esi
mov byte [esp + 0x1d4], 0x17
call fcn.00411b90
mov ecx, dword [esp + 0x3c]
cmp dword [ecx - 4], 1
jle 0x42133b
mov edx, dword [ecx - 0xc]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.00403780
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x24]
add eax, 0x60
test ecx, ecx
jne 0x42134a
xor edx, edx
jmp 0x42135f
mov edx, ecx
lea edi, [edx + 2]
nop
mov si, word [edx]
add edx, 2
test si, si
jne 0x421350
sub edx, edi
sar edx, 1
push ecx
mov ebx, edx
call fcn.004038a0
mov byte [esp + 0x1d4], 0xb
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42138f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1d4], 8
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4213a7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ebx, dword [esp + 0x28]
inc ebx
mov dword [esp + 0x28], ebx
cmp ebx, dword [esp + 0x2c]
jb 0x421010
xor ebx, ebx
cmp dword [esp + 0x60], ebx
jne 0x42145f
mov eax, dword [esp + 0x34]
cmp eax, ebx
jne 0x421458
call fcn.00431380
xor eax, eax
mov esi, dword [esp + 0x38]
cmp esi, dword [eax + 0x14]
jne 0x4213e7
call fcn.00431380
mov eax, dword [esi]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x38], eax
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x5c]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x60], ebx
cmp eax, ecx
je 0x42141d
mov esi, dword [eax]
push eax
call fcn.004307d4
mov ecx, dword [esp + 0x60]
add esp, 4
mov eax, esi
cmp esi, ecx
jne 0x421408
push ecx
call fcn.004307d4
mov ecx, dword [esp + 0x4c]
add esp, 4
push ecx
mov dword [esp + 0x60], ebx
call fcn.004307d4
mov byte [esp + 0x1d8], 2
mov eax, dword [esp + 0x20]
add esp, 4
cmp eax, ebx
je 0x420ec4
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x420ec4
mov eax, dword [eax]
jmp 0x4213d9
push 0x54
mov dword [esp + 0xb0], ebx
call fcn.0043154a
add esp, 4
mov dword [esp + 0x2c], eax
mov byte [esp + 0x1d4], 0x18
cmp eax, ebx
je 0x421488
push eax
call fcn.00406900
jmp 0x42148a
xor eax, eax
mov ecx, dword [esp + 0x1dc]
mov byte [esp + 0x1d4], 8
push 0xffffffffffffffff
push 1
lea edx, [esp + 0xb4]
mov dword [ecx + 0x15c], 0x1c
add ecx, 0x94
push edx
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], 0xa
mov dword [esp + 0xc4], 8
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], 3
call fcn.004189a0
lea esi, [esp + 0x154]
call fcn.00410cb0
mov byte [esp + 0x1d4], 0x19
mov esi, dword [eax]
mov eax, dword [esp + 0x34]
cmp eax, ebx
jne 0x42179e
call fcn.00431380
xor eax, eax
mov edi, dword [esp + 0x38]
cmp edi, dword [eax + 0x14]
jne 0x42152e
call fcn.00431380
mov ecx, dword [edi + 8]
mov edx, dword [esp + 0x64]
mov eax, dword [esi]
mov eax, dword [eax + 0x34]
push ecx
push edx
push esi
call eax
mov esi, dword [esp + 0xb0]
push eax
push esi
call fcn.00403c10
lea ecx, [esp + 0x154]
mov byte [esp + 0x1d4], 8
call fcn.00411b90
mov ecx, dword [0x45ff04]
mov dword [esi + 0x38], ecx
mov edx, dword [esi]
mov eax, dword [edx + 0x60]
mov ecx, esi
call eax
mov eax, 0x444444
cmp dword [esi + 0x3c], eax
je 0x421592
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x3c], eax
cmp ecx, ebx
je 0x421592
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push ebx
push ebx
push ebx
push esi
call eax
mov ecx, dword [esp + 0x5c]
mov ebp, dword [ecx]
mov edi, dword [esp + 0x48]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], edi
mov esi, ecx
cmp edi, ebx
je 0x4215b0
cmp edi, dword [esp + 0x48]
je 0x4215b9
call fcn.00431380
mov ecx, dword [esp + 0x5c]
cmp ebp, esi
je 0x42185b
push 0x60
call fcn.00430759
add esp, 4
xor ebx, ebx
lea esi, [eax + 8]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], esi
lea esp, [esp]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0xe0], ecx
test edi, edi
je 0x4215f5
cmp edi, dword [esp + 0x48]
je 0x4215fa
call fcn.00431380
cmp ebp, dword [esp + 0xe0]
je 0x421819
cmp ebx, 3
jge 0x421819
mov dword [esi - 8], ebx
test edi, edi
jne 0x4217a5
call fcn.00431380
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x42162c
call fcn.00431380
mov edx, dword [ebp + 8]
mov dword [esi - 4], edx
mov dword [esi], 0xa
mov dword [esi + 4], 2
test edi, edi
jne 0x4217ac
call fcn.00431380
cmp ebp, dword [edi + 0x14]
jne 0x421656
call fcn.00431380
mov esi, dword [ebp + 8]
mov edi, dword [esi + 0x2c]
call fcn.0040c470
mov eax, dword [esi + 0x54]
mov edi, dword [edi + 0xc]
mov ebx, dword [eax - 0xc]
add esi, 0x54
sub eax, 0x10
add edi, 0x2c
cmp dword [eax + 0xc], 1
jle 0x421683
mov ecx, dword [eax + 4]
push ecx
push esi
call fcn.00403780
mov esi, dword [esi]
mov ebp, dword [0x45ff00]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x4216d8
mov edx, dword [0x4603a8]
push ebp
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebp, eax
mov eax, ebx
cmp ebx, 0xffffffff
jne 0x4216b4
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [0x4603a8]
lea ecx, [esp + 0xcc]
push ecx
push eax
push esi
push edx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [0x4603a8]
push ebp
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, 0xd8
sub ecx, dword [esp + 0xcc]
sub ecx, edi
test ecx, ecx
jle 0x4217ba
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x4217b3
call fcn.00431380
xor eax, eax
mov esi, dword [esp + 0x44]
cmp esi, dword [eax + 0x14]
jne 0x42170f
call fcn.00431380
mov esi, dword [esi + 8]
mov edi, dword [esi + 0x2c]
call fcn.0040c470
mov edx, dword [esi + 0x54]
mov edi, dword [edi + 0xc]
mov ebx, dword [edx - 0xc]
add esi, 0x54
mov eax, edx
sub eax, 0x10
add edi, 0x2c
cmp dword [eax + 0xc], 1
jle 0x42173e
mov eax, dword [eax + 4]
push eax
push esi
call fcn.00403780
mov esi, dword [esi]
mov ebp, dword [0x45ff00]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x421793
mov ecx, dword [0x4603a8]
push ebp
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebp, eax
mov eax, ebx
cmp ebx, 0xffffffff
jne 0x42176f
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [esp + 0x8c]
push edx
push eax
mov eax, dword [0x4603a8]
push esi
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov ecx, dword [0x4603a8]
push ebp
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x8c]
add edi, edx
jmp 0x4217bf
mov eax, dword [eax]
jmp 0x421520
mov eax, dword [edi]
jmp 0x421622
mov edi, dword [edi]
jmp 0x42164c
mov eax, dword [eax]
jmp 0x421701
mov edi, 0xd8
mov eax, dword [esp + 0x28]
inc dword [esp + 0x24]
mov dword [eax + 8], edi
mov dword [eax + 0xc], 0x20
mov dword [eax + 0x14], 9
add eax, 0x20
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x421815
call fcn.00431380
xor eax, eax
mov esi, dword [esp + 0x44]
cmp esi, dword [eax + 0x14]
jne 0x4217fc
call fcn.00431380
mov eax, dword [esi]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x44], eax
mov ebp, eax
jmp 0x4215e0
mov eax, dword [eax]
jmp 0x4217ee
mov eax, dword [0x45f248]
mov ecx, dword [esp + 0x1dc]
mov esi, dword [esp + 0x2c]
inc eax
push eax
push ebx
mov dword [ecx + 0x15c], 0x28
push esi
add ecx, 0x94
mov dword [0x45f248], eax
call fcn.004189a0
push esi
call fcn.004308e1
mov ecx, dword [esp + 0x60]
add esp, 4
xor ebx, ebx
jmp 0x4215a4
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x5c]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x60], ebx
cmp eax, ecx
je 0x421887
mov esi, dword [eax]
push eax
call fcn.004307d4
mov ecx, dword [esp + 0x60]
add esp, 4
mov eax, esi
cmp esi, ecx
jne 0x421872
push ecx
call fcn.004307d4
mov ecx, dword [esp + 0x4c]
add esp, 4
push ecx
mov dword [esp + 0x60], ebx
call fcn.004307d4
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
add esp, 4
xor ebp, ebp
cmp ebx, ebp
jne 0x4218e7
call fcn.00431380
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x4218c0
call fcn.00431380
mov edi, dword [edi]
mov byte [esp + 0x1d4], 2
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x38], edi
cmp eax, ebp
je 0x420ec4
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x420ece
mov eax, dword [ebx]
jmp 0x4218b6
mov esi, dword [esp + 0x1dc]
mov ecx, dword [esi + 0x9c]
push ebp
push 1
push 0xb
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esp + 0x68], ebp
je 0x4219a7
mov ecx, dword [esi + 0x2ac]
lea eax, [esi + 0x2a8]
mov edx, ecx
and edx, 1
je 0x42193a
and ecx, 0xfffffffe
mov dword [eax + 4], ecx
mov ecx, dword [eax + 0x1c]
cmp ecx, ebp
je 0x42193a
mov edx, dword [ecx]
push ebp
push 1
push ebp
push eax
mov eax, dword [edx + 0x28]
call eax
mov eax, dword [esi + 0x488]
lea edx, [esi + 0x484]
mov ecx, eax
and ecx, 1
jne 0x421966
mov ecx, dword [edx + 0x1c]
or eax, 1
mov dword [edx + 4], eax
cmp ecx, ebp
je 0x421966
mov eax, dword [ecx]
push ebp
push 1
push ebp
push edx
mov edx, dword [eax + 0x28]
call edx
mov eax, dword [esi + 0x39c]
lea edx, [esi + 0x398]
mov ecx, eax
shr ecx, 2
not ecx
and ecx, 1
je 0x421996
mov ecx, dword [edx + 0x1c]
or eax, 4
mov dword [edx + 4], eax
cmp ecx, ebp
je 0x421996
mov eax, dword [ecx]
push ebp
push ebp
push ebp
push edx
mov edx, dword [eax + 0x28]
call edx
push 0x451d94
add esi, 0x2f0
push esi
call fcn.00403c10
mov byte [esp + 0x1d4], 1
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x4219bf
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x80]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x80]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x84], ebp
cmp eax, ecx
je 0x4219fe
mov esi, dword [eax]
push eax
call fcn.004307d4
mov ecx, dword [esp + 0x84]
add esp, 4
mov eax, esi
cmp esi, ecx
jne 0x4219e6
push ecx
call fcn.004307d4
add esp, 4
mov dword [esp + 0x80], ebp
jmp 0x421a31
mov byte [esp + 0x1d4], 1
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x421a28
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea esi, [esp + 0x6c]
call fcn.00422a00
mov eax, dword [esp + 0x6c]
push eax
call fcn.004307d4
add esp, 4
mov ecx, dword [esp + 0x1cc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c4
ret 4