Function at 0x47b968
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4a5bce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x22c
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor ebx, ebx
lea ecx, [esp + 0x158]
mov dword [esp + 0x244], ebx
call fcn.004bead8
lea ecx, [esp + 0x10]
mov byte [esp + 0x244], 1
call fcn.0050d46e
lea ecx, [esp + 0x1c]
mov byte [esp + 0x244], 2
call fcn.0050d46e
lea ecx, [esp + 0x18]
mov byte [esp + 0x244], 3
call fcn.0050d46e
lea eax, [esp + 0x178]
mov byte [esp + 0x244], 4
push eax
call fcn.00476fc8
add esp, 4
push 0x4ce224
lea ecx, [esp + 0x40]
push eax
push ecx
mov byte [esp + 0x250], 5
call fcn.0050d60c
lea ecx, [esp + 0x178]
mov byte [esp + 0x244], 7
call fcn.0050d468
push ebx
lea ecx, [esp + 0xa4]
xor esi, esi
call fcn.004b3b78
push ebx
lea ecx, [esp + 0x64]
mov byte [esp + 0x248], 8
call fcn.004b3b78
push ebx
lea ecx, [esp + 0x30]
mov byte [esp + 0x248], 9
call fcn.004b3b78
push ebx
lea ecx, [esp + 0x190]
mov byte [esp + 0x248], 0xa
call fcn.004b3b78
lea ecx, [esp + 0xb0]
mov byte [esp + 0x244], 0xb
call fcn.004af1d8
mov edx, dword [esp + 0x24c]
lea ecx, [esp + 0x158]
push edx
mov byte [esp + 0x248], 0xc
call fcn.004bf388
test eax, eax
jne 0x47bc02
push 1
lea ecx, [esp + 0x138]
mov byte [esp + 0x248], 0xf
call dword [fcn.004b461c]
push 1
lea ecx, [esp + 0x114]
mov byte [esp + 0x248], 0xe
call dword [fcn.004b461c]
mov eax, dword [esp + 0x10c]
mov byte [esp + 0x244], 0xd
cmp eax, ebx
je 0x47baeb
lea ecx, [esp + 0xe0]
call fcn.00494e58
cmp dword [esp + 0x10c], ebx
jne 0x47bad6
mov eax, dword [esp + 0xdc]
mov byte [esp + 0x244], 0xb
cmp eax, ebx
je 0x47bb42
mov ecx, dword [esp + 0xbc]
mov eax, dword [esp + 0xdc]
add ecx, 4
dec eax
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xdc], eax
je 0x47bb2d
mov eax, ecx
mov ecx, dword [esp + 0xb8]
cmp eax, ecx
jne 0x47bb39
lea ecx, [esp + 0xb0]
call fcn.004951f8
cmp dword [esp + 0xdc], ebx
jne 0x47bafe
lea ecx, [esp + 0x18c]
mov byte [esp + 0x244], 0xa
call fcn.004b4098
lea ecx, [esp + 0x2c]
mov byte [esp + 0x244], 9
call fcn.004b4098
lea ecx, [esp + 0x60]
mov byte [esp + 0x244], 8
call fcn.004b4098
lea ecx, [esp + 0xa0]
mov byte [esp + 0x244], 7
call fcn.004b4098
lea ecx, [esp + 0x3c]
mov byte [esp + 0x244], 4
call fcn.0050d468
lea ecx, [esp + 0x18]
mov byte [esp + 0x244], 3
call fcn.0050d468
lea ecx, [esp + 0x1c]
mov byte [esp + 0x244], 2
call fcn.0050d468
lea ecx, [esp + 0x10]
mov byte [esp + 0x244], 1
call fcn.0050d468
lea ecx, [esp + 0x158]
mov byte [esp + 0x244], 0
call fcn.004bef48
lea ecx, [esp + 0x24c]
mov dword [esp + 0x244], 0xffffffff
call fcn.0050d468
xor eax, eax
jmp 0x47db5e
push 0x4d0bdc
lea ecx, [esp + 0x15c]
call fcn.004bf508
test eax, eax
jne 0x47bd84
push 1
lea ecx, [esp + 0x138]
mov byte [esp + 0x248], 0x12
call dword [fcn.004b461c]
push 1
lea ecx, [esp + 0x114]
mov byte [esp + 0x248], 0x11
call dword [fcn.004b461c]
mov eax, dword [esp + 0x10c]
mov byte [esp + 0x244], 0x10
cmp eax, ebx
je 0x47bc71
lea ecx, [esp + 0xe0]
call fcn.00494e58
cmp dword [esp + 0x10c], ebx
jne 0x47bc5c
mov eax, dword [esp + 0xdc]
mov byte [esp + 0x244], 0xb
cmp eax, ebx
je 0x47bcc4
mov ecx, dword [esp + 0xbc]
mov eax, dword [esp + 0xdc]
add ecx, 4
dec eax
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xdc], eax
je 0x47bcaf
cmp ecx, dword [esp + 0xb8]
jne 0x47bcbb
lea ecx, [esp + 0xb0]
call fcn.004951f8
cmp dword [esp + 0xdc], ebx
jne 0x47bc84
lea ecx, [esp + 0x18c]
mov byte [esp + 0x244], 0xa
call fcn.004b4098
lea ecx, [esp + 0x2c]
mov byte [esp + 0x244], 9
call fcn.004b4098
lea ecx, [esp + 0x60]
mov byte [esp + 0x244], 8
call fcn.004b4098
lea ecx, [esp + 0xa0]
mov byte [esp + 0x244], 7
call fcn.004b4098
lea ecx, [esp + 0x3c]
mov byte [esp + 0x244], 4
call fcn.0050d468
lea ecx, [esp + 0x18]
mov byte [esp + 0x244], 3
call fcn.0050d468
lea ecx, [esp + 0x1c]
mov byte [esp + 0x244], 2
call fcn.0050d468
lea ecx, [esp + 0x10]
mov byte [esp + 0x244], 1
call fcn.0050d468
lea ecx, [esp + 0x158]
mov byte [esp + 0x244], 0
call fcn.004bef48
lea ecx, [esp + 0x24c]
mov dword [esp + 0x244], 0xffffffff
call fcn.0050d468
xor eax, eax
jmp 0x47db5e
lea ecx, [esp + 0x158]
call fcn.004bf698
push 0x4d0bd4
lea ecx, [esp + 0x15c]
call fcn.004bf508
test eax, eax
jne 0x47bee7
push 1
lea ecx, [esp + 0x138]
mov byte [esp + 0x248], 0x15
call dword [fcn.004b461c]
push 1
lea ecx, [esp + 0x114]
mov byte [esp + 0x248], 0x14
call dword [fcn.004b461c]
mov eax, dword [esp + 0x10c]
mov byte [esp + 0x244], 0x13
cmp eax, ebx
je 0x47bdff
lea ecx, [esp + 0xe0]
call fcn.00494e58
cmp dword [esp + 0x10c], ebx
jne 0x47bdea
mov eax, dword [esp + 0xdc]
mov byte [esp + 0x244], 0xb
cmp eax, ebx
je 0x47be27
lea ecx, [esp + 0xb0]
call fcn.00494dc8
cmp dword [esp + 0xdc], ebx
jne 0x47be12
lea ecx, [esp + 0x18c]
mov byte [esp + 0x244], 0xa
call fcn.004b4098
lea ecx, [esp + 0x2c]
mov byte [esp + 0x244], 9
call fcn.004b4098
lea ecx, [esp + 0x60]
mov byte [esp + 0x244], 8
call fcn.004b4098
lea ecx, [esp + 0xa0]
mov byte [esp + 0x244], 7
call fcn.004b4098
lea ecx, [esp + 0x3c]
mov byte [esp + 0x244], 4
call fcn.0050d468
lea ecx, [esp + 0x18]
mov byte [esp + 0x244], 3
call fcn.0050d468
lea ecx, [esp + 0x1c]
mov byte [esp + 0x244], 2
call fcn.0050d468
lea ecx, [esp + 0x10]
mov byte [esp + 0x244], 1
call fcn.0050d468
lea ecx, [esp + 0x158]
mov byte [esp + 0x244], 0
call fcn.004bef48
lea ecx, [esp + 0x24c]
mov dword [esp + 0x244], 0xffffffff
call fcn.0050d468
xor eax, eax
jmp 0x47db5e
lea edx, [esp + 0x40]
lea ecx, [esp + 0x158]
push edx
call fcn.0047db88
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x248], 0x16
call fcn.0050d5e8
lea ecx, [esp + 0x40]
mov byte [esp + 0x244], 0xc
call fcn.0050d468
push ebx
lea ecx, [esp + 0x1c]
call fcn.0050d492
mov edx, eax
mov al, byte [esp + 0x27]
mov byte [esp + 0x70], al
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x78]
call dword [0x4b4618]
lea ecx, [esp + 0xa0]
push 1
lea edx, [esp + 0x74]
push ecx
push edx
lea ecx, [esp + 0xbc]
mov byte [esp + 0x250], 0x17
call fcn.004af268
and eax, 0xff
mov byte [esp + 0x244], 0xc
mov edi, eax
mov eax, dword [esp + 0x74]
cmp eax, ebx
je 0x47bfaa
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x47bfa1
cmp al, 0xff
je 0x47bfa1
dec al
mov byte [ecx], al
jmp 0x47bfaa
push ecx
call fcn.0050d474
add esp, 4
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
call fcn.0050d48c
cmp edi, ebx
jne 0x47c12a
push 1
lea ecx, [esp + 0x138]
mov byte [esp + 0x248], 0x1a
call dword [fcn.004b461c]
push 1
lea ecx, [esp + 0x114]
mov byte [esp + 0x248], 0x19
call dword [fcn.004b461c]
mov eax, dword [esp + 0x10c]
mov byte [esp + 0x244], 0x18
cmp eax, ebx
je 0x47c013
lea ecx, [esp + 0xe0]
call fcn.00494e58
cmp dword [esp + 0x10c], ebx
jne 0x47bffe
mov eax, dword [esp + 0xdc]
mov byte [esp + 0x244], 0xb
cmp eax, ebx
je 0x47c06a
mov ecx, dword [esp + 0xbc]
mov eax, dword [esp + 0xdc]
add ecx, 4
dec eax
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xdc], eax
je 0x47c055
mov eax, ecx
mov ecx, dword [esp + 0xb8]
cmp eax, ecx
jne 0x47c061
lea ecx, [esp + 0xb0]
call fcn.004951f8
cmp dword [esp + 0xdc], ebx
jne 0x47c026
lea ecx, [esp + 0x18c]
mov byte [esp + 0x244], 0xa
call fcn.004b4098
lea ecx, [esp + 0x2c]
mov byte [esp + 0x244], 9
call fcn.004b4098
lea ecx, [esp + 0x60]
mov byte [esp + 0x244], 8
call fcn.004b4098
lea ecx, [esp + 0xa0]
mov byte [esp + 0x244], 7
call fcn.004b4098
lea ecx, [esp + 0x3c]
mov byte [esp + 0x244], 4
call fcn.0050d468
lea ecx, [esp + 0x18]
mov byte [esp + 0x244], 3
call fcn.0050d468
lea ecx, [esp + 0x1c]
mov byte [esp + 0x244], 2
call fcn.0050d468
lea ecx, [esp + 0x10]
mov byte [esp + 0x244], 1
call fcn.0050d468
lea ecx, [esp + 0x158]
mov byte [esp + 0x244], 0
call fcn.004bef48
lea ecx, [esp + 0x24c]
mov dword [esp + 0x244], 0xffffffff
call fcn.0050d468
xor eax, eax
jmp 0x47db5e
push 0x4d0bd4
lea ecx, [esp + 0xa4]
call fcn.004b5078
push eax
lea ecx, [esp + 0x64]
call fcn.004b4218
lea ecx, [esp + 0x60]
call fcn.004b4318
cmp eax, 6
je 0x47c295
push 1
lea ecx, [esp + 0x138]
mov byte [esp + 0x248], 0x1d
call dword [fcn.004b461c]
push 1
lea ecx, [esp + 0x114]
mov byte [esp + 0x248], 0x1c
call dword [fcn.004b461c]
mov eax, dword [esp + 0x10c]
mov byte [esp + 0x244], 0x1b
cmp eax, ebx
je 0x47c1ad
lea ecx, [esp + 0xe0]
call fcn.00494e58
cmp dword [esp + 0x10c], ebx
jne 0x47c198
mov eax, dword [esp + 0xdc]
mov byte [esp + 0x244], 0xb
cmp eax, ebx
je 0x47c1d5
lea ecx, [esp + 0xb0]
call fcn.00494dc8
cmp dword [esp + 0xdc], ebx
jne 0x47c1c0
lea ecx, [esp + 0x18c]
mov byte [esp + 0x244], 0xa
call fcn.004b4098
lea ecx, [esp + 0x2c]
mov byte [esp + 0x244], 9
call fcn.004b4098
lea ecx, [esp + 0x60]
mov byte [esp + 0x244], 8
call fcn.004b4098
lea ecx, [esp + 0xa0]
mov byte [esp + 0x244], 7
call fcn.004b4098
lea ecx, [esp + 0x3c]
mov byte [esp + 0x244], 4
call fcn.0050d468
lea ecx, [esp + 0x18]
mov byte [esp + 0x244], 3
call fcn.0050d468
lea ecx, [esp + 0x1c]
mov byte [esp + 0x244], 2
call fcn.0050d468
lea ecx, [esp + 0x10]
mov byte [esp + 0x244], 1
call fcn.0050d468
lea ecx, [esp + 0x158]
mov byte [esp + 0x244], 0
call fcn.004bef48
lea ecx, [esp + 0x24c]
mov dword [esp + 0x244], 0xffffffff
call fcn.0050d468
xor eax, eax
jmp 0x47db5e
lea ecx, [esp + 0x60]
call fcn.004b4e58
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x44], eax
jbe 0x47c2e2
push edi
lea ecx, [esp + 0x64]
call fcn.004b4f08
push eax
lea ecx, [esp + 0x30]
call fcn.004b4218
push 0x4d0bd0
lea ecx, [esp + 0x30]
call fcn.004b5078
push eax
call fcn.00477948
add esp, 4
cmp eax, esi
jbe 0x47c2d9
mov esi, eax
mov eax, dword [esp + 0x44]
inc edi
cmp edi, eax
jb 0x47c2a8
mov eax, dword [ebp + 0x9a4]
cmp eax, ebx
je 0x47c30c
mov ecx, dword [eax - 4]
lea edi, [eax - 4]
push 0x411090
push ecx
push 0x80
push eax
call fcn.0050db32
push edi
call fcn.0050d474
add esp, 4
inc esi
mov edx, esi
mov dword [ebp + 0x9a8], esi
shl edx, 7
add edx, 4
push edx
call fcn.0050d486
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebx
mov byte [esp + 0x244], 0x1f
je 0x47c351
push 0x411090
push 0x411030
lea edi, [eax + 4]
push esi
push 0x80
push edi
mov dword [eax], esi
call fcn.0050dc26
jmp 0x47c353
xor edi, edi
mov eax, dword [ebp + 0x9a8]
xor ecx, ecx
cmp eax, ebx
mov byte [esp + 0x244], 0xc
mov dword [ebp + 0x9a4], edi
jbe 0x47c3e2
xor eax, eax
mov edx, dword [ebp + 0x9a4]
inc ecx
mov dword [eax + edx], ebx
mov edx, dword [ebp + 0x9a4]
mov dword [eax + edx + 8], ebx
mov edx, dword [ebp + 0x9a4]
mov dword [eax + edx + 0x10], ebx
mov edx, dword [ebp + 0x9a4]
mov dword [eax + edx + 0x14], ebx
mov edx, dword [ebp + 0x9a4]
mov dword [eax + edx + 0xc], ebx
mov edx, dword [ebp + 0x9a4]
mov dword [eax + edx + 0x44], ebx
mov edx, dword [ebp + 0x9a4]
mov dword [eax + edx + 0x48], ebx
mov edx, dword [ebp + 0x9a4]
mov dword [eax + edx + 0x38], ebx
mov edx, dword [ebp + 0x9a4]
mov dword [eax + edx + 0x30], ebx
mov edx, dword [ebp + 0x9a4]
mov dword [eax + edx + 4], ebx
mov edx, dword [ebp + 0x9a8]
add eax, 0x80
cmp ecx, edx
jb 0x47c36f
mov ecx, dword [ebp + 0x9a4]
push 0x4d0bc8
add ecx, 0x18
call fcn.0050d47a
mov eax, dword [esp + 0x44]
mov dword [esp + 0x28], ebx
cmp eax, ebx
jbe 0x47cdeb
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x60]
push eax
call fcn.004b4f08
push eax
lea ecx, [esp + 0x30]
call fcn.004b4218
push 0x4d0bd0
lea ecx, [esp + 0x30]
call fcn.004b5078
push eax
call fcn.00477948
add esp, 4
mov dword [esp + 0x4c], eax
test eax, eax
mov dword [esp + 0x90], 0
je 0x47cdd6
mov ecx, eax
mov eax, dword [ebp + 0x9a8]
cmp ecx, eax
jae 0x47cdd6
mov edx, dword [ebp + 0x9a4]
mov esi, ecx
shl esi, 7
xor eax, eax
push 0x4d0bc0
mov dword [edx + esi], 1
mov ecx, dword [ebp + 0x9a4]
mov dword [ecx + esi + 0x3c], eax
mov edx, dword [ebp + 0x9a4]
mov dword [edx + esi + 0x28], eax
mov ecx, dword [ebp + 0x9a4]
mov dword [ecx + esi + 0x20], eax
mov edx, dword [ebp + 0x9a4]
mov dword [edx + esi + 0x38], eax
mov ecx, dword [ebp + 0x9a4]
mov dword [ecx + esi + 0x24], eax
mov edx, dword [ebp + 0x9a4]
mov dword [edx + esi + 0x44], eax
mov ecx, dword [ebp + 0x9a4]
mov dword [ecx + esi + 0x48], eax
mov edx, dword [ebp + 0x9a4]
mov dword [edx + esi + 0x2c], eax
mov ecx, dword [ebp + 0x9a4]
mov dword [ecx + esi + 0x34], eax
mov edx, dword [ebp + 0x9a4]
mov dword [edx + esi + 0x30], eax
mov ecx, dword [ebp + 0x9a4]
mov dword [ecx + esi + 0x1c], eax
lea ecx, [esp + 0x30]
call fcn.004b5078
push eax
call fcn.00477948
mov edx, dword [ebp + 0x9a4]
add esp, 4
lea ecx, [esp + 0x2c]
push 0x4d0bb8
mov dword [edx + esi + 0x40], eax
call fcn.004b5078
push eax
call fcn.00477948
mov ecx, dword [ebp + 0x9a4]
add esp, 4
mov dword [ecx + esi + 0x10], eax
push 0x4d0bb0
lea ecx, [esp + 0x30]
call fcn.004b5078
push eax
call fcn.00477948
mov edx, dword [ebp + 0x9a4]
add esp, 4
lea ecx, [esp + 0x2c]
push 0x4d0ba4
mov dword [edx + esi + 0xc], eax
call fcn.004b5078
push eax
lea eax, [esp + 0x178]
push eax
call fcn.00477a28
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x248], 0x20
call fcn.0050d5e8
lea ecx, [esp + 0x174]
mov byte [esp + 0x244], 0xc
call fcn.0050d468
mov ecx, dword [esp + 0x10]
mov edi, dword [fcn.004b46f0]
push 0x4d85a8
push ecx
call edi
add esp, 8
test eax, eax
je 0x47c6ca
mov edx, dword [esp + 0x10]
push 0x4cf224
push edx
call edi
add esp, 8
test eax, eax
je 0x47c6ca
lea eax, [esp + 0x10]
push 0x4d0ba0
lea ecx, [esp + 0x184]
push eax
push ecx
call fcn.0050d60c
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x248], 0x21
call fcn.0050d5e8
lea ecx, [esp + 0x180]
mov byte [esp + 0x244], 0xc
call fcn.0050d468
xor ebx, ebx
lea ecx, [esp + 0x10]
push ebx
push 0x4ce5cc
mov dword [esp + 0x1c], ebx
call fcn.0050d7bc
mov edi, eax
test edi, edi
jl 0x47c6c4
cmp dword [esp + 0x14], 7
jae 0x47c6c4
mov edx, edi
lea eax, [esp + 0x17c]
sub edx, ebx
lea ecx, [esp + 0x10]
push edx
push ebx
push eax
call fcn.0050d6b4
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x248], 0x22
call fcn.0050d5e8
lea ecx, [esp + 0x17c]
mov byte [esp + 0x244], 0xc
call fcn.0050d468
mov ecx, dword [esp + 0x1c]
push 0x4d0b98
push ecx
call dword [fcn.004b46f0]
add esp, 8
test eax, eax
jne 0x47c682
push 0x4d0b90
lea ecx, [esp + 0x20]
call fcn.0050d47a
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x14]
mov ecx, dword [ebp + 0x9a4]
lea edx, [esp + 0x1c]
shl eax, 5
add eax, ebx
push edx
lea ecx, [ecx + eax*4 + 0x4c]
call fcn.0050d5e8
inc ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], ebx
lea ebx, [edi + 1]
push ebx
push 0x4ce5cc
call fcn.0050d7bc
mov edi, eax
test edi, edi
jge 0x47c615
mov edi, dword [fcn.004b46f0]
push 0x4d0b84
lea ecx, [esp + 0x30]
call fcn.004b5078
lea edx, [esp + 0x188]
push eax
push edx
call fcn.00477a28
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x248], 0x23
call fcn.0050d5e8
lea ecx, [esp + 0x188]
mov byte [esp + 0x244], 0xc
call fcn.0050d468
mov eax, dword [esp + 0x10]
push 0x4d85a8
push eax
call edi
add esp, 8
test eax, eax
je 0x47c843
mov ecx, dword [esp + 0x10]
push 0x4cf224
push ecx
call dword [fcn.004b46f0]
add esp, 8
test eax, eax
je 0x47c843
lea edx, [esp + 0x10]
push 0x4d0ba0
lea eax, [esp + 0x188]
xor ebx, ebx
push edx
push eax
mov dword [esp + 0x20], ebx
call fcn.0050d60c
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x248], 0x24
call fcn.0050d5e8
lea ecx, [esp + 0x184]
mov byte [esp + 0x244], 0xc
call fcn.0050d468
push ebx
push 0x4ce5cc
lea ecx, [esp + 0x18]
call fcn.0050d7bc
mov edi, eax
test edi, edi
jl 0x47c843
cmp dword [esp + 0x14], 6
jae 0x47c843
mov ecx, edi
lea edx, [esp + 0x150]
sub ecx, ebx
push ecx
push ebx
push edx
lea ecx, [esp + 0x1c]
call fcn.0050d6b4
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x248], 0x25
call fcn.0050d5e8
lea ecx, [esp + 0x150]
mov byte [esp + 0x244], 0xc
call fcn.0050d468
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x14]
mov ecx, dword [ebp + 0x9a4]
shl eax, 5
add eax, ebx
lea edx, [ecx + eax*4 + 0x68]
lea ecx, [esp + 0x1c]
push edx
push 0x4ce1a8
push 0
call fcn.0050d492
push eax
call dword [fcn.004b46ec]
add esp, 0xc
lea ecx, [esp + 0x1c]
push 0xffffffffffffffff
call fcn.0050d48c
inc ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], ebx
lea ebx, [edi + 1]
push ebx
push 0x4ce5cc
call fcn.0050d7bc
mov edi, eax
test edi, edi
jge 0x47c79d
push 0x4d0b80
lea ecx, [esp + 0x30]
call fcn.004b5078
push eax
lea eax, [esp + 0x98]
push eax
call fcn.00477a28
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x248], 0x26
call fcn.0050d5e8
lea ecx, [esp + 0x94]
mov byte [esp + 0x244], 0xc
call fcn.0050d468
mov ecx, dword [esp + 0x10]
mov edi, dword [fcn.004b46f0]
push 0x4d85a8
push ecx
call edi
add esp, 8
test eax, eax
je 0x47cc5e
mov edx, dword [esp + 0x10]
push 0x4cf224
push edx
call edi
add esp, 8
test eax, eax
je 0x47cc5e
push 0x4d85a8
push 0x4d0b74
lea ecx, [esp + 0x18]
call fcn.0050d6ae
mov eax, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x14]
mov ebx, dword [eax - 8]
call fcn.0050d492
xor edi, edi
test ebx, ebx
jle 0x47c8f2
cmp byte [edi + eax], 0
jl 0x47c8f2
inc edi
cmp edi, ebx
jl 0x47c8e7
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.0050d48c
mov ecx, dword [esp + 0x10]
push 0x4d85a8
push ecx
call dword [fcn.004b46f0]
add esp, 8
test eax, eax
je 0x47cbaf
cmp edi, ebx
jge 0x47cbaf
lea ecx, [esp + 0x5c]
call fcn.0050d46e
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x1fd]
mov byte [esp + 0x1fc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x71]
mov byte [esp + 0x70], 0
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x4c]
mov byte [esp + 0x244], 0x27
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
push edx
mov dword [esp + 0x14c], eax
mov dword [esp + 0x158], eax
lea eax, [esp + 0x60]
push 0x4ce1a8
push eax
call fcn.0050d5e2
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x68]
add esp, 0xc
lea edx, [esp + 0x1fc]
push ecx
push 0x40
push edx
push 0x4d85a8
push eax
push 0x4d0b6c
call dword [fcn.004b40d4]
lea edi, [esp + 0x1fc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x47ca3c
lea ecx, [esp + 0x70]
lea edx, [esp + 0x154]
push ecx
lea eax, [esp + 0x14c]
push edx
push eax
lea ecx, [esp + 0x208]
push 0x4d0b60
push ecx
call dword [fcn.004b46ec]
mov eax, dword [ebp + 0x9a4]
add esp, 0x14
lea edx, [esp + 0x70]
push edx
lea ecx, [eax + esi + 0x18]
call fcn.0050d47a
mov ecx, dword [ebp + 0x9a4]
mov edx, dword [esp + 0x148]
mov dword [esp + 0x90], 1
mov byte [esp + 0x244], 0xc
mov dword [ecx + esi + 0x38], edx
mov eax, dword [ebp + 0x9a4]
mov ecx, dword [esp + 0x154]
mov dword [eax + esi + 0x30], ecx
lea ecx, [esp + 0x5c]
jmp 0x47cc59
lea ecx, [esp + 0x48]
call fcn.0050d46e
push 0x4d0b58
lea ecx, [esp + 0x30]
mov byte [esp + 0x248], 0x28
call fcn.004b5078
lea edx, [esp + 0x98]
push eax
push edx
call fcn.00477a28
add esp, 8
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x248], 0x29
call fcn.0050d5e8
lea ecx, [esp + 0x98]
mov byte [esp + 0x244], 0x28
call fcn.0050d468
mov eax, dword [esp + 0x48]
mov edi, dword [fcn.004b46f0]
push 0x4d85a8
push eax
call edi
add esp, 8
test eax, eax
je 0x47cb8d
mov ecx, dword [esp + 0x48]
push 0x4cf224
push ecx
call edi
add esp, 8
test eax, eax
je 0x47cb8d
lea edx, [esp + 0x48]
lea eax, [esp + 0x50]
push edx
push 0x4d0b48
push eax
call fcn.0050d612
push 0x4d0b44
lea ecx, [esp + 0x58]
push eax
push ecx
mov byte [esp + 0x250], 0x2a
call fcn.0050d60c
mov eax, dword [eax]
mov edx, dword [ebp]
push eax
push 4
mov ecx, ebp
mov byte [esp + 0x24c], 0x2b
call dword [edx + 8]
lea ecx, [esp + 0x54]
mov byte [esp + 0x244], 0x2a
call fcn.0050d468
lea ecx, [esp + 0x50]
mov byte [esp + 0x244], 0x28
call fcn.0050d468
mov eax, dword [ebp + 0x9a4]
mov ecx, dword [esp + 0x48]
mov edi, 1
add eax, esi
mov dword [ebp + 0x50], edi
push ecx
mov edx, dword [eax + 0x30]
mov eax, dword [eax + 0x38]
push edx
push eax
lea ecx, [esp + 0x28]
push 0x4d0b60
push ecx
call fcn.0050d5e2
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x70]
add esp, 0x14
push edx
push eax
push ecx
push 0x4d0b6c
call dword [fcn.004b4098]
mov eax, dword [ebp + 0x9a4]
lea edx, [esp + 0x48]
push edx
lea ecx, [eax + esi + 0x18]
call fcn.0050d5e8
mov dword [esp + 0x90], edi
lea ecx, [esp + 0x48]
mov byte [esp + 0x244], 0x27
call fcn.0050d468
mov byte [esp + 0x244], 0xc
lea ecx, [esp + 0x5c]
jmp 0x47cc59
lea ecx, [esp + 0x58]
call fcn.0050d46e
push 0x4d0b58
lea ecx, [esp + 0x30]
mov byte [esp + 0x248], 0x2c
call fcn.004b5078
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.00477a28
add esp, 8
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x248], 0x2d
call fcn.0050d5e8
lea ecx, [esp + 0x20]
mov byte [esp + 0x244], 0x2c
call fcn.0050d468
mov edx, dword [esp + 0x58]
mov edi, dword [fcn.004b46f0]
push 0x4d85a8
push edx
call edi
add esp, 8
test eax, eax
je 0x47cc4d
mov eax, dword [esp + 0x58]
push 0x4cf224
push eax
call edi
add esp, 8
test eax, eax
je 0x47cc4d
mov edx, dword [ebp + 0x9a4]
lea ecx, [esp + 0x58]
push ecx
lea ecx, [edx + esi + 0x18]
call fcn.0050d5e8
mov eax, dword [ebp + 0x9a4]
mov dword [eax + esi + 4], 1
mov byte [esp + 0x244], 0xc
lea ecx, [esp + 0x58]
call fcn.0050d468
mov ecx, dword [ebp + 0x9a4]
mov eax, 0xcccccccd
add ecx, esi
xor ebx, ebx
mul dword [ecx + 0x78]
mov eax, dword [esp + 0x90]
shr edx, 3
lea edx, [edx + edx*4]
shl edx, 1
cmp eax, ebx
mov dword [ecx + 0x20], edx
jne 0x47cdd6
mov eax, dword [ebp + 0x9a4]
mov dword [eax + esi], ebx
mov ecx, dword [ebp + 0x9a4]
cmp dword [ecx + esi + 4], ebx
je 0x47cdd6
lea ecx, [esp + 0x9c]
call fcn.0050d46e
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x1bd]
mov byte [esp + 0x1bc], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x19d]
mov byte [esp + 0x19c], bl
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x4c]
mov byte [esp + 0x244], 0x2e
stosw word es:[edi], ax
stosb byte es:[edi], al
push edx
lea eax, [esp + 0xa0]
push 0x4ce1a8
push eax
mov dword [esp + 0x158], ebx
mov dword [esp + 0x4c], ebx
call fcn.0050d5e2
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0xa8]
add esp, 0xc
lea edx, [esp + 0x1bc]
push ecx
push 0x40
push edx
push 0x4d85a8
push eax
push 0x4d0b6c
call dword [fcn.004b40d4]
lea edi, [esp + 0x1bc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x47cdc2
lea ecx, [esp + 0x19c]
lea edx, [esp + 0x40]
push ecx
lea eax, [esp + 0x150]
push edx
push eax
lea ecx, [esp + 0x1c8]
push 0x4d0b60
push ecx
call dword [fcn.004b46ec]
mov eax, dword [ebp + 0x9a4]
add esp, 0x14
lea edx, [esp + 0x19c]
push edx
lea ecx, [eax + esi + 0x18]
call fcn.0050d47a
mov ecx, dword [ebp + 0x9a4]
mov edx, dword [esp + 0x14c]
mov dword [ecx + esi + 0x38], edx
mov eax, dword [ebp + 0x9a4]
mov ecx, dword [esp + 0x40]
mov dword [eax + esi + 0x30], ecx
mov edx, dword [ebp + 0x9a4]
mov dword [edx + esi + 4], ebx
mov eax, dword [ebp + 0x9a4]
mov dword [eax + esi], 1
lea ecx, [esp + 0x9c]
mov byte [esp + 0x244], 0xc
call fcn.0050d468
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x44]
inc eax
cmp eax, ecx
mov dword [esp + 0x28], eax
jb 0x47c405
push 0x4d0b38
lea ecx, [esp + 0x15c]
call fcn.004bf508
test eax, eax
je 0x47d233
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x15c]
call fcn.0047db88
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x248], 0x2f
call fcn.0050d5e8
lea ecx, [esp + 0x20]
mov byte [esp + 0x244], 0xc
call fcn.0050d468
xor edi, edi
lea ecx, [esp + 0x18]
push edi
call fcn.0050d492
mov dl, byte [esp + 0x27]
mov esi, eax
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x70], dl
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x74]
push ebx
call dword [fcn.004b4614]
test al, al
je 0x47ce99
mov edi, dword [esp + 0x74]
mov ecx, ebx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x78], ebx
mov byte [ebx + ecx], 0
lea edx, [esp + 0xa0]
push 1
lea eax, [esp + 0x74]
push edx
push eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0x250], 0x30
call fcn.004af268
and eax, 0xff
mov byte [esp + 0x244], 0xc
mov esi, eax
mov eax, dword [esp + 0x74]
test eax, eax
je 0x47cef0
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x47cee7
cmp al, 0xff
je 0x47cee7
dec al
mov byte [ecx], al
jmp 0x47cef0
push ecx
call fcn.0050d474
add esp, 4
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
call fcn.0050d48c
test esi, esi
je 0x47d233
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x14], ebx
lea esi, [ebp + 0x14]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x47cf37
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 2
cmp edi, ecx
jae 0x47cf37
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + edi*4]
push eax
mov dword [esp + 0x18], eax
call fcn.0050d474
add esp, 4
inc edi
jmp 0x47cf0e
push 0x4d0b38
lea ecx, [esp + 0xa4]
call fcn.004b5078
push eax
lea ecx, [esp + 0x64]
call fcn.004b4218
lea ecx, [esp + 0x60]
call fcn.004b4318
cmp eax, 6
jne 0x47d233
lea ecx, [esp + 0x60]
call fcn.004b4e58
cmp eax, ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x28], ebx
jbe 0x47d233
push ebx
lea ecx, [esp + 0x64]
call fcn.004b4f08
push eax
lea ecx, [esp + 0x30]
call fcn.004b4218
push 0x4c
call fcn.0050d486
mov edi, eax
mov ecx, 0x13
xor eax, eax
add esp, 4
mov dword [esp + 0x14], edi
rep stosd dword es:[edi], eax
push 0x4d0bd0
lea ecx, [esp + 0x30]
call fcn.004b5078
push eax
call fcn.00477948
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [ecx], eax
push 0x4d0b30
lea ecx, [esp + 0x30]
call fcn.004b5078
push eax
call fcn.00477948
mov edx, dword [esp + 0x18]
add esp, 4
lea ecx, [esp + 0x2c]
push 0x4d0b24
mov dword [edx + 0x18], eax
call fcn.004b5078
push eax
call fcn.00477948
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [ecx + 0x1c], eax
push 0x4d0b20
lea ecx, [esp + 0x30]
call fcn.004b5078
push eax
call fcn.00477948
mov edx, dword [esp + 0x18]
add esp, 4
lea ecx, [esp + 0x2c]
push 0x4d0b18
mov dword [edx + 0x10], eax
call fcn.004b5078
push eax
call fcn.00477948
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [ecx + 0x14], eax
push 0x4d0b10
lea ecx, [esp + 0x30]
call fcn.004b5078
push eax
call fcn.00477948
mov edx, dword [esp + 0x18]
add esp, 4
lea ecx, [esp + 0x2c]
push 0x4d0b08
mov dword [edx + 0x20], eax
call fcn.004b5078
push eax
call fcn.00477948
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [ecx + 0xc], eax
push 0x4d0b00
lea ecx, [esp + 0x30]
call fcn.004b5078
push eax
call fcn.00477948
mov edx, dword [esp + 0x18]
add esp, 4
lea ecx, [esp + 0x2c]
push 0x4d0b58
mov dword [edx + 0x24], eax
call fcn.004b5078
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00477a28
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax]
push 0x1f
add ecx, 0x2c
push eax
push ecx
call dword [fcn.004b4724]
add esp, 0x14
lea ecx, [esp + 0x20]
call fcn.0050d468
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov edi, dword [ebp + 0x1c]
sub edx, eax
sar edx, 2
cmp edx, 1
jae 0x47d196
mov ecx, esi
call fcn.004e0df8
cmp eax, 1
jbe 0x47d0ff
mov ecx, esi
call fcn.004e0df8
mov ebx, eax
jmp 0x47d104
mov ebx, 1
mov ecx, esi
call fcn.004e0df8
add eax, ebx
mov dword [esp + 0x54], eax
jns 0x47d115
xor eax, eax
shl eax, 2
push eax
call fcn.0050d486
mov ecx, dword [esi + 4]
add esp, 4
mov ebx, eax
push ebx
push edi
push ecx
mov ecx, esi
call fcn.004f0148
lea edx, [esp + 0x14]
mov ecx, esi
push edx
push 1
push eax
mov dword [esp + 0x5c], eax
call fcn.004e1078
mov eax, dword [esp + 0x50]
mov ecx, dword [esi + 8]
add eax, 4
push eax
push ecx
push edi
mov ecx, esi
call fcn.004f0148
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
push edx
push eax
mov ecx, esi
call fcn.004e1068
mov eax, dword [esi + 4]
push eax
call fcn.0050d474
mov ecx, dword [esp + 0x58]
add esp, 4
lea edx, [ebx + ecx*4]
mov ecx, esi
mov dword [esi + 0xc], edx
call fcn.004e0df8
lea eax, [ebx + eax*4 + 4]
mov dword [esi + 4], ebx
mov ebx, dword [esp + 0x28]
mov dword [esi + 8], eax
jmp 0x47d222
mov ecx, eax
sub ecx, edi
sar ecx, 2
cmp ecx, 1
jae 0x47d1e4
lea edx, [edi + 4]
mov ecx, esi
push edx
push eax
push edi
call fcn.004f0148
mov eax, dword [esi + 8]
lea ecx, [esp + 0x14]
mov edx, eax
push ecx
sub edx, edi
mov ecx, 1
sar edx, 2
sub ecx, edx
push ecx
push eax
mov ecx, esi
call fcn.004e1078
mov eax, dword [esi + 8]
cmp edi, eax
je 0x47d21e
mov edx, dword [esp + 0x14]
mov dword [edi], edx
add edi, 4
cmp edi, eax
jne 0x47d1d5
jmp 0x47d21e
push eax
push eax
add eax, 0xfffffffc
mov ecx, esi
push eax
call fcn.004f0148
mov ecx, dword [esi + 8]
lea eax, [ecx - 4]
cmp edi, eax
je 0x47d20a
mov edx, dword [eax - 4]
sub eax, 4
sub ecx, 4
cmp eax, edi
mov dword [ecx], edx
jne 0x47d1fb
lea eax, [edi + 4]
cmp edi, eax
je 0x47d21e
mov ecx, dword [esp + 0x14]
mov dword [edi], ecx
add edi, 4
cmp edi, eax
jne 0x47d211
add dword [esi + 8], 4
mov eax, dword [esp + 0x44]
inc ebx
cmp ebx, eax
mov dword [esp + 0x28], ebx
jb 0x47cf7d
push 0x4d0af4
lea ecx, [esp + 0x15c]
call fcn.004bf508
test eax, eax
je 0x47d823
lea edx, [esp + 0x20]
lea ecx, [esp + 0x158]
push edx
call fcn.0047db88
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x248], 0x31
call fcn.0050d5e8
lea ecx, [esp + 0x20]
mov byte [esp + 0x244], 0xc
call fcn.0050d468
xor ebp, ebp
lea ecx, [esp + 0x18]
push ebp
call fcn.0050d492
mov esi, eax
mov al, byte [esp + 0x27]
mov byte [esp + 0x70], al
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x70]
call dword [0x4b4610]
cmp eax, ebx
jae 0x47d2c4
call dword [0x4b460c]
mov edi, dword [esp + 0x74]
cmp edi, ebp
je 0x47d2ed
mov al, byte [edi - 1]
test al, al
je 0x47d2ed
cmp al, 0xff
je 0x47d2ed
cmp ebx, ebp
jne 0x47d318
dec al
push ebp
lea ecx, [esp + 0x74]
mov byte [edi - 1], al
call dword [fcn.004b461c]
jmp 0x47d344
cmp ebx, ebp
jne 0x47d2ff
push 1
lea ecx, [esp + 0x74]
call dword [fcn.004b461c]
jmp 0x47d344
mov eax, dword [esp + 0x7c]
cmp eax, 0x1f
ja 0x47d30c
cmp eax, ebx
jae 0x47d327
push 1
lea ecx, [esp + 0x74]
call dword [fcn.004b461c]
push ebx
lea ecx, [esp + 0x74]
call dword [0x4b4608]
mov edi, dword [esp + 0x74]
mov ecx, ebx
push ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x74]
call dword [fcn.004b4604]
xor ebp, ebp
lea eax, [esp + 0xa0]
push 1
lea ecx, [esp + 0x74]
push eax
push ecx
lea ecx, [esp + 0xbc]
mov byte [esp + 0x250], 0x32
call fcn.004af268
and eax, 0xff
mov byte [esp + 0x244], 0xc
mov esi, eax
mov eax, dword [esp + 0x74]
cmp eax, ebp
je 0x47d39b
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x47d392
cmp al, 0xff
je 0x47d392
dec al
mov byte [ecx], al
jmp 0x47d39b
push ecx
call fcn.0050d474
add esp, 4
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
call fcn.0050d48c
cmp esi, ebp
je 0x47d823
xor esi, esi
mov ecx, dword [0x4de8b0]
mov eax, dword [ecx + 0xfbc]
test eax, eax
je 0x47d3de
mov edx, dword [ecx + 0xfc0]
sub edx, eax
sar edx, 2
cmp esi, edx
jae 0x47d3de
mov ecx, dword [eax + esi*4]
push ecx
call fcn.0050d474
add esp, 4
inc esi
jmp 0x47d3b0
mov eax, dword [ecx + 0xfc0]
mov edx, dword [ecx + 0xfbc]
lea esi, [ecx + 0xfc0]
cmp eax, eax
mov ecx, eax
je 0x47d404
mov edi, dword [ecx]
add ecx, 4
mov dword [edx], edi
add edx, 4
cmp ecx, eax
jne 0x47d3f6
mov eax, dword [esi]
push 0x4d0ae8
lea ecx, [esp + 0xa4]
mov dword [esp + 0x24], eax
mov dword [esi], edx
call fcn.004b5078
push eax
lea ecx, [esp + 0x64]
call fcn.004b4218
lea ecx, [esp + 0x60]
call fcn.004b4318
cmp eax, 6
jne 0x47d823
lea ecx, [esp + 0x60]
call fcn.004b4e58
test eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x28], 0
jbe 0x47d823
mov ecx, dword [esp + 0x28]
push ecx
lea ecx, [esp + 0x64]
call fcn.004b4f08
push eax
lea ecx, [esp + 0x30]
call fcn.004b4218
push 0x6c
call fcn.0050d486
mov esi, eax
mov ecx, 0x1b
xor eax, eax
mov edi, esi
add esp, 4
rep stosd dword es:[edi], eax
push 0x4d0adc
lea ecx, [esp + 0x30]
call fcn.004b5078
lea edx, [esp + 0x20]
push eax
push edx
call fcn.00477a28
mov eax, dword [eax]
push 0x13
push eax
push esi
call dword [fcn.004b4724]
add esp, 0x14
lea ecx, [esp + 0x20]
call fcn.0050d468
push 0x4d0ad4
lea ecx, [esp + 0x30]
call fcn.004b5078
push eax
lea eax, [esp + 0x54]
push eax
call fcn.00477a28
mov eax, dword [eax]
mov ebx, dword [fcn.004b46ec]
add esp, 8
lea edi, [esi + 0x1c]
lea ecx, [esi + 0x18]
lea edx, [esi + 0x14]
push edi
push ecx
push edx
push 0x4d0ac8
push eax
call ebx
add esp, 0x14
lea ecx, [esp + 0x50]
call fcn.0050d468
mov eax, dword [edi]
push 0x4d0b20
lea ecx, [esp + 0x30]
mov dword [esi + 0x20], eax
call fcn.004b5078
push eax
call fcn.00477948
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esi + 0x24], eax
push 0x4d0bd0
call fcn.004b5078
push eax
call fcn.00477948
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esi + 0x28], eax
push 0x4d0ac0
call fcn.004b5078
push eax
call fcn.00477948
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esi + 0x2c], eax
push 0x4d0ab0
call fcn.004b5078
push eax
call fcn.00477948
add esp, 4
push 0x4d0aa0
lea ecx, [esp + 0x30]
mov dword [esi + 0x30], eax
call fcn.004b5078
lea ecx, [esp + 0x54]
push eax
push ecx
call fcn.00477a28
mov eax, dword [eax]
add esp, 8
lea edx, [esi + 0x38]
lea ecx, [esi + 0x34]
push edx
push ecx
push 0x4d0a98
push eax
call ebx
add esp, 0x10
lea ecx, [esp + 0x54]
call fcn.0050d468
push 0x4d0a8c
lea ecx, [esp + 0x30]
call fcn.004b5078
push eax
call fcn.00477948
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esi + 0x3c], eax
push 0x4d0a84
call fcn.004b5078
push eax
call fcn.00477948
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esi + 0x40], eax
push 0x4d0a7c
call fcn.004b5078
push eax
call fcn.00477948
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esi + 0x44], eax
push 0x4d0a70
call fcn.004b5078
push eax
call fcn.00477948
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esi + 0x48], eax
push 0x4d0b10
call fcn.004b5078
push eax
call fcn.00477948
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esi + 0x4c], eax
push 0x4d0a68
call fcn.004b5078
push eax
call fcn.00477948
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esi + 0x50], eax
push 0x4d0a60
call fcn.004b5078
push eax
call fcn.00477948
mov dword [esi + 0x54], eax
mov eax, dword [0x4de8b0]
add esp, 4
mov ecx, dword [eax + 0xfc0]
mov edx, dword [eax + 0xfc4]
lea ebp, [eax + 0xfc4]
lea ebx, [eax + 0xfc0]
mov edi, dword [eax + 0xfc0]
sub edx, ecx
sar edx, 2
cmp edx, 1
jae 0x47d771
mov edx, dword [eax + 0xfbc]
add eax, 0xfbc
test edx, edx
mov dword [esp + 0x40], eax
je 0x47d6a7
mov eax, ecx
sub eax, edx
sar eax, 2
cmp eax, 1
ja 0x47d6ac
mov eax, 1
test edx, edx
jne 0x47d6b4
xor ecx, ecx
jmp 0x47d6b9
sub ecx, edx
sar ecx, 2
add eax, ecx
test eax, eax
mov dword [esp + 0x94], eax
jge 0x47d6c8
xor eax, eax
shl eax, 2
push eax
call fcn.0050d486
mov ecx, dword [esp + 0x44]
add esp, 4
mov dword [esp + 0x98], eax
mov ecx, dword [ecx]
cmp ecx, edi
je 0x47d6f7
test eax, eax
je 0x47d6ed
mov edx, dword [ecx]
mov dword [eax], edx
add ecx, 4
add eax, 4
cmp ecx, edi
jne 0x47d6e5
test eax, eax
je 0x47d6fd
mov dword [eax], esi
mov edx, dword [ebx]
lea ecx, [eax + 4]
cmp edi, edx
je 0x47d71e
sub edi, eax
lea edi, [edi + ecx - 4]
test ecx, ecx
je 0x47d714
mov eax, dword [edi]
mov dword [ecx], eax
add edi, 4
add ecx, 4
cmp edi, edx
jne 0x47d70c
mov esi, dword [esp + 0x40]
mov eax, dword [esi]
push eax
mov dword [esp + 0x154], eax
call fcn.0050d474
mov edx, dword [esp + 0x9c]
mov ecx, dword [esp + 0x98]
add esp, 4
lea eax, [edx + ecx*4]
mov ecx, dword [esi]
test ecx, ecx
mov dword [ebp], eax
jne 0x47d75d
xor eax, eax
mov dword [esi], edx
lea ecx, [edx + eax*4 + 4]
mov dword [ebx], ecx
jmp 0x47d80e
mov eax, dword [ebx]
mov dword [esi], edx
sub eax, ecx
sar eax, 2
lea ecx, [edx + eax*4 + 4]
mov dword [ebx], ecx
jmp 0x47d80e
mov edx, ecx
sub edx, edi
sar edx, 2
cmp edx, 1
jae 0x47d7c8
cmp edi, ecx
lea eax, [edi + 4]
je 0x47d799
lea edx, [eax - 4]
test eax, eax
je 0x47d78f
mov ebp, dword [edx]
mov dword [eax], ebp
add edx, 4
add eax, 4
cmp edx, ecx
jne 0x47d787
mov ecx, dword [ebx]
mov eax, 1
mov edx, ecx
sub edx, edi
sar edx, 2
sub eax, edx
je 0x47d7b7
test ecx, ecx
je 0x47d7b1
mov dword [ecx], esi
add ecx, 4
dec eax
jne 0x47d7ab
mov eax, dword [ebx]
cmp edi, eax
je 0x47d80b
mov dword [edi], esi
add edi, 4
cmp edi, eax
jne 0x47d7bd
jmp 0x47d80b
lea eax, [ecx - 4]
mov edx, ecx
cmp eax, ecx
je 0x47d7e3
test edx, edx
je 0x47d7d9
mov ebp, dword [eax]
mov dword [edx], ebp
add eax, 4
add edx, 4
cmp eax, ecx
jne 0x47d7d1
mov ecx, dword [ebx]
lea eax, [ecx - 4]
cmp edi, eax
je 0x47d7fb
mov edx, dword [eax - 4]
sub eax, 4
sub ecx, 4
cmp eax, edi
mov dword [ecx], edx
jne 0x47d7ec
lea eax, [edi + 4]
cmp edi, eax
je 0x47d80b
mov dword [edi], esi
add edi, 4
cmp edi, eax
jne 0x47d802
add dword [ebx], 4
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x44]
inc eax
cmp eax, ecx
mov dword [esp + 0x28], eax
jb 0x47d456
mov eax, dword [esp + 0x138]
xor esi, esi
cmp eax, esi
mov byte [esp + 0x244], 0x33
je 0x47d855
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x47d84c
cmp al, 0xff
je 0x47d84c
dec al
mov byte [ecx], al
jmp 0x47d855
push ecx
call fcn.0050d474
add esp, 4
mov eax, dword [esp + 0x114]
mov dword [esp + 0x138], esi
cmp eax, esi
mov dword [esp + 0x13c], esi
mov dword [esp + 0x140], esi
je 0x47d892
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x47d889
cmp al, 0xff
je 0x47d889
dec al
mov byte [ecx], al
jmp 0x47d892
push ecx
call fcn.0050d474
add esp, 4
mov eax, dword [esp + 0x10c]
mov dword [esp + 0x114], esi
cmp eax, esi
mov dword [esp + 0x118], esi
mov dword [esp + 0x11c], esi
je 0x47d9ac
mov ecx, dword [esp + 0xec]
push 1
mov eax, ecx
add ecx, 0x20
mov dword [esp + 0xf0], ecx
lea ecx, [eax + 0xc]
call dword [fcn.004b461c]
mov eax, dword [esp + 0x10c]
dec eax
mov dword [esp + 0x10c], eax
je 0x47d8fb
mov eax, dword [esp + 0xec]
mov ecx, dword [esp + 0xe8]
cmp eax, ecx
jne 0x47d99f
mov eax, dword [esp + 0xf0]
mov ecx, eax
add eax, 4
mov dword [esp + 0xf0], eax
mov ecx, dword [ecx]
push ecx
call fcn.0050d474
mov eax, dword [esp + 0x110]
add esp, 4
cmp eax, esi
jne 0x47d974
xor ecx, ecx
xor eax, eax
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xf8], ecx
mov ecx, dword [esp + 0x104]
xor edx, edx
push ecx
mov dword [esp + 0xe8], eax
mov dword [esp + 0xf0], edx
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf8], eax
mov dword [esp + 0x100], edx
mov dword [esp + 0x104], esi
call fcn.0050d474
add esp, 4
jmp 0x47d99f
mov ecx, dword [esp + 0xf0]
mov eax, dword [ecx]
mov dword [esp + 0xf0], ecx
mov dword [esp + 0xe4], eax
mov dword [esp + 0xec], eax
lea edx, [eax + 0x1000]
mov dword [esp + 0xe8], edx
cmp dword [esp + 0x10c], esi
jne 0x47d8b6
cmp dword [esp + 0xdc], esi
je 0x47daa0
mov edi, 4
mov ecx, dword [esp + 0xbc]
mov eax, dword [esp + 0xdc]
add ecx, edi
dec eax
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xdc], eax
je 0x47d9f0
mov eax, dword [esp + 0xb8]
mov edx, ecx
cmp edx, eax
jne 0x47da93
mov ecx, dword [esp + 0xc0]
mov eax, ecx
add ecx, edi
mov dword [esp + 0xc0], ecx
mov eax, dword [eax]
push eax
call fcn.0050d474
mov eax, dword [esp + 0xe0]
add esp, 4
cmp eax, esi
jne 0x47da68
xor eax, eax
xor ecx, ecx
mov dword [esp + 0xb4], eax
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xd4]
xor edx, edx
push eax
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], esi
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], edx
mov dword [esp + 0xd4], esi
call fcn.0050d474
add esp, 4
jmp 0x47da93
mov ecx, dword [esp + 0xc0]
mov eax, dword [ecx]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xb4], eax
mov dword [esp + 0xbc], eax
lea edx, [eax + 0x1000]
mov dword [esp + 0xb8], edx
cmp dword [esp + 0xdc], esi
jne 0x47d9be
lea ecx, [esp + 0x18c]
mov byte [esp + 0x244], 0xa
call fcn.004b4098
lea ecx, [esp + 0x2c]
mov byte [esp + 0x244], 9
call fcn.004b4098
lea ecx, [esp + 0x60]
mov byte [esp + 0x244], 8
call fcn.004b4098
lea ecx, [esp + 0xa0]
mov byte [esp + 0x244], 7
call fcn.004b4098
lea ecx, [esp + 0x3c]
mov byte [esp + 0x244], 4
call fcn.0050d468
lea ecx, [esp + 0x18]
mov byte [esp + 0x244], 3
call fcn.0050d468
lea ecx, [esp + 0x1c]
mov byte [esp + 0x244], 2
call fcn.0050d468
lea ecx, [esp + 0x10]
mov byte [esp + 0x244], 1
call fcn.0050d468
lea ecx, [esp + 0x158]
mov byte [esp + 0x244], 0
call fcn.004bef48
lea ecx, [esp + 0x24c]
mov dword [esp + 0x244], 0xffffffff
call fcn.0050d468
mov eax, 1
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x238
ret 4