Function at 0x5134a0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
xor ecx, ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5144f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
cmp word [eax + 8], 0
jne 0x513537
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x18]
test al, al
je 0x5134ec
mov word [ebp - 0xe], 1
jmp 0x51354c
lea eax, [ebp - 0x44]
push eax
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 8]
call fcn.004f1570
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
lea eax, [ebp - 0x4c]
push eax
lea edx, [ebp - 0x54]
mov eax, dword [0x557f8c]
call fcn.00407720
mov eax, dword [ebp - 0x54]
xor ecx, ecx
pop edx
call fcn.0040bc70
mov ecx, dword [ebp - 0x44]
mov dl, 1
mov eax, dword [0x408da8]
call fcn.0040f1dc
call fcn.00404a04
jmp 0x51354c
mov eax, dword [ebp - 8]
movzx edx, word [eax + 8]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00512b88
mov word [ebp - 0xe], ax
mov eax, dword [ebp - 8]
call fcn.00510544
mov eax, dword [ebp - 8]
cmp byte [eax + 0x48], 0
je 0x51357c
push 0x514504
mov eax, dword [ebp - 8]
push dword [eax + 4]
push 0x514504
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00405414
jmp 0x51358a
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 4]
call fcn.00405128
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
call fcn.00510398
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
cmp byte [eax + 0x38], 0
jne 0x5138ac
mov eax, dword [ebp - 8]
movzx eax, word [eax + 8]
cmp eax, 0x19
jg 0x5135e4
je 0x51370e
dec eax
je 0x513612
add eax, 0xfffffff4
sub eax, 2
jb 0x51385a
add eax, 0xfffffffa
sub eax, 2
jb 0x5135f7
jmp 0x513943
sub eax, 0x6b
je 0x513612
sub eax, 0xa
je 0x51370e
jmp 0x513943
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0x7d0
mov eax, dword [ebp - 0x18]
add eax, 2
mov dword [ebp - 0x18], eax
jmp 0x513943
mov eax, dword [ebp - 8]
cmp byte [eax + 0xa], 1
je 0x513635
mov eax, dword [ebp - 4]
cmp word [eax + 0x34], 4
jne 0x51365b
mov eax, dword [ebp - 8]
call fcn.004f15e0
test al, al
je 0x513635
sub al, 3
jne 0x51365b
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0
je 0x51365b
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x4c]
inc eax
mov dword [ebp - 0x20], eax
push 0
mov ecx, dword [ebp - 0x20]
dec ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [0x4d8b30]
call fcn.004d8df8
mov eax, dword [0x558404]
mov dl, byte [0x514508]
cmp dl, byte [eax]
jne 0x5136bb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
cmp word [eax + 0x62], 1
jbe 0x513943
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
call fcn.0050e9c4
movzx eax, ax
cmp eax, dword [ebp - 0x20]
jge 0x513943
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
call fcn.0050e9c4
movzx eax, ax
mov dword [ebp - 0x20], eax
push 0
mov ecx, dword [ebp - 0x20]
dec ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [0x4d8b30]
call fcn.004d8df8
jmp 0x513943
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
cmp word [eax + 0x62], 1
jbe 0x513943
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
call fcn.0050e9c4
movzx eax, ax
inc eax
cmp eax, dword [ebp - 0x20]
jge 0x513943
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
call fcn.0050e9c4
movzx eax, ax
inc eax
mov dword [ebp - 0x20], eax
push 0
mov ecx, dword [ebp - 0x20]
dec ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [0x4d8b30]
call fcn.004d8df8
jmp 0x513943
mov eax, dword [ebp - 8]
cmp byte [eax + 0xa], 1
je 0x513731
mov eax, dword [ebp - 4]
cmp word [eax + 0x34], 4
jne 0x51376f
mov eax, dword [ebp - 8]
call fcn.004f15e0
test al, al
je 0x513731
sub al, 3
jne 0x51376f
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0
je 0x51376f
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x4c]
add eax, eax
add eax, 2
mov dword [ebp - 0x20], eax
push 0
mov ecx, dword [ebp - 0x20]
sub ecx, 2
mov edx, dword [ebp - 0x18]
mov eax, dword [0x4d8b30]
call fcn.004d8e14
mov eax, dword [0x558404]
mov dl, byte [0x514508]
cmp dl, byte [eax]
jne 0x51376f
dec dword [ebp - 0x20]
mov eax, dword [0x558404]
mov dl, byte [0x514508]
cmp dl, byte [eax]
jne 0x5137eb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
cmp word [eax + 0x62], 1
jbe 0x513943
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
call fcn.0050e9c4
movzx eax, ax
add eax, eax
cmp eax, dword [ebp - 0x20]
jge 0x513943
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
call fcn.0050e9c4
movzx eax, ax
add eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
and eax, 0x80000001
jns 0x5137ca
dec eax
or eax, 0xfffffffe
inc eax
mov edx, dword [ebp - 0x20]
sub edx, eax
dec edx
mov dword [ebp - 0x20], edx
push 0
mov ecx, dword [ebp - 0x20]
dec ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [0x4d8b30]
call fcn.004d8e14
jmp 0x513943
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
cmp word [eax + 0x62], 1
jbe 0x513943
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
call fcn.0050e9c4
movzx eax, ax
add eax, eax
add eax, 2
cmp eax, dword [ebp - 0x20]
jge 0x513943
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
call fcn.0050e9c4
movzx eax, ax
add eax, eax
add eax, 2
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
and eax, 0x80000001
jns 0x51383d
dec eax
or eax, 0xfffffffe
inc eax
sub dword [ebp - 0x20], eax
push 0
mov ecx, dword [ebp - 0x20]
sub ecx, 2
mov edx, dword [ebp - 0x18]
mov eax, dword [0x4d8b30]
call fcn.004d8e14
jmp 0x513943
mov eax, dword [ebp - 8]
cmp byte [eax + 0xa], 1
jne 0x513885
mov eax, dword [ebp - 8]
call fcn.00511f1c
mov edx, dword [eax]
call dword [edx + 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x513943
inc dword [ebp - 0x20]
jmp 0x513943
mov eax, dword [0x556eec]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
cmp byte [eax + 0xa], 2
jne 0x513943
mov eax, dword [ebp - 8]
call fcn.00511f1c
mov edx, dword [eax]
call dword [edx + 0x2c]
jmp 0x513943
mov eax, dword [ebp - 8]
mov ax, word [eax + 8]
dec ax
je 0x5138c2
sub ax, 0x6a
jne 0x513943
mov eax, dword [0x558404]
mov dl, byte [0x514508]
cmp dl, byte [eax]
jne 0x51390c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
call fcn.0050e9c4
movzx eax, ax
inc eax
cmp eax, dword [ebp - 0x20]
jge 0x513943
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
call fcn.0050e9c4
movzx eax, ax
inc eax
mov dword [ebp - 0x20], eax
push 0
mov ecx, dword [ebp - 0x20]
dec ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [0x4d8b30]
call fcn.004d8df8
jmp 0x513943
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
call fcn.0050e9c4
movzx eax, ax
cmp eax, dword [ebp - 0x20]
jge 0x513943
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
call fcn.0050e9c4
movzx eax, ax
mov dword [ebp - 0x20], eax
push 0
mov ecx, dword [ebp - 0x20]
dec ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [0x4d8b30]
call fcn.004d8df8
mov edx, 4
mov eax, dword [0x4d8b30]
call fcn.004d8dc4
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [0x4d8b30]
call fcn.004d8e2c
xor eax, eax
push ebp
push 0x5144bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x30], 1
jne 0x513ba8
mov eax, dword [ebp - 8]
mov ax, word [eax + 8]
sub ax, 1
jb 0x5139e2
sub ax, 0x64
jne 0x5139ef
mov eax, dword [ebp - 8]
call fcn.00511f38
test eax, eax
jne 0x5139b2
mov ecx, 0x10e7
mov edx, 0x514514
mov eax, 0x51454c
call fcn.00404fbc
mov eax, dword [ebp - 8]
call fcn.00511f38
mov edx, dword [ebp - 4]
mov dl, byte [edx + 0x30]
mov byte [eax + 0x1d], dl
mov eax, dword [ebp - 8]
call fcn.00511f38
call fcn.0050fabc
mov eax, dword [ebp - 8]
call fcn.00511f38
call fcn.0050fcbc
mov dword [ebp - 0x18], eax
jmp 0x5139ef
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 8]
cmp byte [eax + 0x38], 0
jne 0x513b2c
mov eax, dword [ebp - 8]
mov ax, word [eax + 8]
add eax, 0xfffffff3
sub ax, 2
jb 0x513abd
cmp dword [ebp - 0x1c], 0
je 0x513a70
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 8]
call fcn.005103b4
push eax
push 0xffffffffffffffff
movzx eax, word [ebp - 0xe]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0x28]
call fcn.00405554
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
call fcn.0050fcbc
push eax
mov eax, dword [0x557cac]
mov eax, dword [eax]
call eax
add esp, 0x3c
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.00512504
jmp 0x513b1a
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
mov eax, dword [ebp - 8]
call fcn.005103b4
push eax
push 0xffffffffffffffff
movzx eax, word [ebp - 0xe]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0x28]
call fcn.00405554
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
call fcn.0050fcbc
push eax
mov eax, dword [0x557cfc]
mov eax, dword [eax]
call eax
add esp, 0x2c
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.00512504
jmp 0x513b1a
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.005103b4
push eax
push 0
movzx eax, word [ebp - 0xe]
push eax
mov eax, dword [0x556eec]
push eax
push 0
push 0xffffffffffffffff
mov eax, dword [ebp - 0x28]
call fcn.00405554
push eax
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
call fcn.0050fcbc
push eax
mov eax, dword [0x557ca8]
mov eax, dword [eax]
call eax
add esp, 0x50
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.00512504
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.0050fedc
jmp 0x5144a4
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 8]
call fcn.0050fedc
push 0
push 0
push 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x2c]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
push eax
push 0
push 0
push 2
mov eax, dword [ebp - 0x20]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.005103b4
push eax
push 0
movzx eax, word [ebp - 0xe]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0x28]
call fcn.00405554
push eax
push 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
call fcn.0050fcbc
push eax
mov eax, dword [0x557ca8]
mov eax, dword [eax]
call eax
add esp, 0x50
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.00512504
jmp 0x5144a4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x30], 2
jne 0x51449c
mov eax, dword [ebp - 8]
movzx eax, word [eax + 8]
cmp eax, 0x65
jg 0x513beb
je 0x513c15
sub eax, 1
jb 0x513d87
sub eax, 0xe
je 0x513d0e
dec eax
je 0x513d52
dec eax
sub eax, 2
jb 0x513d0e
jmp 0x513d99
add eax, 0xffffff9a
sub eax, 2
jb 0x513c96
sub eax, 2
jb 0x513cd2
sub eax, 9
je 0x513d5c
dec eax
je 0x513d0e
jmp 0x513d99
mov eax, dword [ebp - 8]
call fcn.00511f38
test eax, eax
jne 0x513c35
mov ecx, 0x110d
mov edx, 0x514514
mov eax, 0x51454c
call fcn.00404fbc
mov eax, dword [ebp - 8]
call fcn.00511f38
mov edx, dword [ebp - 4]
mov dl, byte [edx + 0x30]
mov byte [eax + 0x1d], dl
mov eax, dword [ebp - 8]
call fcn.00511f38
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x78]
mov edx, dword [edx + 0xbc]
mov dword [eax + 0x18], edx
mov eax, dword [ebp - 8]
call fcn.00511f38
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x78]
mov edx, dword [edx + 0xb8]
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 8]
call fcn.00511f38
call fcn.0050fabc
mov eax, dword [ebp - 8]
call fcn.00511f38
call fcn.0050fd74
mov dword [ebp - 0x18], eax
jmp 0x513e94
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
call fcn.0050ed98
push eax
mov eax, dword [ebp - 8]
call fcn.00511f54
pop edx
call fcn.0051fb7c
mov eax, dword [ebp - 8]
call fcn.00511f54
mov edx, dword [eax]
call dword [edx + 0x4c]
mov eax, dword [ebp - 8]
call fcn.00511f54
call fcn.0051fad0
mov dword [ebp - 0x18], eax
jmp 0x513e94
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
call fcn.0050ed98
push eax
mov eax, dword [ebp - 8]
call fcn.00511f70
pop edx
call fcn.0051fb7c
mov eax, dword [ebp - 8]
call fcn.00511f70
mov edx, dword [eax]
call dword [edx + 0x4c]
mov eax, dword [ebp - 8]
call fcn.00511f70
call fcn.0051fad0
mov dword [ebp - 0x18], eax
jmp 0x513e94
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
mov eax, dword [eax + 0xb8]
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
call fcn.0050ed98
mov edx, eax
mov eax, dword [ebp - 0x2c]
call fcn.00525354
mov eax, dword [ebp - 0x2c]
call fcn.005256a0
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x513e94
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x513e94
mov eax, dword [ebp - 8]
call fcn.00510818
dec eax
jg 0x513e94
mov dword [ebp - 0x20], 0x16
mov eax, dword [ebp - 8]
call fcn.00511fc4
call fcn.00522a08
mov dword [ebp - 0x18], eax
jmp 0x513e94
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], 1
jmp 0x513e94
mov eax, dword [0x5580d4]
cmp word [eax], 0x2328
jb 0x513e94
mov eax, dword [ebp - 8]
mov ax, word [eax + 8]
add eax, 0xffffff93
sub ax, 3
jb 0x513dc4
sub ax, 2
jb 0x513e3e
jmp 0x513e94
mov eax, dword [ebp - 8]
call fcn.00510818
dec eax
jg 0x513e94
mov eax, dword [ebp - 8]
call fcn.00511f8c
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x20], 4
mov eax, dword [ebp - 8]
mov ax, word [eax + 8]
sub ax, 0x6d
je 0x513dfe
dec ax
je 0x513e0d
dec ax
je 0x513e1c
jmp 0x513e29
mov edx, 0x44
mov eax, dword [ebp - 0x3c]
call fcn.0052124c
jmp 0x513e29
mov edx, 0x45
mov eax, dword [ebp - 0x3c]
call fcn.0052124c
jmp 0x513e29
mov edx, 0x46
mov eax, dword [ebp - 0x3c]
call fcn.0052124c
mov eax, dword [ebp - 0x3c]
call fcn.00521010
mov eax, dword [ebp - 0x3c]
call fcn.00521318
mov dword [ebp - 0x18], eax
jmp 0x513e94
mov eax, dword [ebp - 8]
call fcn.00510818
dec eax
jg 0x513e94
mov eax, dword [ebp - 8]
call fcn.00511fa8
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x20], 4
mov eax, dword [ebp - 8]
cmp word [eax + 8], 0x70
jne 0x513e74
mov edx, 0x3e
mov eax, dword [ebp - 0x40]
call fcn.00522544
jmp 0x513e81
mov edx, 0x3f
mov eax, dword [ebp - 0x40]
call fcn.00522544
mov eax, dword [ebp - 0x40]
call fcn.00522310
mov eax, dword [ebp - 0x40]
call fcn.00522610
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
cmp byte [eax + 0x38], 0
jne 0x514181
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 1
jne 0x51409e
mov eax, dword [ebp - 8]
mov ax, word [eax + 8]
add eax, 0xfffffff3
sub ax, 2
jb 0x513fe7
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 8]
call fcn.005103b4
push eax
mov ax, word [ebp - 0xe]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x28]
call fcn.00405350
push eax
mov eax, dword [ebp - 0x28]
call fcn.00405554
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
call fcn.0050fd3c
push eax
mov eax, dword [0x558468]
mov eax, dword [eax]
call eax
add esp, 0x38
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.00512504
mov eax, dword [ebp - 8]
mov ax, word [eax + 8]
sub ax, 0xf
je 0x513f4b
dec ax
je 0x513f9e
dec eax
sub ax, 2
jb 0x513f4b
sub ax, 0x61
jne 0x51408c
push 0
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x10]
mov eax, dword [eax + 0x30]
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x10]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x2c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [0x5584ac]
mov eax, dword [eax]
call eax
add esp, 0x1c
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.00512504
jmp 0x51408c
push 0
push 0
push 0
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x10]
call fcn.00528860
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x10]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x2c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [0x5584ac]
mov eax, dword [eax]
call eax
add esp, 0x1c
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.00512504
jmp 0x51408c
push 2
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.005103b4
push eax
mov ax, word [ebp - 0xe]
push eax
mov eax, dword [ebp - 0x20]
push eax
push 0
mov eax, dword [ebp - 0x28]
call fcn.00405350
push eax
mov eax, dword [ebp - 0x28]
call fcn.00405554
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
call fcn.0050fd3c
push eax
mov eax, dword [0x558468]
mov eax, dword [eax]
call eax
add esp, 0x38
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.00512504
mov eax, dword [0x55ea48]
push eax
mov eax, dword [ebp - 4]
call fcn.00512c90
push eax
mov eax, dword [0x55ea44]
push eax
mov eax, dword [ebp - 4]
call fcn.00512c90
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [0x5581e8]
mov eax, dword [eax]
call eax
add esp, 0x18
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.00512504
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x40], edx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.0050fedc
jmp 0x514223
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 8]
cmp eax, dword [edx + 0x3c]
jle 0x5140ee
lea eax, [ebp - 0x58]
push eax
lea edx, [ebp - 0x5c]
mov eax, dword [0x558164]
call fcn.00407720
mov eax, dword [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0
lea edx, [ebp - 0x6c]
mov ecx, 1
pop eax
call fcn.0040bc70
mov eax, dword [ebp - 0x58]
call fcn.0050b318
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 8]
call fcn.005103b4
push eax
mov ax, word [ebp - 0xe]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x28]
call fcn.00405350
push eax
mov eax, dword [ebp - 0x28]
call fcn.00405554
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
call fcn.0050fd3c
push eax
mov eax, dword [0x558468]
mov eax, dword [eax]
call eax
add esp, 0x38
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.00512504
push 0
mov eax, dword [ebp - 0x24]
push eax
push 2
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [0x558300]
mov eax, dword [eax]
call eax
add esp, 0x18
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.00512504
jmp 0x514223
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 8]
call fcn.0050fedc
push 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x2c]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.005103b4
push eax
mov ax, word [ebp - 0xe]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x28]
call fcn.00405350
push eax
mov eax, dword [ebp - 0x28]
call fcn.00405554
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
call fcn.0050fd3c
push eax
mov eax, dword [0x558468]
mov eax, dword [eax]
call eax
add esp, 0x38
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.00512504
push 0
push 0
push 2
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [0x558300]
mov eax, dword [eax]
call eax
add esp, 0x18
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.00512504
mov eax, dword [ebp - 8]
movzx eax, word [eax + 8]
cmp eax, 0x19
jg 0x51423e
je 0x514259
dec eax
je 0x51424a
add eax, 0xfffffff4
sub eax, 2
jb 0x514262
jmp 0x514288
sub eax, 0x6b
je 0x51424a
sub eax, 0xa
je 0x514259
jmp 0x514288
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
movzx eax, word [eax + 0x60]
mov dword [ebp - 0x30], eax
jmp 0x51428d
mov dword [ebp - 0x30], 0x3e8
jmp 0x51428d
mov eax, dword [ebp - 8]
call fcn.00511f1c
cmp byte [eax + 0xc], 0
je 0x514279
mov dword [ebp - 0x30], 0x3e8
jmp 0x51428d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
movzx eax, word [eax + 0x60]
mov dword [ebp - 0x30], eax
jmp 0x51428d
xor eax, eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 8]
cmp byte [eax + 0x51], 0
je 0x5142d7
mov eax, dword [0x558404]
mov dl, byte [0x514508]
cmp dl, byte [eax]
je 0x5142d7
mov dword [ebp - 0x34], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
push eax
push 0x20
push 0
lea eax, [ebp - 0x34]
push eax
push 5
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [0x557ff4]
mov eax, dword [eax]
call eax
add esp, 0x18
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.00512504
cmp dword [ebp - 0x30], 0
jle 0x514308
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
push eax
push 0x1f
push 0
lea eax, [ebp - 0x30]
push eax
push 5
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [0x557ff4]
mov eax, dword [eax]
call eax
add esp, 0x18
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.00512504
mov eax, dword [0x558404]
mov dl, byte [0x514508]
cmp dl, byte [eax]
je 0x5144a4
mov eax, dword [ebp - 8]
mov ax, word [eax + 8]
sub ax, 1
je 0x51433e
sub ax, 0x18
je 0x51433e
sub ax, 0x52
je 0x51433e
sub ax, 0xa
jne 0x5144a4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
dec eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 8]
mov ax, word [eax + 8]
sub ax, 0x19
je 0x51435b
sub ax, 0x5c
jne 0x514369
mov ecx, 2
mov eax, dword [ebp - 0x38]
cdq
idiv ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 8]
cmp byte [eax + 0xa], 1
jne 0x5143a2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
call fcn.0050e9c4
movzx eax, ax
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x4c]
lea edx, [edx + edx*2]
cmp eax, edx
jle 0x5143a2
mov eax, dword [ebp - 8]
cmp byte [eax + 0x38], 0
jne 0x5143a2
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x4c]
lea eax, [eax + eax*2]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 8]
cmp byte [eax + 0xa], 1
jne 0x5143e3
mov eax, dword [ebp - 8]
cmp byte [eax + 0x38], 0
jne 0x5143e3
mov eax, dword [ebp - 8]
mov ax, word [eax + 8]
sub ax, 0x19
je 0x5143c7
sub ax, 0x5c
jne 0x5143d6
cmp dword [ebp - 0x38], 4
jge 0x5143e3
mov dword [ebp - 0x38], 4
jmp 0x5143e3
cmp dword [ebp - 0x38], 2
jge 0x5143e3
mov dword [ebp - 0x38], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
push eax
push 0x21
push 0
lea eax, [ebp - 0x38]
push eax
push 5
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [0x557ff4]
mov eax, dword [eax]
call eax
add esp, 0x18
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.00512504
mov eax, dword [0x5580d4]
cmp word [eax], 0x2328
jb 0x5144a4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
call fcn.0050dd4c
cmp ax, 0x23f0
jb 0x5144a4
mov eax, dword [ebp - 8]
cmp byte [eax + 0xa], 1
jne 0x5144a4
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0
jle 0x5144a4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
call fcn.0050dd4c
cmp ax, 0x23f6
jb 0x514463
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
call fcn.0050dd4c
cmp ax, 0x2710
jbe 0x5144a4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x4c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
push eax
push 0xa3
push 0
lea eax, [ebp - 0x38]
push eax
push 5
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [0x557ff4]
mov eax, dword [eax]
call eax
add esp, 0x18
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.00512504
jmp 0x5144a4
mov eax, dword [ebp - 4]
call fcn.0051242c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5144c6
mov edx, dword [ebp - 0xc]
mov eax, dword [0x4d8b30]
call fcn.004d8de0
ret