Function at 0x47dd20
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4c7197
mov eax, dword fs:[0]
push eax
sub esp, 0x98
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53856c]
xor eax, esp
push eax
lea eax, [esp + 0xac]
mov dword fs:[0], eax
mov ebx, dword [esp + 0xc4]
mov edi, dword [esp + 0xbc]
xor esi, esi
push ebx
mov dword [esp + 0x1c], esi
call fcn.0047dcc0
mov dword [esp + 0x14], eax
lea eax, [esp + 0x2c]
push eax
call fcn.0047a3e0
lea ecx, [esp + 0x80]
push ecx
mov dword [esp + 0xb8], esi
call fcn.0045ccd0
lea ebp, [edi + 0x30]
mov byte [esp + 0xb4], 1
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x20], ebp
cmp ebx, eax
jb 0x47ddb8
call fcn.004ac063
mov ecx, dword [ebp + 0xc]
mov edi, ebx
imul edi, edi, 0x2c
lea eax, [ecx + edi + 4]
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
mov eax, 0x2e8ba2e9
sar ecx, 2
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov dword [esp + 0x1c], edi
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x47ddf5
call fcn.004ac063
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + edi + 0x1c], 0
jl 0x47de58
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x47de1f
call fcn.004ac063
mov eax, dword [ebp + 0xc]
add eax, edi
mov edi, dword [eax + 0x1c]
mov eax, dword [esp + 0xbc]
mov ecx, dword [eax + 0x58]
sub ecx, dword [eax + 0x54]
sar ecx, 4
cmp edi, ecx
jb 0x47de47
call fcn.004ac063
mov eax, dword [esp + 0xbc]
mov edx, dword [eax + 0x54]
shl edi, 4
mov eax, dword [edi + edx]
sub dword [esp + 0x28], eax
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x24], 0
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ebx, ecx
jb 0x47de80
call fcn.004ac063
mov edx, dword [ebp + 0xc]
mov ecx, dword [edi + edx + 0x14]
sub ecx, dword [edi + edx + 0x10]
lea eax, [edi + edx + 4]
mov eax, dword [esp + 0x24]
sar ecx, 2
cmp eax, ecx
jae 0x47e53f
test eax, eax
jne 0x47df7d
mov eax, dword [esp + 0xc0]
mov edx, dword [eax + 0x10]
sub edx, dword [eax + 0xc]
sar edx, 2
cmp esi, edx
jb 0x47debf
call fcn.004ac063
mov eax, dword [esp + 0xc0]
mov edi, dword [eax + 0xc]
mov eax, dword [edi + esi*4]
mov ecx, 0x517750
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47def7
test dx, dx
je 0x47def3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47def7
add eax, 4
add ecx, 4
test dx, dx
jne 0x47ded1
xor eax, eax
jmp 0x47defc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x47e4ee
mov ecx, dword [esp + 0xc0]
mov edx, dword [ecx + 0x10]
sub edx, edi
sar edx, 2
cmp esi, edx
jb 0x47df1c
call fcn.004ac063
mov eax, dword [esp + 0xc0]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + esi*4]
mov eax, dword [esp + 0xbc]
mov ecx, dword [eax + 0xe8]
sub ecx, dword [eax + 0xe4]
mov dword [esp + 0x2c], edx
sar ecx, 2
cmp dword [esp + 0x14], ecx
jb 0x47df55
call fcn.004ac063
mov eax, dword [esp + 0xbc]
mov edx, dword [eax + 0xe4]
mov eax, dword [esp + 0x14]
mov ecx, dword [edx + eax*4]
mov edi, dword [esp + 0x1c]
inc esi
inc eax
inc dword [esp + 0x24]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], eax
jmp 0x47de60
cmp eax, dword [esp + 0x28]
mov eax, dword [esp + 0xc0]
mov edx, dword [eax + 0x10]
jge 0x47e05c
sub edx, dword [eax + 0xc]
sar edx, 2
cmp esi, edx
jb 0x47dfa0
call fcn.004ac063
mov eax, dword [esp + 0xc0]
mov edx, dword [esp + 0x40]
mov ecx, dword [eax + 0xc]
lea ebx, [ecx + esi*4]
test edx, edx
jne 0x47dfb9
xor ecx, ecx
jmp 0x47dfc2
mov ecx, dword [esp + 0x48]
sub ecx, edx
sar ecx, 2
mov eax, dword [esp + 0x44]
mov edi, eax
sub edi, edx
sar edi, 2
cmp edi, ecx
jae 0x47dfde
mov edx, dword [ebx]
mov dword [eax], edx
add eax, 4
mov dword [esp + 0x44], eax
jmp 0x47e001
mov edi, eax
cmp edx, eax
jbe 0x47dfe9
call fcn.004ac063
mov eax, dword [esp + 0x34]
push edi
push eax
push ebx
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0x44]
call fcn.00485830
mov eax, dword [esp + 0xbc]
mov ecx, dword [eax + 0xe8]
sub ecx, dword [eax + 0xe4]
sar ecx, 2
cmp dword [esp + 0x14], ecx
jb 0x47e022
call fcn.004ac063
mov edx, dword [esp + 0xbc]
mov eax, dword [edx + 0xe4]
mov ecx, dword [esp + 0x14]
lea ebx, [eax + ecx*4]
lea edi, [esp + 0x64]
call fcn.004841e0
inc dword [esp + 0x14]
mov ebx, dword [esp + 0xc4]
mov edi, dword [esp + 0x1c]
inc esi
inc dword [esp + 0x24]
mov dword [esp + 0x18], esi
jmp 0x47de60
sub edx, dword [eax + 0xc]
sar edx, 2
cmp esi, edx
jb 0x47e06b
call fcn.004ac063
mov eax, dword [esp + 0xc0]
mov edi, dword [eax + 0xc]
mov edx, dword [esp + 0x8c]
lea ebp, [esi*4]
add edi, ebp
test edx, edx
jne 0x47e08d
xor ecx, ecx
jmp 0x47e099
mov ecx, dword [esp + 0x94]
sub ecx, edx
sar ecx, 2
mov eax, dword [esp + 0x90]
mov esi, eax
sub esi, edx
sar esi, 2
cmp esi, ecx
jae 0x47e0bb
mov ecx, dword [edi]
mov dword [eax], ecx
add eax, 4
mov dword [esp + 0x90], eax
jmp 0x47e0e4
mov ebx, eax
cmp edx, eax
jbe 0x47e0c6
call fcn.004ac063
mov eax, dword [esp + 0x80]
push ebx
push eax
push edi
lea edx, [esp + 0xa4]
push edx
lea eax, [esp + 0x90]
call fcn.00485830
mov eax, dword [esp + 0xbc]
mov ecx, dword [eax + 0xe8]
sub ecx, dword [eax + 0xe4]
sar ecx, 2
cmp dword [esp + 0x14], ecx
jb 0x47e105
call fcn.004ac063
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0xbc]
mov ebx, dword [edx + 0xe4]
add esi, esi
add esi, esi
add ebx, esi
lea edi, [esp + 0x64]
call fcn.004841e0
mov eax, dword [esp + 0xbc]
mov ecx, dword [eax + 0xe8]
sub ecx, dword [eax + 0xe4]
sar ecx, 2
cmp dword [esp + 0x14], ecx
jb 0x47e146
call fcn.004ac063
mov edx, dword [esp + 0xbc]
mov eax, dword [edx + 0xe4]
cmp dword [esi + eax], 0
mov ebx, dword [esp + 0xc0]
jne 0x47e266
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
sar ecx, 2
cmp dword [esp + 0x18], ecx
jb 0x47e178
call fcn.004ac063
mov edi, dword [ebx + 0xc]
mov eax, dword [edi + ebp]
mov ecx, 0x517750
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47e1a9
test dx, dx
je 0x47e1a5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47e1a9
add eax, 4
add ecx, 4
test dx, dx
jne 0x47e183
xor eax, eax
jmp 0x47e1ae
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x47e266
mov edx, dword [ebx + 0x10]
sub edx, edi
sar edx, 2
cmp dword [esp + 0x18], edx
jb 0x47e1c9
call fcn.004ac063
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + ebp]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47e1d2
mov esi, dword [esp + 0x20]
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
sub eax, edx
sar eax, 1
mov ebx, eax
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp dword [esp + 0xc4], ecx
jb 0x47e20c
call fcn.004ac063
mov edx, dword [esi + 0xc]
mov esi, dword [esp + 0xbc]
mov ecx, dword [esi + 0x58]
sub ecx, dword [esi + 0x54]
mov eax, dword [esp + 0x1c]
mov edi, dword [edx + eax + 0x1c]
sar ecx, 4
cmp edi, ecx
jb 0x47e230
call fcn.004ac063
mov eax, dword [esi + 0x88]
sub eax, dword [esi + 0x84]
mov edx, dword [esi + 0x54]
shl edi, 4
mov edi, dword [edi + edx + 8]
sar eax, 2
cmp edi, eax
jb 0x47e252
call fcn.004ac063
mov ecx, dword [esi + 0x84]
lea eax, [ecx + edi*4]
lea edx, [ebx + ebx + 2]
add dword [eax], edx
jmp 0x47e4c5
mov edi, dword [esp + 0xbc]
mov eax, dword [edi + 0xe8]
sub eax, dword [edi + 0xe4]
sar eax, 2
cmp dword [esp + 0x14], eax
jb 0x47e287
call fcn.004ac063
mov ecx, dword [edi + 0xe4]
cmp dword [esi + ecx], 0xa
jne 0x47e399
mov edx, dword [ebx + 0x10]
sub edx, dword [ebx + 0xc]
sar edx, 2
cmp dword [esp + 0x18], edx
jb 0x47e2ab
call fcn.004ac063
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + ebp]
mov ecx, 0x517750
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47e2dc
test dx, dx
je 0x47e2d8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47e2dc
add eax, 4
add ecx, 4
test dx, dx
jne 0x47e2b6
xor eax, eax
jmp 0x47e2e1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x47e399
mov esi, dword [esp + 0x20]
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp dword [esp + 0xc4], ecx
jb 0x47e312
call fcn.004ac063
mov eax, dword [esp + 0x1c]
mov edx, dword [esi + 0xc]
mov edi, dword [eax + edx + 0x1c]
mov eax, dword [esp + 0xbc]
mov ecx, dword [eax + 0x58]
sub ecx, dword [eax + 0x54]
sar ecx, 4
cmp edi, ecx
jb 0x47e33d
call fcn.004ac063
mov eax, dword [esp + 0xbc]
mov ecx, dword [eax + 0x88]
sub ecx, dword [eax + 0x84]
mov edx, dword [eax + 0x54]
shl edi, 4
mov edi, dword [edi + edx + 8]
sar ecx, 2
cmp edi, ecx
jb 0x47e366
call fcn.004ac063
mov eax, dword [esp + 0xbc]
mov edx, dword [eax + 0x84]
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
lea edi, [edx + edi*4]
sar eax, 2
cmp dword [esp + 0x18], eax
jb 0x47e383
call fcn.004ac063
mov ecx, dword [ebx + 0xc]
mov edx, dword [ecx + ebp]
call fcn.0047ecf0
lea edx, [eax + eax + 2]
add dword [edi], edx
jmp 0x47e4c5
mov eax, dword [edi + 0xe8]
sub eax, dword [edi + 0xe4]
sar eax, 2
cmp dword [esp + 0x14], eax
jb 0x47e3b3
call fcn.004ac063
mov ecx, dword [edi + 0xe4]
cmp dword [esi + ecx], 0xb
jne 0x47e4c5
mov edx, dword [ebx + 0x10]
sub edx, dword [ebx + 0xc]
sar edx, 2
cmp dword [esp + 0x18], edx
jb 0x47e3d7
call fcn.004ac063
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + ebp]
mov ecx, 0x517750
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47e408
test dx, dx
je 0x47e404
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47e408
add eax, 4
add ecx, 4
test dx, dx
jne 0x47e3e2
xor eax, eax
jmp 0x47e40d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x47e4c5
mov esi, dword [esp + 0x20]
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp dword [esp + 0xc4], ecx
jb 0x47e43e
call fcn.004ac063
mov eax, dword [esp + 0x1c]
mov edx, dword [esi + 0xc]
mov edi, dword [eax + edx + 0x1c]
mov eax, dword [esp + 0xbc]
mov ecx, dword [eax + 0x58]
sub ecx, dword [eax + 0x54]
sar ecx, 4
cmp edi, ecx
jb 0x47e469
call fcn.004ac063
mov eax, dword [esp + 0xbc]
mov ecx, dword [eax + 0x88]
sub ecx, dword [eax + 0x84]
mov edx, dword [eax + 0x54]
shl edi, 4
mov edi, dword [edi + edx + 8]
sar ecx, 2
cmp edi, ecx
jb 0x47e492
call fcn.004ac063
mov eax, dword [esp + 0xbc]
mov edx, dword [eax + 0x84]
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
lea edi, [edx + edi*4]
sar eax, 2
cmp dword [esp + 0x18], eax
jb 0x47e4af
call fcn.004ac063
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0xbc]
add eax, ebp
push ecx
mov ecx, dword [eax]
call fcn.0047ed20
add dword [edi], eax
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0xc4]
mov edi, dword [esp + 0x1c]
mov eax, 1
add dword [esp + 0x18], eax
add dword [esp + 0x14], eax
mov esi, dword [esp + 0x18]
inc dword [esp + 0x24]
jmp 0x47de60
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x47e50e
call fcn.004ac063
lea ecx, [esp + 0x80]
push ecx
mov byte [esp + 0xb8], 0
call fcn.00484600
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0xb8], 0xffffffff
call fcn.0047a450
mov al, 1
jmp 0x47eac3
lea eax, [esp + 0x80]
push eax
lea edi, [esp + 0x50]
call fcn.00484460
mov esi, dword [esp + 0xbc]
mov ecx, dword [esi + 0x124]
sub ecx, dword [esi + 0x120]
sar ecx, 2
cmp ebx, ecx
jae 0x47ea97
mov edx, dword [esi + 0x124]
sub edx, dword [esi + 0x120]
sar edx, 2
cmp ebx, edx
jb 0x47e586
call fcn.004ac063
mov eax, dword [esi + 0x120]
cmp dword [eax + ebx*4], 0
je 0x47ea97
mov ecx, dword [esi + 0x124]
sub ecx, eax
sar ecx, 2
cmp ebx, ecx
jb 0x47e5aa
call fcn.004ac063
mov edx, dword [esi + 0x120]
mov eax, dword [esp + 0xc4]
mov ecx, dword [edx + eax*4]
mov edx, dword [ecx]
mov eax, dword [esp + 0x2c]
mov edx, dword [edx + 4]
push eax
call edx
mov ebx, eax
test ebx, ebx
jge 0x47e5fd
lea eax, [esp + 0x80]
push eax
mov byte [esp + 0xb8], 0
call fcn.00484600
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0xb8], 0xffffffff
call fcn.0047a450
mov al, 1
jmp 0x47eac3
sub esp, 0x50
mov edx, esp
mov dword [esp + 0x74], esp
push edx
lea edi, [esp + 0x80]
call fcn.0047dc40
mov edi, dword [esp + 0x114]
push ebx
push edi
push esi
call fcn.0047d250
test al, al
je 0x47e65c
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x47e646
call fcn.004ac063
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x1c]
cmp dword [edx + ecx + 0x1c], 0
jge 0x47ea69
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x47e766
mov eax, dword [esp + 0x2c]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47e670
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
sub eax, edx
sar eax, 1
mov ebx, eax
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x47e6a1
call fcn.004ac063
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 0x88]
add eax, dword [esp + 0x1c]
sub ecx, dword [esi + 0x84]
mov edi, dword [eax + 0x20]
sar ecx, 2
cmp edi, ecx
jb 0x47e6c3
call fcn.004ac063
mov edx, dword [esi + 0x84]
lea eax, [edx + edi*4]
lea ecx, [ebx + ebx + 2]
add dword [eax], ecx
mov ebp, dword [esp + 0xbc]
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x40]
mov esi, dword [esp + 0x18]
sar eax, 2
sub esi, eax
xor edi, edi
test eax, eax
jbe 0x47ea69
mov ebx, dword [esp + 0xc0]
mov edx, dword [esp + 0x74]
sub edx, dword [esp + 0x70]
sar edx, 2
cmp edi, edx
jb 0x47e70f
call fcn.004ac063
mov eax, dword [esp + 0x70]
cmp dword [eax + edi*4], 0
jne 0x47e7cb
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
sar ecx, 2
cmp esi, ecx
jb 0x47e72f
call fcn.004ac063
mov edx, dword [ebx + 0xc]
mov eax, dword [edx + esi*4]
mov ecx, 0x517750
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47e7be
test dx, dx
je 0x47e762
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47e7be
add eax, 4
add ecx, 4
test dx, dx
jne 0x47e740
xor eax, eax
jmp 0x47e7c3
cmp eax, 0xa
jne 0x47e6d2
mov edi, dword [esp + 0xc4]
mov esi, dword [esp + 0x20]
call fcn.004845d0
mov ebp, dword [esp + 0xbc]
mov edx, dword [ebp + 0x88]
sub edx, dword [ebp + 0x84]
mov edi, dword [eax + 0x20]
sar edx, 2
cmp edi, edx
jb 0x47e7a1
call fcn.004ac063
mov eax, dword [ebp + 0x84]
mov edx, dword [esp + 0x2c]
lea edi, [eax + edi*4]
call fcn.0047ecf0
lea ecx, [eax + eax + 2]
add dword [edi], ecx
jmp 0x47e6d9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x47e8c1
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x70]
sar eax, 2
cmp edi, eax
jb 0x47e7df
call fcn.004ac063
mov ecx, dword [esp + 0x70]
cmp dword [ecx + edi*4], 0xa
jne 0x47e839
mov edx, dword [ebx + 0x10]
sub edx, dword [ebx + 0xc]
sar edx, 2
cmp esi, edx
jb 0x47e7fb
call fcn.004ac063
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + esi*4]
mov ecx, 0x517750
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47e82c
test dx, dx
je 0x47e828
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47e82c
add eax, 4
add ecx, 4
test dx, dx
jne 0x47e806
xor eax, eax
jmp 0x47e831
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x47e950
mov ecx, dword [esp + 0x74]
sub ecx, dword [esp + 0x70]
sar ecx, 2
cmp edi, ecx
jb 0x47e84d
call fcn.004ac063
mov edx, dword [esp + 0x70]
cmp dword [edx + edi*4], 0xb
jne 0x47e8a7
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
sar eax, 2
cmp esi, eax
jb 0x47e869
call fcn.004ac063
mov edx, dword [ebx + 0xc]
mov eax, dword [edx + esi*4]
mov ecx, 0x517750
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47e89a
test dx, dx
je 0x47e896
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47e89a
add eax, 4
add ecx, 4
test dx, dx
jne 0x47e874
xor eax, eax
jmp 0x47e89f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x47e9ee
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x40]
inc edi
sar eax, 2
inc esi
cmp edi, eax
jb 0x47e6fb
jmp 0x47ea69
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x40]
sar eax, 2
cmp edi, eax
jb 0x47e8d5
call fcn.004ac063
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + edi*4]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47e8e0
mov esi, dword [esp + 0x20]
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
sub eax, edx
sar eax, 1
mov edi, eax
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0xc4], eax
jb 0x47e91a
call fcn.004ac063
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp + 0x88]
add eax, dword [esp + 0x1c]
sub ecx, dword [ebp + 0x84]
mov esi, dword [eax + 0x24]
sar ecx, 2
cmp esi, ecx
jb 0x47e93c
call fcn.004ac063
mov edx, dword [ebp + 0x84]
lea eax, [edx + esi*4]
lea ecx, [edi + edi + 2]
add dword [eax], ecx
jmp 0x47ea69
mov esi, dword [esp + 0x20]
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0xc4], eax
jb 0x47e979
call fcn.004ac063
mov eax, dword [esi + 0xc]
mov edx, dword [ebp + 0x88]
add eax, dword [esp + 0x1c]
sub edx, dword [ebp + 0x84]
mov esi, dword [eax + 0x24]
mov ecx, dword [esp + 0x44]
sar edx, 2
cmp esi, edx
jb 0x47e9a3
call fcn.004ac063
mov ecx, dword [esp + 0x44]
sub ecx, dword [esp + 0x40]
mov eax, dword [ebp + 0x84]
sar ecx, 2
lea esi, [eax + esi*4]
cmp edi, ecx
jb 0x47e9bc
call fcn.004ac063
mov ecx, dword [esp + 0x40]
mov ecx, dword [ecx + edi*4]
movzx eax, word [ecx]
xor edx, edx
test ax, ax
je 0x47e9e3
lea ecx, [ecx]
cmp ax, 0x27
jne 0x47e9d7
inc edx
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x47e9d0
lea edx, [edx + edx + 2]
add dword [esi], edx
jmp 0x47ea69
mov esi, dword [esp + 0x20]
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0xc4], eax
jb 0x47ea17
call fcn.004ac063
mov eax, dword [esi + 0xc]
mov edx, dword [ebp + 0x88]
add eax, dword [esp + 0x1c]
sub edx, dword [ebp + 0x84]
mov esi, dword [eax + 0x24]
mov ecx, dword [esp + 0x44]
sar edx, 2
cmp esi, edx
jb 0x47ea41
call fcn.004ac063
mov ecx, dword [esp + 0x44]
sub ecx, dword [esp + 0x40]
mov eax, dword [ebp + 0x84]
sar ecx, 2
lea esi, [eax + esi*4]
cmp edi, ecx
jb 0x47ea5a
call fcn.004ac063
mov ecx, dword [esp + 0x40]
mov ecx, dword [ecx + edi*4]
push ebp
call fcn.0047ed20
add dword [esi], eax
lea edx, [esp + 0x80]
push edx
mov byte [esp + 0xb8], 0
call fcn.00484600
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0xb8], 0xffffffff
call fcn.0047a450
mov al, 1
jmp 0x47eac3
lea ecx, [esp + 0x80]
push ecx
mov byte [esp + 0xb8], 0
call fcn.00484600
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0xb8], 0xffffffff
call fcn.0047a450
xor al, al
mov ecx, dword [esp + 0xac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret 0xc