Function at 0x62a410
Capabilities:
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x188
mov eax, dword [0x8ce6f4]
xor eax, esp
mov dword [esp + 0x184], eax
mov eax, dword [esp + 0x18c]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esp + 0x198]
mov dword [esi + 0x7a3818], ecx
mov edx, dword [0x43fb54]
mov ecx, dword [0x43fb58]
push edi
mov dword [esp + 0x68], edx
mov edx, dword [0x43fb5c]
mov dword [esp + 0x6c], ecx
mov ecx, dword [0x43fb60]
push 0x43fb50
mov dword [esp + 0x74], edx
mov dx, word [0x43fb64]
mov dword [esp + 0x78], ecx
mov cl, byte [0x43fb66]
push eax
lea edi, [esi + 0x7a37f0]
mov ebx, 1
push edi
mov word [esp + 0x84], dx
mov byte [esp + 0x86], cl
mov dword [esp + 0x58], ebx
mov dword [esp + 0x60], 0x100
call fcn.008096ec
add esp, 0xc
test eax, eax
jne 0x62a6fe
mov edx, dword [edi]
push edx
lea eax, [esp + 0x80]
push 0x13
push eax
call fcn.0080c4cb
add esp, 0xc
test eax, eax
je 0x62a6fe
lea ecx, [esp + 0x68]
lea eax, [esp + 0x7c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x62a4f4
test dl, dl
je 0x62a4f0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x62a4f4
add eax, 2
add ecx, 2
test dl, dl
jne 0x62a4d4
xor eax, eax
jmp 0x62a4f9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x62a6fe
lea ecx, [esp + 0x40]
push ecx
push 0xf003f
push eax
push 0x43fb3c
push reloc.DSOUND.dll_DirectSoundCreate
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x62a589
lea edx, [esp + 0x54]
push edx
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x54]
push ecx
push 0
push 0x43fb34
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x62a589
mov byte [esp + 0x18f], al
lea eax, [esp + 0x90]
push 0x5c
push eax
call fcn.0080ba00
add esp, 8
test eax, eax
je 0x62a57e
lea ecx, [esp + 0x18f]
sub ecx, eax
push 0x43fb28
push ecx
inc eax
push eax
call fcn.0080c95c
add esp, 0xc
mov edx, dword [esp + 0x40]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi + 0x7a37ec], eax
test eax, eax
je 0x62a5b3
push 0x43fb1c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x848], eax
mov dword [esp + 0xc], 0
jmp 0x62a5c0
push 0x104
call fcn.007c8558
mov ecx, dword [esp + 0x10]
mov dword [esi + ecx*4 + 0xc4c], eax
mov eax, dword [esp + 0x10]
add eax, ebx
add esp, 4
mov dword [esp + 0xc], eax
cmp eax, 0x100
jb 0x62a5c0
mov edx, dword [esi + 0x7a37f0]
lea edi, [esi + 0x824]
push edi
push 0x4284b0
push edx
call fcn.0080c93c
add esp, 0xc
cmp eax, ebx
jne 0x62a6fe
mov eax, dword [edi]
mov dword [esp + 0xc], eax
test eax, eax
je 0x62a696
lea ebx, [ebx]
mov ecx, dword [esi + 0x7a37f0]
lea eax, [esp + 0x10]
push eax
push 0x43fb18
push ecx
call fcn.0080c93c
add esp, 0xc
cmp eax, ebx
jne 0x62a6f8
mov edx, dword [esi + 0x7a37f0]
mov ecx, dword [edi]
mov eax, dword [esp + 0x10]
sub ecx, dword [esp + 0xc]
push edx
mov edx, dword [esi + ecx*4 + 0xc4c]
inc eax
push eax
push edx
call fcn.0080c4cb
mov eax, dword [edi]
sub eax, dword [esp + 0x18]
push 0
mov ecx, dword [esi + eax*4 + 0xc4c]
push 0x8000
push ecx
call fcn.0080c815
mov edx, dword [edi]
sub edx, dword [esp + 0x24]
add esp, 0x18
mov dword [esi + edx*4 + 0x84c], eax
cmp eax, 0xffffffff
je 0x62a705
sub dword [esp + 0xc], ebx
jne 0x62a620
mov ebx, dword [esi + 0x7a37f0]
push ebp
lea eax, [esi + 0x844]
push eax
lea ebp, [esi + 0x840]
push ebp
lea edx, [esi + 0x830]
push edx
push 0x43fb00
push 0x100
lea edi, [esp + 0xa8]
call fcn.00625ba0
add esp, 4
push eax
call fcn.0080c7f3
add esp, 0x14
cmp eax, 3
jne 0x62ad9c
cmp dword [ebp], 0
jne 0x62a712
cmp dword [esi + 0x844], 0
jne 0x62a712
mov dword [esi + 0x83c], 0
jmp 0x62a71c
mov eax, dword [esp + 0xc]
sub dword [edi], eax
xor eax, eax
jmp 0x62b249
mov ecx, dword [esp + 0xc]
sub dword [edi], ecx
xor eax, eax
jmp 0x62b249
mov dword [esi + 0x83c], 1
mov ebx, dword [esi + 0x7a37f0]
lea ebp, [esi + 0x82c]
push ebp
push 0x43faec
push 0x100
lea edi, [esp + 0xa0]
call fcn.00625ba0
add esp, 4
push eax
call fcn.0080c7f3
add esp, 0xc
cmp eax, 1
jne 0x62ad9c
mov eax, dword [ebp]
sub eax, 2
je 0x62a770
dec eax
je 0x62a769
dec eax
jne 0x62a780
call fcn.0062c3e0
jmp 0x62a780
call fcn.0062c890
jmp 0x62a780
cmp dword [0x8d4700], 0
jne 0x62a780
mov dword [ebp], 1
mov eax, dword [esi + 0x84c]
xor ebx, ebx
push ebx
push ebx
push ebx
push eax
mov dword [esi + 0x820], ebx
call fcn.0080c15f
add esp, 0x10
mov ecx, esi
call fcn.006264f0
mov ecx, esi
call fcn.006266e0
push 0x20
mov ecx, esi
call fcn.00626650
cmp eax, 0x1b3
jne 0x62a7a1
mov ecx, esi
call fcn.00629d70
mov eax, dword [esi + 0x1594]
add eax, 0xf
cdq
and edx, 0xf
lea ecx, [edx + eax]
mov eax, dword [esi + 0x1598]
sar ecx, 4
mov dword [esi + 0x159c], ecx
cmp dword [esi + 0x15a4], ebx
je 0x62a7f4
add eax, 0xf
cdq
and edx, 0xf
add eax, edx
sar eax, 4
jmp 0x62a802
add eax, 0x1f
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
add eax, eax
mov edx, dword [esi + 0x15a8]
mov dword [esi + 0x15a0], eax
shl ecx, 4
shl eax, 4
mov dword [esi + 0x157c], ecx
mov dword [esi + 0x1580], eax
cmp edx, 3
je 0x62a827
sar ecx, 1
mov dword [esi + 0x1584], ecx
cmp edx, 1
jne 0x62a834
sar eax, 1
mov dword [esi + 0x1588], eax
mov ecx, dword [edx*4 + 0x43fa10]
mov dword [esi + 0x158c], ecx
mov dword [esp + 0x10], ebx
jmp 0x62a850
push 0xc0
call fcn.007c8558
mov edx, dword [esp + 0x14]
mov dword [esi + edx*4 + 0x1490], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + ecx*4 + 0x1490]
mov edx, eax
add esp, 4
and edx, 0x8000003f
jns 0x62a882
dec edx
or edx, 0xffffffc0
inc edx
sub eax, edx
add eax, 0x40
mov dword [esi + ecx*4 + 0x1470], eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, 8
jb 0x62a850
push 0x240
call fcn.007c8558
mov ecx, eax
add esp, 4
and ecx, 0x8000003f
mov dword [esi + 0x146c], eax
jns 0x62a8be
dec ecx
or ecx, 0xffffffc0
inc ecx
sub eax, ecx
add eax, 0x40
mov dword [esi + 0x1468], eax
xor eax, eax
mov dword [esp + 0x10], eax
nop
cmp eax, ebx
jne 0x62a8e3
mov edi, dword [esi + 0x1580]
imul edi, dword [esi + 0x157c]
jmp 0x62a8f0
mov edi, dword [esi + 0x1588]
imul edi, dword [esi + 0x1584]
push edi
call fcn.007c8558
mov edx, dword [esp + 0x14]
push edi
mov dword [esi + edx*4 + 0x14bc], eax
call fcn.007c8558
mov ecx, dword [esp + 0x18]
push edi
mov dword [esi + ecx*4 + 0x14c8], eax
call fcn.007c8558
mov edx, dword [esp + 0x1c]
mov dword [esi + edx*4 + 0x14d4], eax
mov eax, dword [esp + 0x1c]
inc eax
add esp, 0xc
mov dword [esp + 0x10], eax
cmp eax, 3
jb 0x62a8d0
mov ebx, dword [esi + 0x7a37f0]
lea eax, [esp + 0x10]
push eax
push 0x43fad8
push 0x100
lea edi, [esp + 0xa0]
call fcn.00625ba0
add esp, 4
push eax
call fcn.0080c7f3
add esp, 0xc
cmp eax, 1
jne 0x62ad9c
xor eax, eax
cmp dword [esp + 0x10], eax
je 0x62a9bd
mov eax, 0x10002543
mov dword [esi + 0x1508], eax
mov dword [esi + 0x150c], eax
mov eax, 0x100010
mov dword [esi + 0x1510], eax
mov dword [esi + 0x1514], eax
mov eax, 0x408d
mov dword [esi + 0x1520], eax
mov dword [esi + 0x1524], eax
mov eax, 0xf377e5fc
mov dword [esi + 0x1528], eax
mov dword [esi + 0x152c], eax
mov eax, 0x3313
jmp 0x62aa01
mov dword [esi + 0x1510], eax
mov dword [esi + 0x1514], eax
mov eax, 0x38b4
mov dword [esi + 0x1520], eax
mov dword [esi + 0x1524], eax
mov eax, 0xf4fde926
mov ecx, 0x10002000
mov dword [esi + 0x1528], eax
mov dword [esi + 0x152c], eax
mov dword [esi + 0x1508], ecx
mov dword [esi + 0x150c], ecx
mov eax, 0x2cdd
mov ebx, dword [esi + 0x7a37f0]
push 0x100
lea edi, [esp + 0x98]
mov dword [esi + 0x151c], eax
mov dword [esi + 0x1518], eax
call fcn.00625ba0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
mov edi, eax
push 0x43fac4
push edi
call fcn.0080c7f3
add esp, 0x14
cmp eax, 2
je 0x62aa83
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x43faac
push edi
call fcn.0080c7f3
add esp, 0x10
cmp eax, 2
jne 0x62ad9c
mov dword [esp + 0x10], 0x80
mov dword [esp + 0x14], 0
mov dword [esi + 0x834], 0
jmp 0x62ab00
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
cmp eax, 0x80
jne 0x62aa9e
test edi, edi
jne 0x62aa9e
mov dword [esi + 0x834], edi
jmp 0x62ab00
push 0x10001
push 0x10001
push 0
push eax
mov dword [esi + 0x834], 1
call fcn.00803af0
push 0x10001
push 0x10001
push 0
push edi
mov dword [esi + 0x1538], eax
mov dword [esi + 0x153c], edx
call fcn.00803af0
mov dword [esi + 0x1534], edx
mov edx, dword [esi + 0x1580]
imul edx, dword [esi + 0x157c]
push edx
mov dword [esi + 0x1530], eax
call fcn.007c8558
add esp, 4
mov dword [esi + 0x14fc], eax
mov ebx, dword [esi + 0x7a37f0]
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x78]
push edx
push 0x43fa8c
push 0x100
lea edi, [esp + 0xb4]
call fcn.00625ba0
add esp, 4
push eax
call fcn.0080c7f3
add esp, 0x20
cmp eax, 6
jne 0x62ad9c
mov edx, dword [esi + 0x157c]
mov eax, dword [esi + 0x1580]
mov ebx, dword [esp + 0x64]
mov edi, dword [esp + 0x60]
mov ebp, dword [esp + 0x68]
xor ecx, ecx
mov dword [esi + 0x838], ecx
mov dword [esi + 0x156c], edx
mov dword [esi + 0x1574], edx
mov dword [esi + 0x1570], eax
mov dword [esi + 0x1578], eax
mov dword [esi + 0x1560], ecx
mov dword [esi + 0x155c], ecx
mov dword [esi + 0x1558], ecx
cmp ebx, ecx
jne 0x62abab
cmp dword [esp + 0x48], ecx
jne 0x62abab
cmp ebp, ecx
jne 0x62abab
cmp edi, ecx
je 0x62abf3
mov ecx, edx
sub ecx, ebp
sub ecx, edi
mov edi, eax
sub edi, ebx
sub edi, dword [esp + 0x48]
mov dword [esi + 0x156c], ecx
mov dword [esi + 0x1574], ecx
mov dword [esi + 0x1570], edi
mov dword [esi + 0x1578], edi
mov ecx, edx
imul ecx, ebx
mov edi, edx
sar edi, 1
imul edi, ebx
mov dword [esi + 0x1558], ecx
add ecx, ebp
mov dword [esi + 0x1560], ecx
mov dword [esi + 0x155c], edi
xor ecx, ecx
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x5c]
cmp edi, ecx
jne 0x62ac03
cmp ebx, ecx
je 0x62ac19
sub dword [esi + 0x1574], edi
sub dword [esi + 0x1578], ebx
mov dword [esi + 0x838], 1
mov ecx, dword [esi + 0x7a3818]
neg ecx
sbb ecx, ecx
add ecx, 3
imul ecx, dword [esi + 0x156c]
mov dword [esi + 0x1564], ecx
add ecx, ecx
mov dword [esi + 0x1568], ecx
mov ecx, dword [esi + 0x1570]
imul ecx, edx
mov dword [esi + 0x1554], ecx
mov ecx, eax
sar ecx, 1
sub ecx, 2
mov dword [esi + 0x1544], ecx
mov ecx, eax
imul eax, edx
sar ecx, 2
sub ecx, 2
mov dword [esi + 0x1548], ecx
mov ecx, edx
sar ecx, 1
mov dword [esi + 0x1540], ecx
add ecx, 0xfffffff8
mov dword [esi + 0x1550], ecx
lea ecx, [edx + edx]
cdq
sub eax, edx
sar eax, 1
push eax
mov dword [esi + 0x154c], ecx
call fcn.007c8558
mov dword [esi + 0x14ec], eax
mov eax, dword [esi + 0x1580]
imul eax, dword [esi + 0x157c]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.007c8558
mov edx, dword [esi + 0x1580]
imul edx, dword [esi + 0x157c]
push edx
mov dword [esi + 0x14f0], eax
call fcn.007c8558
mov dword [esi + 0x14f4], eax
mov eax, dword [esi + 0x1580]
imul eax, dword [esi + 0x157c]
push eax
call fcn.007c8558
mov ecx, dword [esi + 0x1570]
imul ecx, dword [esi + 0x156c]
add ecx, ecx
add ecx, ecx
push ecx
mov dword [esi + 0x14f8], eax
call fcn.007c8558
mov ebx, dword [esi + 0x7a37f0]
add esp, 0x14
mov dword [esi + 0x1500], eax
lea eax, [esi + 0x828]
push eax
push 0x43fa78
push 0x100
lea edi, [esp + 0xa0]
call fcn.00625ba0
add esp, 4
push eax
call fcn.0080c7f3
add esp, 0xc
cmp eax, 1
jne 0x62ad9c
mov ebx, dword [esi + 0x7a37f0]
lea edx, [esi + 0x7a37f4]
push edx
push 0x43fa68
push 0x100
call fcn.00625ba0
add esp, 4
push eax
call fcn.0080c7f3
add esp, 0xc
cmp eax, 1
jne 0x62ad9c
mov ebx, dword [esi + 0x7a37f0]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
mov edx, eax
push edx
mov eax, ecx
push eax
push 0x43fa50
push 0x100
call fcn.00625ba0
add esp, 4
push eax
call fcn.0080c7f3
add esp, 0x18
cmp eax, 4
je 0x62ada3
xor eax, eax
jmp 0x62b248
mov edx, dword [esi + 0x7a37f0]
xor edi, edi
lea ecx, [esp + 0x4c]
push ecx
push 0x4284b0
push edx
mov dword [esp + 0x44], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x24], edi
call fcn.0080c93c
add esp, 0xc
cmp eax, 1
jne 0x62b07e
lea ebp, [esi + 0x3d1ee4]
lea eax, [esi + 0x15e4]
mov ebx, ebp
mov dword [esp + 0x30], eax
lea esp, [esp]
mov eax, dword [esp + 0x4c]
cmp eax, 9
jae 0x62b07e
cmp eax, 7
jne 0x62aea4
push 0x10
push 1
call fcn.00803699
mov ecx, dword [esp + 0x38]
mov dword [ecx], eax
mov dword [eax], edi
mov eax, dword [ecx]
mov ecx, dword [esi + 0x7a37f0]
lea edx, [esp + 0x1c]
push edx
add eax, 4
push eax
push 0x43fa48
push ecx
call fcn.0080c93c
add esp, 0x18
cmp eax, 2
jne 0x62b07e
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
inc dword [esp + 0x34]
add dword [esp + 0x30], 4
xor ecx, ecx
shld ecx, edx, 0xb
shl edx, 0xb
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov edx, dword [esi + 0x7a37f0]
lea ecx, [esp + 0x14]
push ecx
push 0x4284b0
push edx
call fcn.0080c93c
add esp, 0xc
cmp eax, 1
jne 0x62b07e
mov eax, dword [esp + 0x14]
mov ecx, eax
mov edx, 1
shr ecx, 1
and eax, edx
jmp 0x62aeb0
mov ecx, eax
shr ecx, 1
and eax, 1
mov edx, 1
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x3c], ecx
cmp edi, eax
jne 0x62aecb
test ecx, ecx
setne al
mov dword [esi + 0x7a37e4], eax
xor eax, eax
cmp dword [esi + 0x828], edx
jne 0x62afa6
cmp dword [esp + 0x40], eax
je 0x62aee3
add dword [esp + 0x1c], edx
jmp 0x62aee7
add dword [esp + 0x20], edx
mov ecx, dword [esp + 0x20]
sub ecx, dword [esp + 0x1c]
cmp dword [esp + 0x38], eax
je 0x62af33
cmp ecx, 5
jne 0x62af04
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
jmp 0x62af20
push 0xc
push 1
call fcn.00803699
inc dword [esp + 0x2c]
mov dword [ebx], eax
mov dword [eax + 4], edi
mov edx, dword [ebx]
add esp, 8
mov dword [edx], edi
add ebx, 4
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x20]
cmp eax, 5
jne 0x62b05b
jmp 0x62af7b
cmp ecx, 3
jne 0x62af46
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], edx
jmp 0x62af62
push 0xc
push 1
call fcn.00803699
inc dword [esp + 0x2c]
mov dword [ebx], eax
mov dword [eax + 4], edi
mov edx, dword [ebx]
add esp, 8
mov dword [edx], edi
add ebx, 4
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x20]
cmp eax, 3
jne 0x62b05b
mov dword [esp + 0x38], 1
xor eax, eax
push 0xc
push 1
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call fcn.00803699
inc dword [esp + 0x2c]
mov dword [ebx], eax
mov dword [eax + 4], edi
mov ecx, dword [ebx]
add esp, 8
mov dword [ecx], edi
add ebx, 4
jmp 0x62b05b
push 0xc
push 1
cmp dword [esp + 0x34], eax
je 0x62afcc
mov edx, dword [ebp]
inc dword [esp + 0x20]
mov dword [edx + 4], edi
add ebp, 4
call fcn.00803699
mov dword [ebp], eax
add esp, 8
mov dword [eax], edi
jmp 0x62b008
cmp dword [esp + 0x30], eax
je 0x62afee
mov eax, dword [ebp]
inc dword [esp + 0x20]
mov dword [eax], edi
add ebp, 4
call fcn.00803699
mov dword [ebp], eax
add esp, 8
mov dword [eax + 4], edi
jmp 0x62b008
call fcn.00803699
inc dword [esp + 0x20]
mov dword [ebp], eax
mov dword [eax], edi
mov ecx, dword [ebp]
add esp, 8
mov dword [ecx + 4], edi
add ebp, 4
cmp dword [esp + 0x40], 0
je 0x62b05b
cmp dword [esp + 0x2c], 0
jne 0x62b02c
cmp dword [esp + 0x28], 0
jne 0x62b02c
push 0xc
push 1
call fcn.00803699
add esp, 8
mov dword [ebp], eax
xor ecx, ecx
cmp dword [esp + 0x3c], ecx
je 0x62b0be
mov edx, dword [ebp]
cmp dword [esp + 0x28], ecx
mov eax, 1
mov dword [edx], edi
mov dword [esp + 0x2c], eax
je 0x62b05b
add dword [esp + 0x18], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
add ebp, 4
mov edx, dword [esi + 0x7a37f0]
lea ecx, [esp + 0x4c]
push ecx
push 0x4284b0
push edx
inc edi
call fcn.0080c93c
add esp, 0xc
cmp eax, 1
je 0x62ae00
mov eax, dword [esi + 0x828]
mov dword [esi + 0x7a37fc], edi
sub edi, 2
cmp eax, 1
jne 0x62b0d6
mov ecx, dword [esp + 0x24]
mov edx, dword [esi + ecx*4 + 0x3d1ee0]
lea eax, [esi + ecx*4 + 0x3d1ee0]
cmp dword [edx], edi
jb 0x62b0b3
mov edx, dword [eax - 4]
sub eax, 4
dec ecx
cmp dword [edx], edi
jae 0x62b0a8
mov dword [esi + 0x7a37f8], ecx
jmp 0x62b1cf
mov eax, dword [ebp]
cmp dword [esp + 0x2c], ecx
mov dword [eax + 4], edi
mov eax, 1
mov dword [esp + 0x28], eax
jmp 0x62b04a
mov edx, dword [esp + 0x18]
cmp eax, 2
jne 0x62b14f
xor eax, eax
cmp dword [esi + 0x7a37e4], eax
lea ecx, [edx - 1]
sete al
mov dword [esi + 0x7a37e4], eax
test eax, eax
je 0x62b124
xor eax, eax
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x62b14f
mov ebx, dword [esi + eax*4 + 0x3d1ee8]
mov eax, dword [esi + eax*4 + 0x3d1ee4]
mov ebx, dword [ebx + 4]
mov dword [eax + 4], ebx
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, ecx
jb 0x62b101
jmp 0x62b14f
xor eax, eax
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x62b14f
mov edi, edi
mov ebx, dword [esi + eax*4 + 0x3d1ee8]
mov eax, dword [esi + eax*4 + 0x3d1ee4]
mov ebx, dword [ebx]
mov dword [eax], ebx
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, ecx
jb 0x62b130
lea ecx, [esi + edx*4 + 0x3d1ee0]
mov eax, dword [ecx]
cmp dword [eax], edi
jae 0x62b161
cmp dword [eax + 4], edi
jb 0x62b167
dec edx
sub ecx, 4
jmp 0x62b156
xor eax, eax
lea ecx, [edx - 1]
mov dword [esi + 0x7a37f8], edx
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x62b1cf
lea ebx, [ebx]
mov ecx, dword [esi + eax*4 + 0x3d1ee4]
mov edi, dword [esi + eax*4 + 0x3d1ee8]
mov edx, dword [ecx]
mov ebx, dword [edi]
cmp edx, ebx
je 0x62b1a8
mov edi, dword [edi + 4]
cmp edx, edi
je 0x62b1a8
mov edx, dword [ecx + 4]
cmp edx, ebx
je 0x62b1a8
cmp edx, edi
jne 0x62b1bf
mov byte [ecx + 8], 1
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + ecx*4 + 0x3d1ee8]
mov byte [edx + 9], 1
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x7a37f8]
inc eax
dec ecx
mov dword [esp + 0x10], eax
cmp eax, ecx
jb 0x62b180
mov edx, dword [esi + 0x7a37f8]
xor eax, eax
mov dword [esi + 0x7a37e8], 1
mov dword [esp + 0x10], eax
test edx, edx
je 0x62b217
lea esp, [esp]
mov ecx, dword [esi + eax*4 + 0x3d1ee4]
mov edi, dword [ecx]
cmp edi, dword [ecx + 4]
jne 0x62b20d
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [esi + 0x7a37f8]
jb 0x62b1f0
jmp 0x62b217
mov dword [esi + 0x7a37e8], 0
mov eax, dword [esp + 0x34]
mov dword [esi + 0x7a3800], eax
mov dword [esi + 0x7a3804], eax
mov eax, dword [esi + 0x1570]
imul eax, dword [esi + 0x156c]
mov dword [esi + 0x7a3810], edx
lea edx, [eax + eax*2]
mov dword [esi + 0x7a380c], edx
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x190]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0080262b
add esp, 0x188
ret 8