Function at 0x4a67a0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x5adc8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov eax, dword [0x5fe940]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x54]
push edi
xor edi, edi
cmp eax, edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], edi
jle 0x4a7444
push ebx
mov ebx, dword [esp + 0x60]
push ebp
push esi
jmp 0x4a67e5
mov ecx, dword [esp + 0x3c]
mov edx, dword [ebx + edi*4]
mov ebp, dword [esp + 0x30]
lea eax, [edx - 1]
xor esi, esi
cmp eax, 8
ja case.default.0x4a6b1e
jmp dword [eax*4 + 0x4a7464]
mov eax, dword [ebx + edi*4 + 4]
mov ecx, dword [ebx + edi*4 + 8]
mov edx, dword [ebx + edi*4 + 0xc]
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x1c], edx
add edi, 4
jmp case.default.0x4a6b1e
mov ecx, dword [ebx + edi*4 + 0xc]
mov edx, dword [ebx + edi*4 + 0x10]
mov eax, dword [ebx + edi*4 + 4]
mov esi, dword [ebx + edi*4 + 8]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebx + edi*4 + 0x14]
mov dword [esp + 0x18], edx
mov edx, dword [ebx + edi*4 + 0x18]
mov dword [esp + 0x24], ecx
push eax
mov ecx, 0x71d4b4
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x18], edx
add edi, 7
call fcn.004baac0
push esi
mov ecx, 0x71d4b4
mov ebp, eax
call fcn.004baac0
test ebp, ebp
mov esi, eax
je 0x4a68cf
mov eax, dword [esi + 0xdc]
mov ecx, dword [ebp + 0xdc]
imul eax, eax, 0xbec
mov edx, dword [eax + 0x67d940]
imul ecx, ecx, 0xbec
cmp edx, dword [ecx + 0x67d940]
mov edx, dword [ebp + 0x460]
mov eax, dword [esp + 0x18]
je 0x4a68b6
add edx, eax
mov dword [ebp + 0x460], edx
cmp dword [esi + 0x120], eax
jg 0x4a68cf
push 1
jmp 0x4a68c8
sub edx, eax
mov dword [ebp + 0x460], edx
cmp dword [esi + 0x120], eax
jg 0x4a68cf
push 0xffffffffffffffff
mov ecx, ebp
call fcn.004c4980
test esi, esi
je 0x4a6932
mov eax, dword [esi + 0x3f0]
test eax, eax
jne 0x4a6932
mov eax, dword [esi + 0x3fc]
test eax, eax
jne 0x4a6932
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov eax, dword [esi]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x18]
push ebp
push ecx
push edx
push 0
mov ecx, esi
call dword [eax + 0x40]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x14]
push ecx
push ebp
push edx
push eax
push 0x5c7d00
push 0xb
push 0x7cf7c8
call fcn.004aa700
add esp, 0x20
mov ecx, 0x6a420c
call fcn.00409160
cmp dword [esp + 0x2c], eax
jne case.default.0x4a6b1e
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x24]
imul ecx, ecx, 0xbec
add ecx, 0x67db6c
call fcn.00403cb0
jmp case.default.0x4a6b1e
mov ecx, dword [esp + 0x38]
mov edx, dword [ebx + edi*4 + 4]
mov eax, dword [ebx + edi*4 + 8]
push ecx
mov ecx, 0x71d4b4
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
add edi, 3
call fcn.004baac0
mov edx, dword [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x1c]
push edx
push eax
push ebp
mov ecx, 0x71d4b4
call fcn.004beab0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push ecx
push edx
push ebp
mov ecx, 0x6fb208
call fcn.004b5910
mov dword [esp + 0x20], 0
jmp 0x4a69c0
mov eax, dword [esp + 0x20]
push eax
mov ecx, 0x71d4b4
call fcn.004baac0
test eax, eax
je 0x4a69dd
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xa0]
mov eax, dword [esp + 0x20]
inc eax
cmp eax, 8
mov dword [esp + 0x20], eax
jl 0x4a69c0
test esi, esi
je case.default.0x4a6b1e
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push ebp
mov ecx, 0x71d4b4
call fcn.004bc1a0
cmp dword [esp + 0x18], 0x80
jne 0x4a6a63
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0xdc]
push 1
push 0x20
push 1
push edx
push ebp
push eax
call fcn.004d8600
add esp, 0x18
mov eax, dword [esi + 0xd0]
cmp eax, 0xa
jne 0x4a6b07
cmp dword [esp + 0x18], 1
jne 0x4a6b07
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 0xdc]
push 0x10
push ecx
push ebp
push edx
call fcn.004d8850
add esp, 0x10
jmp case.default.0x4a6b1e
mov eax, dword [esi + 0xd0]
cmp eax, 8
jne 0x4a6a8a
cmp dword [esp + 0x18], 1
jne 0x4a6a8a
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 0xdc]
push 1
push 0x20
push 1
push ecx
push ebp
push edx
jmp 0x4a6a25
cmp eax, 1
jne case.default.0x4a6a99
mov eax, dword [esp + 0x18]
dec eax
cmp eax, 3
ja case.default.0x4a6a99
jmp dword [eax*4 + 0x4a7488]
push 0
jmp 0x4a6ac8
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0xdc]
push 1
push edx
push ebp
push eax
jmp 0x4a6ad5
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 0xdc]
push 2
push ecx
push ebp
push edx
jmp 0x4a6ad5
push 3
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0xdc]
push eax
push ebp
push ecx
call fcn.004d89d0
add esp, 0x10
cmp dword [esp + 0x18], 0x81
jne 0x4a6a2d
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0xdc]
push 0x10
push edx
push ebp
push eax
call fcn.004d8850
add esp, 0x10
jmp case.default.0x4a6b1e
cmp eax, 5
jne case.default.0x4a6b1e
mov eax, dword [esp + 0x18]
dec eax
cmp eax, 3
ja case.default.0x4a6b1e
jmp dword [eax*4 + 0x4a7498]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0xdc]
push 0
push eax
push ebp
push ecx
call fcn.004d8a50
add esp, 0x10
jmp case.default.0x4a6b1e
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0xdc]
push 1
push edx
push ebp
push eax
call fcn.004d8a50
add esp, 0x10
jmp case.default.0x4a6b1e
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 0xdc]
push 2
push ecx
push ebp
push edx
call fcn.004d8a50
add esp, 0x10
jmp case.default.0x4a6b1e
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0xdc]
push 3
push eax
push ebp
push ecx
call fcn.004d8a50
add esp, 0x10
jmp case.default.0x4a6b1e
mov ebp, dword [ebx + edi*4 + 8]
mov edx, dword [ebx + edi*4 + 4]
mov eax, dword [ebx + edi*4 + 0xc]
push ebp
mov ecx, 0x71d4b4
mov dword [esp + 0x24], edx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x18], eax
add edi, 4
call fcn.004baac0
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, 0x71d4b4
mov esi, eax
call fcn.004baac0
mov edx, dword [esp + 0x14]
push edx
push ebp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
push eax
push 0x5c7cb8
push 0xb
push 0x7cf7c8
call fcn.004aa700
add esp, 0x18
test esi, esi
je case.default.0x4a6b1e
mov eax, dword [esp + 0x10]
test eax, eax
je case.default.0x4a6b1e
mov eax, dword [esp + 0x14]
add eax, 0xfffffffb
cmp eax, 0x2d
ja case.default.0x4a6b1e
movzx ecx, byte [eax + 0x4a74e0]
jmp dword [ecx*4 + 0x4a74a8]
mov ebx, dword [esi]
push 0x10
mov ecx, 0x7099d8
call fcn.004cf310
mov ecx, 0x60d1c8
mov ebp, eax
call fcn.0041abd0
imul ebp, eax
push ebp
push 0x10
mov ecx, esi
call dword [ebx + 0x2c]
mov ebx, dword [esi + 0x450]
push 0x10
lea ecx, [esi + 0xa4]
call fcn.00417b50
imul ebx, ebx, 0x1e
fsub dword [0x5c7cb4]
mov dword [esp + 0x14], ebx
fisub dword [esp + 0x14]
call fcn.00591008
push eax
lea ecx, [esi + 0x94]
call fcn.00417b50
call fcn.00591008
push eax
call fcn.00490f20
mov eax, dword [esi + 0x450]
mov ebx, dword [esp + 0x74]
add esp, 0xc
inc eax
mov dword [esi + 0x450], eax
jmp case.default.0x4a6b1e
mov ebx, dword [esi]
push 0x11
mov ecx, 0x7099d8
call fcn.004cf310
mov ecx, 0x60d1c8
mov ebp, eax
call fcn.0041abd0
imul ebp, eax
push ebp
push 0x11
mov ecx, esi
call dword [ebx + 0x2c]
mov ebx, dword [esi + 0x450]
push 0x11
lea ecx, [esi + 0xa4]
call fcn.00417b50
imul ebx, ebx, 0x1e
fsub dword [0x5c7cb4]
mov dword [esp + 0x14], ebx
fisub dword [esp + 0x14]
jmp 0x4a6c6a
mov edx, dword [esi]
push 0xff
push 4
mov ecx, esi
call dword [edx + 0x2c]
mov eax, dword [esi]
push 4
mov ecx, esi
call dword [eax + 0x34]
mov ebp, dword [esi + 0x450]
push 4
lea ecx, [esi + 0xa4]
call fcn.00417b50
fsub dword [0x5c7cb4]
imul ebp, ebp, 0x1e
mov dword [esp + 0x14], ebp
fisub dword [esp + 0x14]
call fcn.00591008
push eax
lea ecx, [esi + 0x94]
call fcn.00417b50
call fcn.00591008
push eax
call fcn.00490f20
mov eax, dword [esi + 0x450]
add esp, 0xc
inc eax
mov dword [esi + 0x450], eax
jmp case.default.0x4a6b1e
push ebp
mov ecx, 0x71d4b4
call fcn.004baac0
mov esi, eax
test esi, esi
je case.default.0x4a6b1e
mov ebp, dword [esi]
mov ecx, 0x60d1c8
call fcn.0041abd0
mov ecx, dword [esp + 0x14]
push eax
push ecx
mov ecx, esi
call dword [ebp + 0x2c]
jmp case.default.0x4a6b1e
push ebp
mov ecx, 0x71d4b4
call fcn.004baac0
mov ecx, eax
test ecx, ecx
je case.default.0x4a6b1e
mov eax, dword [ecx + 0x534]
lea edx, [eax + eax*2]
mov eax, 0x66666667
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esi + 0x120]
add edx, eax
mov dword [esi + 0x120], edx
mov ecx, dword [ecx + 0x534]
mov eax, edx
cmp eax, ecx
jle 0x4a6dd6
mov dword [esi + 0x120], ecx
mov ebp, dword [esi + 0x450]
push 0x17
lea ecx, [esi + 0xa4]
call fcn.00417b50
fsub dword [0x5c7cb4]
imul ebp, ebp, 0x1e
mov dword [esp + 0x14], ebp
fisub dword [esp + 0x14]
jmp 0x4a6d25
mov ecx, esi
call fcn.004c2290
mov ebp, dword [esi + 0x450]
push 0x1a
lea ecx, [esi + 0xa4]
call fcn.00417b50
fsub dword [0x5c7cb4]
imul ebp, ebp, 0x1e
mov dword [esp + 0x14], ebp
fisub dword [esp + 0x14]
jmp 0x4a6d25
lea ecx, [esi + 0x94]
call fcn.00417b50
call fcn.00591008
lea ecx, [esi + 0xa4]
mov dword [esp + 0x14], eax
call fcn.00417b50
call fcn.00591008
mov ebp, dword [esp + 0x10]
lea ecx, [ebp + 0xa4]
mov dword [esp + 0x24], eax
call fcn.00417b50
push ecx
lea ecx, [ebp + 0x94]
fstp dword [esp]
call fcn.00417b50
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004c4800
fild dword [esp + 0x24]
sub esp, 8
mov ecx, ebp
fstp dword [esp + 4]
fild dword [esp + 0x1c]
fstp dword [esp]
call fcn.004c4800
jmp case.default.0x4a6b1e
mov ebx, dword [esi]
push 0x21
mov ecx, 0x7099d8
call fcn.004cf310
mov ecx, 0x60d1c8
mov ebp, eax
call fcn.0041abd0
imul ebp, eax
push ebp
push 0x21
mov ecx, esi
call dword [ebx + 0x2c]
mov ebx, dword [esi + 0x450]
push 0x21
lea ecx, [esi + 0xa4]
call fcn.00417b50
imul ebx, ebx, 0x1e
fsub dword [0x5c7cb4]
mov dword [esp + 0x14], ebx
fisub dword [esp + 0x14]
jmp 0x4a6c6a
mov ebx, dword [esi]
push 0x22
mov ecx, 0x7099d8
call fcn.004cf310
mov ecx, 0x60d1c8
mov ebp, eax
call fcn.0041abd0
imul ebp, eax
push ebp
push 0x22
mov ecx, esi
call dword [ebx + 0x2c]
mov ebx, dword [esi + 0x450]
push 0x22
lea ecx, [esi + 0xa4]
call fcn.00417b50
imul ebx, ebx, 0x1e
fsub dword [0x5c7cb4]
mov dword [esp + 0x14], ebx
fisub dword [esp + 0x14]
jmp 0x4a6c6a
mov ebx, dword [esi]
push 0x23
mov ecx, 0x7099d8
call fcn.004cf310
mov ecx, 0x60d1c8
mov ebp, eax
call fcn.0041abd0
imul ebp, eax
push ebp
push 0x23
mov ecx, esi
call dword [ebx + 0x2c]
mov ebx, dword [esi + 0x450]
push 0x23
lea ecx, [esi + 0xa4]
call fcn.00417b50
imul ebx, ebx, 0x1e
fsub dword [0x5c7cb4]
mov dword [esp + 0x14], ebx
fisub dword [esp + 0x14]
jmp 0x4a6c6a
mov ebx, dword [esi]
push 0x27
mov ecx, 0x7099d8
call fcn.004cf310
mov ecx, 0x60d1c8
mov ebp, eax
call fcn.0041abd0
imul ebp, eax
push ebp
push 0x27
mov ecx, esi
call dword [ebx + 0x2c]
mov ebx, dword [esi + 0x450]
push 0x27
lea ecx, [esi + 0xa4]
call fcn.00417b50
imul ebx, ebx, 0x1e
fsub dword [0x5c7cb4]
mov dword [esp + 0x14], ebx
fisub dword [esp + 0x14]
jmp 0x4a6c6a
push 8
mov ecx, esi
call fcn.004c7600
mov ebp, dword [esi + 0x450]
push 8
lea ecx, [esi + 0xa4]
call fcn.00417b50
fsub dword [0x5c7cb4]
imul ebp, ebp, 0x1e
mov dword [esp + 0x14], ebp
fisub dword [esp + 0x14]
call fcn.00591008
push eax
lea ecx, [esi + 0x94]
call fcn.00417b50
call fcn.00591008
push eax
call fcn.00490f20
mov edx, dword [esi]
add esp, 0xc
push 8
mov ecx, esi
call dword [edx + 0x34]
inc dword [esi + 0x450]
jmp case.default.0x4a6b1e
mov ecx, 0x6a420c
call fcn.00409160
cmp ebp, eax
jne case.default.0x4a6b1e
push 0x1c4
call fcn.0058f5cc
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov dword [esp + 0x5c], 0
test esi, esi
je 0x4a707d
mov ecx, 0x6a420c
call fcn.00409160
push eax
mov ecx, esi
call fcn.004cc750
mov esi, eax
jmp 0x4a707f
xor esi, esi
mov dword [esp + 0x5c], 0xffffffff
mov dword [esi + 0x2c], 3
mov ecx, 0x6a4238
mov dword [esi + 0xc4], 4
call fcn.00409160
mov ecx, 0x60d1c8
mov dword [esi + 0xd0], eax
call fcn.0041abd0
push esi
mov ecx, 0x71d4b4
mov dword [esi + 0xdc], eax
call fcn.004b9f30
jmp case.default.0x4a6b1e
mov ecx, dword [ebx + edi*4 + 8]
mov eax, dword [ebx + edi*4 + 4]
mov edx, dword [ebx + edi*4 + 0xc]
mov dword [esp + 0x24], ecx
push eax
mov ecx, 0x71d4b4
mov dword [esp + 0x3c], eax
mov dword [esp + 0x14], edx
add edi, 4
call fcn.004baac0
cmp eax, esi
je case.default.0x4a6b1e
fild dword [esp + 0x10]
sub esp, 8
mov ecx, eax
fstp dword [esp + 4]
fild dword [esp + 0x2c]
fstp dword [esp]
call fcn.004c4800
jmp case.default.0x4a6b1e
mov eax, dword [ecx + 0x10]
lea eax, [eax + eax*4]
mov dword [ecx + eax*8 + 0x14], edx
mov eax, dword [ecx + 0x10]
lea edx, [eax + eax*4]
mov eax, dword [ebx + edi*4 + 4]
mov dword [ecx + edx*8 + 0x18], eax
inc dword [ecx + 0x10]
mov ecx, dword [ebx + edi*4 + 8]
mov esi, dword [ebx + edi*4 + 4]
mov dword [esp + 0x10], ecx
mov ecx, 0x6a420c
mov dword [esp + 0x18], esi
add edi, 3
call fcn.00407310
test al, al
jne 0x4a715a
mov dword [0], 1
mov al, byte [0x6a4218]
mov dl, byte [0x6a4210]
xor dl, al
mov byte [esp + 0x28], dl
mov dl, byte [0x6a4211]
mov cl, al
xor cl, dl
mov byte [esp + 0x29], cl
mov cl, byte [0x6a4212]
mov dl, al
xor dl, cl
xor al, byte [0x6a4213]
mov byte [esp + 0x2a], dl
mov byte [esp + 0x2b], al
cmp esi, dword [esp + 0x28]
jne case.default.0x4a6b1e
push esi
mov ecx, 0x71d4b4
call fcn.004baac0
mov ecx, 0xafa434
mov ebp, eax
call fcn.00503900
cmp eax, esi
jne 0x4a71d7
push 0xffffffffffffffff
mov ecx, 0x71d4b4
call fcn.004baac0
test eax, eax
je 0x4a71d7
mov eax, dword [eax + 0xdc]
push eax
mov ecx, 0xafa434
call fcn.005038f0
test ebp, ebp
je case.default.0x4a6b1e
mov eax, dword [ebp + 0x3f0]
test eax, eax
jne case.default.0x4a6b1e
mov edx, dword [ebp]
push 0xffffffffffffffff
mov ecx, ebp
call dword [edx + 0x58]
mov eax, dword [ebp + 0xdc]
mov esi, dword [ebp + 0xf4]
lea ecx, [ebp + 0xa4]
mov dword [esp + 0x20], eax
call fcn.00417b50
call fcn.00591008
lea ecx, [ebp + 0x94]
mov dword [esp + 0x24], eax
call fcn.00417b50
call fcn.00591008
mov ecx, 0x60d1c8
mov dword [esp + 0x14], eax
call fcn.00419f80
test al, al
push 0
push 0
push 0
je 0x4a7268
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x30]
push esi
push 0
push edx
push eax
push 7
push ecx
mov ecx, 0x5f71d8
call fcn.004f4530
jmp 0x4a728b
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x30]
push esi
push 0
push eax
push ecx
push 7
push edx
mov ecx, 0x6fece8
call fcn.004a0180
mov eax, dword [esp + 0x18]
push eax
push 0x5c7c9c
push 0xb
push 0x7cf7c8
call fcn.004aa700
add esp, 0x10
mov ecx, 0x60d1c8
call fcn.00419fb0
test al, al
je 0x4a72cc
mov dword [0x6a4258], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x3e8
mov dword [0x6a4260], eax
mov ecx, 0x6a420c
call fcn.00409160
imul eax, eax, 0xbec
mov ecx, dword [ebp + 0xdc]
imul ecx, ecx, 0xbec
add eax, 0x67d93c
mov edx, dword [eax + 4]
cmp edx, dword [ecx + 0x67d940]
push 0
jne 0x4a730f
mov eax, dword [0x6f98e8]
push eax
mov ecx, 0x85ea80
call fcn.00548830
jmp case.default.0x4a6b1e
mov ecx, dword [0x6f98e4]
push ecx
mov ecx, 0x85ea80
call fcn.00548830
jmp case.default.0x4a6b1e
mov esi, dword [ebx + edi*4 + 0x1c]
mov edx, dword [ebx + edi*4 + 0x24]
add edi, 5
mov ecx, 0x71d4b8
mov dword [esp + 0x2c], esi
mov dword [esp + 0x18], edx
add edi, 5
call fcn.00413bd0
test eax, eax
mov ebp, dword [0x71d4c0]
jle case.default.0x4a6b1e
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x2c], 6
jne 0x4a7372
cmp dword [ecx + 0x160], esi
jne 0x4a7372
mov eax, dword [esp + 0x18]
push eax
call fcn.004cbd70
mov eax, dword [esp + 0x10]
mov ebp, dword [ebp + 4]
dec eax
mov dword [esp + 0x10], eax
jne 0x4a7357
jmp case.default.0x4a6b1e
mov ecx, 0x71d4b8
add edi, 2
call fcn.00413bd0
cmp eax, esi
mov ecx, dword [0x71d4c0]
jle case.default.0x4a6b1e
mov ebp, dword [esp + 0x2c]
mov edx, eax
mov eax, dword [ecx + 8]
cmp dword [eax + 0x2c], 6
jne 0x4a73bd
cmp dword [eax + 0x160], ebp
jne 0x4a73bd
mov dword [eax + 0x140], esi
dec edx
mov ecx, dword [ecx + 4]
jne 0x4a73a6
jmp case.default.0x4a6b1e
mov ebp, dword [ebx + edi*4 + 4]
mov esi, dword [ebx + edi*4 + 8]
mov ecx, 0x71d4b8
add edi, 3
call fcn.00413bd0
test eax, eax
mov ecx, dword [0x71d4c0]
mov dword [esp + 0x14], ecx
jle case.default.0x4a6b1e
mov dword [esp + 0x10], eax
mov eax, ecx
mov edi, edi
mov ecx, dword [eax + 8]
cmp dword [ecx + 0x2c], 8
jne 0x4a741a
push esi
push ebp
call fcn.004ca3b0
push esi
push ebp
push 0x5c7c64
push 0xb
push 0x7cf7c8
call fcn.004aa700
mov eax, dword [esp + 0x28]
add esp, 0x14
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 4]
dec ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
jne 0x4a73f0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x64]
inc eax
cmp eax, ecx
mov dword [esp + 0x34], eax
jl 0x4a67e1
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x44]
xor eax, eax
pop edi
call fcn.005900c7
add esp, 0x50
ret 0xc