Function at 0x4865c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4f09bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1f0
mov al, byte [esp + 0x23]
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x7c], esi
mov byte [esp + 0x40], al
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x208], ebx
call fcn.004be1a0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x208], 1
call fcn.004be1a0
mov cl, byte [esp + 0x33]
sub esp, 0x10
mov ebp, esp
mov dword [esp + 0x44], esp
push ebx
mov byte [esp + 0x21c], 2
mov byte [ebp], cl
mov ecx, ebp
call fcn.00414090
mov edi, 0x520010
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x38], ecx
push ecx
mov ecx, ebp
call fcn.004144a0
test al, al
je 0x48668c
mov eax, dword [esp + 0x34]
mov edi, dword [ebp + 4]
mov ecx, eax
mov esi, 0x520010
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]
mov esi, dword [esp + 0x8c]
mov dword [ebp + 8], eax
mov ebp, dword [ebp + 4]
mov byte [ebp + eax], bl
add ebp, eax
push ebx
lea ecx, [esp + 0x64]
call fcn.004ca360
mov al, byte [esp + 0x33]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x14], al
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
push 0xa
mov ecx, esi
mov byte [esp + 0x20c], 4
call fcn.00484f40
cmp ax, bx
jge 0x4867b3
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 6
push 0x50f76c
call fcn.004be240
push ecx
mov byte [esp + 0x218], 5
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x50f970
call fcn.004be240
mov ecx, 0x5200a8
mov byte [esp + 0x218], 4
call fcn.004caf10
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
cmp edi, eax
mov byte [esp + 0x208], 3
mov esi, eax
je 0x486730
push ebx
mov ecx, edi
call fcn.004159d0
add edi, 4
cmp edi, esi
jne 0x48671d
mov edi, dword [esp + 0x18]
push edi
call fcn.004de1a0
add esp, 4
lea ecx, [esp + 0x54]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
push 1
mov dword [esp + 0x24], ebx
mov byte [esp + 0x20c], 2
call fcn.00414090
lea ecx, [esp + 0x2c]
mov byte [esp + 0x208], 1
call fcn.004be2e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x208], bl
call fcn.004be2e0
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
cmp esi, eax
mov dword [esp + 0x208], 0xffffffff
mov edi, eax
je 0x4867a5
push ebx
mov ecx, esi
call fcn.004159f0
add esi, 0x1c
cmp esi, edi
jne 0x486792
mov esi, dword [esp + 0x44]
push esi
call fcn.004de1a0
add esp, 4
jmp 0x48892b
jne 0x4868a8
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 6
push 0x50f634
call fcn.004be240
push ecx
mov byte [esp + 0x218], 6
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x50f998
call fcn.004be240
mov ecx, 0x5200a8
mov byte [esp + 0x218], 4
call fcn.004caf10
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
cmp edi, eax
mov byte [esp + 0x208], 3
mov esi, eax
je 0x486825
push ebx
mov ecx, edi
call fcn.004159d0
add edi, 4
cmp edi, esi
jne 0x486812
mov edi, dword [esp + 0x18]
push edi
call fcn.004de1a0
add esp, 4
lea ecx, [esp + 0x54]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
push 1
mov dword [esp + 0x24], ebx
mov byte [esp + 0x20c], 2
call fcn.00414090
lea ecx, [esp + 0x2c]
mov byte [esp + 0x208], 1
call fcn.004be2e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x208], bl
call fcn.004be2e0
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
cmp esi, eax
mov dword [esp + 0x208], 0xffffffff
mov edi, eax
je 0x48689a
push ebx
mov ecx, esi
call fcn.004159f0
add esi, 0x1c
cmp esi, edi
jne 0x486887
mov esi, dword [esp + 0x44]
push esi
call fcn.004de1a0
add esp, 4
jmp 0x48892b
movsx dx, byte [0x5125dc]
mov cl, byte [esi + 0x2f]
push edx
mov byte [0x5125de], cl
push 0x5125dd
lea ecx, [esp + 0x18]
call fcn.004be740
lea eax, [esp + 0x2c]
lea edx, [esp + 0x10]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.004be1b0
mov ecx, esi
call fcn.00480fe0
cmp ax, bx
jg 0x4869dd
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 6
push 0x50f76c
call fcn.004be240
push ecx
mov byte [esp + 0x218], 7
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x50f970
call fcn.004be240
mov ecx, 0x5200a8
mov byte [esp + 0x218], 4
call fcn.004caf10
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
cmp edi, eax
mov byte [esp + 0x208], 3
mov esi, eax
je 0x48695a
push ebx
mov ecx, edi
call fcn.004159d0
add edi, 4
cmp edi, esi
jne 0x486947
mov edi, dword [esp + 0x18]
push edi
call fcn.004de1a0
add esp, 4
lea ecx, [esp + 0x54]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
push 1
mov dword [esp + 0x24], ebx
mov byte [esp + 0x20c], 2
call fcn.00414090
lea ecx, [esp + 0x2c]
mov byte [esp + 0x208], 1
call fcn.004be2e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x208], bl
call fcn.004be2e0
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
cmp esi, eax
mov dword [esp + 0x208], 0xffffffff
mov edi, eax
je 0x4869cf
push ebx
mov ecx, esi
call fcn.004159f0
add esi, 0x1c
cmp esi, edi
jne 0x4869bc
mov esi, dword [esp + 0x44]
push esi
call fcn.004de1a0
add esp, 4
jmp 0x48892b
movsx cx, byte [0x5125dc]
mov al, byte [esi + 0x2f]
push ecx
push 0x5125e9
lea ecx, [esp + 0x18]
mov byte [0x5125ea], al
call fcn.004be740
lea edx, [esp + 0x2c]
lea eax, [esp + 0x10]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.004be1b0
mov ecx, esi
call fcn.00480fe0
cmp ax, bx
jg 0x486b11
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 6
push 0x50f76c
call fcn.004be240
push ecx
mov byte [esp + 0x218], 8
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x50f970
call fcn.004be240
mov ecx, 0x5200a8
mov byte [esp + 0x218], 4
call fcn.004caf10
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
cmp edi, eax
mov byte [esp + 0x208], 3
mov esi, eax
je 0x486a8e
push ebx
mov ecx, edi
call fcn.004159d0
add edi, 4
cmp edi, esi
jne 0x486a7b
mov edi, dword [esp + 0x18]
push edi
call fcn.004de1a0
add esp, 4
lea ecx, [esp + 0x54]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
push 1
mov dword [esp + 0x24], ebx
mov byte [esp + 0x20c], 2
call fcn.00414090
lea ecx, [esp + 0x2c]
mov byte [esp + 0x208], 1
call fcn.004be2e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x208], bl
call fcn.004be2e0
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
cmp esi, eax
mov dword [esp + 0x208], 0xffffffff
mov edi, eax
je 0x486b03
push ebx
mov ecx, esi
call fcn.004159f0
add esi, 0x1c
cmp esi, edi
jne 0x486af0
mov esi, dword [esp + 0x44]
push esi
call fcn.004de1a0
add esp, 4
jmp 0x48892b
push 0xff
lea ecx, [esp + 0x104]
push 0x50f930
push ecx
call fcn.004de8d6
mov dl, byte [esp + 0x3f]
push ecx
mov ebp, esp
mov dword [esp + 0x44], esp
push ebx
mov ecx, ebp
mov byte [ebp], dl
call fcn.00414090
lea edi, [esp + 0x110]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x38], ecx
push ecx
mov ecx, ebp
call fcn.004144a0
test al, al
je 0x486b89
mov eax, dword [esp + 0x34]
mov edi, dword [ebp + 4]
mov ecx, eax
lea esi, [esp + 0x110]
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]
mov ecx, dword [ebp + 4]
mov dword [ebp + 8], eax
add eax, ecx
mov byte [eax], bl
sub esp, 0x10
lea eax, [esp + 0x53]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
push 0x50f8e4
mov byte [esp + 0x230], 9
call fcn.00413bf0
sub esp, 0x10
lea edx, [esp + 0xa6]
mov ecx, esp
mov dword [esp + 0xa0], esp
push edx
push 0x50f9a8
mov byte [esp + 0x240], 0xa
call fcn.00413bf0
sub esp, 0x10
lea eax, [esp + 0xa7]
mov ecx, esp
mov dword [esp + 0xac], esp
push eax
push 0x520010
mov byte [esp + 0x250], 0xb
call fcn.00413bf0
sub esp, 0x10
mov byte [esp + 0x258], 0xc
mov esi, esp
mov dword [esp + 0xc8], esp
push ecx
mov ecx, esp
mov dword [esp + 0x7c], esp
push 6
push 0x50f9a0
call fcn.004be240
push esi
call fcn.004cfca0
sub esp, 8
mov byte [esp + 0x268], 0xd
mov esi, esp
mov dword [esp + 0x88], esp
push ecx
mov ecx, esp
mov dword [esp + 0x8c], esp
push 6
push 0x50f9a0
call fcn.004be240
push esi
call fcn.004cfca0
add esp, 8
lea ecx, [esp + 0x104]
mov byte [esp + 0x268], 4
push ecx
mov ecx, 0x5200a8
call fcn.004cb120
mov ecx, dword [0x4f73d0]
mov dx, word [eax]
push ecx
add eax, 4
push ebx
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x214], 0xe
mov word [esp + 0x5c], dx
call fcn.00413e90
push 1
lea ecx, [esp + 0xac]
mov byte [esp + 0x20c], 4
call fcn.00414090
lea ecx, [esp + 0x50]
call fcn.004c48d0
cmp ax, 1
jne 0x486b11
lea edx, [esp + 0x94]
lea ecx, [esp + 0x50]
push edx
call fcn.004ca4a0
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x486cda
mov eax, 0x4f7480
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x100]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 1
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x98]
call fcn.00414090
lea ecx, [esp + 0x100]
push ecx
call fcn.004dea48
add esp, 4
mov byte [esp + 0x78], al
mov dword [esp + 0x90], 0xffffffff
mov edi, dword [esp + 0x7c]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x38], esp
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x50fb3c
call fcn.004be240
push esi
call fcn.004cfca0
mov ecx, dword [0x5200b4]
add esp, 8
call fcn.004d0780
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
push 0x50fa04
call fcn.004be240
mov ecx, dword [0x5200b4]
call fcn.004d0980
mov al, byte [esp + 0x78]
push ebx
push ecx
cmp al, bl
mov ecx, esp
jne 0x486d99
mov dword [esp + 0x30], esp
push 6
push 0x50fb34
jmp 0x486da4
mov dword [esp + 0x30], esp
push 6
push 0x50fb2c
call fcn.004be240
mov ecx, dword [0x5200b4]
call fcn.004d0980
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
push 0x50f9d4
call fcn.004be240
mov ecx, dword [0x5200b4]
call fcn.004d0980
mov ebp, dword [esp + 0x78]
lea eax, [esp + 0x100]
mov edx, ebp
and edx, 0xff
push edx
push 0x50f930
push eax
call fcn.004de8d6
add esp, 8
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x50f5c0
call fcn.004be240
sub esp, 0x10
lea edx, [esp + 0x7b]
mov ecx, esp
mov dword [esp + 0x48], esp
lea eax, [esp + 0x114]
push edx
push eax
mov byte [esp + 0x224], 0xf
call fcn.00413bf0
push ecx
mov byte [esp + 0x220], 0x10
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x50f988
call fcn.004be240
mov ecx, dword [0x5200b4]
mov byte [esp + 0x220], 4
call fcn.004d0d40
mov ecx, dword [0x5200b4]
call fcn.004d0f50
push 0xa
mov esi, eax
call fcn.004bb3e0
add esp, 4
cmp si, 2
je 0x487d0c
movsx eax, si
sub eax, ebx
je 0x4870a4
dec eax
jne 0x486d31
movsx ax, byte [0x5125f4]
mov cl, byte [edi + 0x2f]
mov dl, byte [esp + 0x78]
mov byte [0x5125f6], cl
push eax
push 0x5125f5
lea ecx, [esp + 0x18]
mov byte [0x5125fc], dl
call fcn.004be740
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push ecx
push eax
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.004776e0
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
mov dword [esp + 0x28], esi
call fcn.004be1b0
mov ecx, edi
call fcn.00480db0
cmp ax, bx
jle 0x487db6
cmp byte [esp + 0x78], bl
jne 0x487304
movsx dx, byte [0x512600]
mov cl, byte [edi + 0x2f]
push edx
mov byte [0x512602], cl
push 0x512601
lea ecx, [esp + 0x18]
mov byte [0x512608], bl
mov byte [0x512609], bl
call fcn.004be740
lea eax, [esp + 0x14]
lea edx, [esp + 0x10]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.004be1b0
mov ecx, edi
call fcn.00480db0
cmp ax, bx
jg 0x486f8f
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x50f76c
call fcn.004be240
push ecx
mov byte [esp + 0x218], 0x18
mov ecx, esp
mov dword [esp + 0x44], esp
push 6
push 0x50fb24
call fcn.004be240
mov ecx, 0x5200a8
mov byte [esp + 0x218], 4
call fcn.004caf10
movsx cx, byte [0x51260c]
mov al, byte [edi + 0x2f]
push ecx
push 0x51260d
lea ecx, [esp + 0x18]
mov byte [0x51260e], al
mov byte [0x512614], bl
mov byte [0x512615], bl
call fcn.004be740
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.004be1b0
mov ecx, edi
call fcn.00480db0
cmp ax, bx
jg 0x48701f
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x50f76c
call fcn.004be240
push ecx
mov byte [esp + 0x218], 0x19
mov ecx, esp
mov dword [esp + 0x44], esp
push 6
push 0x50fb24
call fcn.004be240
mov ecx, 0x5200a8
mov byte [esp + 0x218], 4
call fcn.004caf10
movsx dx, byte [0x512620]
mov cl, byte [edi + 0x2f]
push edx
mov byte [0x512622], cl
push 0x512621
lea ecx, [esp + 0x18]
call fcn.004be740
lea eax, [esp + 0x2c]
lea edx, [esp + 0x10]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.004be1b0
mov ecx, edi
call fcn.00480fe0
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x50f634
call fcn.004be240
push ecx
mov byte [esp + 0x218], 0x1a
mov ecx, esp
mov dword [esp + 0x44], esp
push 6
push 0x50fb1c
call fcn.004be240
mov ecx, 0x5200a8
mov byte [esp + 0x218], 4
call fcn.004caf10
jmp 0x486d31
push 0xff
lea eax, [esp + 0x104]
push 0x50f930
push eax
call fcn.004de8d6
push ecx
mov cl, byte [esp + 0x77]
mov ebp, esp
mov dword [esp + 0x38], esp
push ebx
mov byte [ebp], cl
mov ecx, ebp
call fcn.00414090
lea edi, [esp + 0x110]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x38], ecx
push ecx
mov ecx, ebp
call fcn.004144a0
test al, al
je 0x48711d
mov eax, dword [esp + 0x34]
mov edi, dword [ebp + 4]
mov ecx, eax
lea esi, [esp + 0x110]
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]
mov dword [ebp + 8], eax
mov ebp, dword [ebp + 4]
add ebp, eax
mov byte [ebp], bl
sub esp, 0x10
lea eax, [esp + 0x96]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
push 0x50f8e4
mov byte [esp + 0x230], 0x11
call fcn.00413bf0
sub esp, 0x10
lea edx, [esp + 0x63]
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
push 0x50f9a8
mov byte [esp + 0x240], 0x12
call fcn.00413bf0
sub esp, 0x10
lea eax, [esp + 0xcc]
mov ecx, esp
mov dword [esp + 0xb0], esp
push eax
push 0x520010
mov byte [esp + 0x250], 0x13
call fcn.00413bf0
sub esp, 0x10
mov byte [esp + 0x258], 0x14
mov esi, esp
mov dword [esp + 0xbc], esp
push ecx
mov ecx, esp
mov dword [esp + 0x8c], esp
push 6
push 0x50f9a0
call fcn.004be240
push esi
call fcn.004cfca0
sub esp, 8
mov byte [esp + 0x268], 0x15
mov esi, esp
mov dword [esp + 0x98], esp
push ecx
mov ecx, esp
mov dword [esp + 0x9c], esp
push 6
push 0x50f9a0
call fcn.004be240
push esi
call fcn.004cfca0
add esp, 8
lea ecx, [esp + 0x138]
mov byte [esp + 0x268], 4
push ecx
mov ecx, 0x5200a8
call fcn.004cb120
mov ecx, dword [0x4f73d0]
mov dx, word [eax]
push ecx
add eax, 4
push ebx
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x214], 0x16
mov word [esp + 0x5c], dx
call fcn.00413e90
mov eax, dword [esp + 0xe0]
mov byte [esp + 0x208], 4
cmp eax, ebx
je 0x487258
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x48724f
cmp al, 0xff
je 0x48724f
dec al
mov byte [ecx], al
jmp 0x487258
push ecx
call fcn.004de1a0
add esp, 4
lea edx, [esp + 0xb8]
lea ecx, [esp + 0x50]
push edx
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], ebx
call fcn.004ca4a0
mov edi, dword [eax + 4]
cmp edi, ebx
jne 0x48728a
mov edi, 0x4f7480
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x100]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0xbc]
and ecx, 3
cmp eax, ebx
rep movsb byte es:[edi], byte [esi]
je 0x4872d6
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4872cd
cmp al, 0xff
je 0x4872cd
dec al
mov byte [ecx], al
jmp 0x4872d6
push ecx
call fcn.004de1a0
add esp, 4
lea ecx, [esp + 0x100]
mov dword [esp + 0xbc], ebx
push ecx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
call fcn.004dea48
add esp, 4
mov byte [esp + 0x78], al
jmp 0x486d2d
mov eax, ebp
mov dword [esp + 0x70], ebx
and eax, 0xff
mov dword [esp + 0x6c], 0xffffffff
mov dword [esp + 0x34], eax
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x48], esp
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push 6
push 0x50fb3c
call fcn.004be240
push esi
call fcn.004cfca0
mov ecx, dword [0x5200b4]
add esp, 8
call fcn.004d0780
mov eax, dword [esp + 0x70]
cmp ax, bx
jne 0x487365
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 6
push 0x50fb14
jmp 0x4873b0
cmp ax, 1
jne 0x48739b
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 6
push 0x50fb14
call fcn.004be240
mov ecx, dword [0x5200b4]
call fcn.004d0980
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 6
push 0x50fb04
jmp 0x4873b0
cmp ax, 2
jne 0x4873c0
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 6
push 0x50faf4
call fcn.004be240
mov ecx, dword [0x5200b4]
call fcn.004d0980
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 6
push 0x50f9d4
call fcn.004be240
mov ecx, dword [0x5200b4]
call fcn.004d0980
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x100]
push edx
push 0x50f930
push eax
call fcn.004de8d6
add esp, 8
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x50f5c0
call fcn.004be240
sub esp, 0x10
lea edx, [esp + 0x9d]
mov ecx, esp
mov dword [esp + 0x3c], esp
lea eax, [esp + 0x114]
push edx
push eax
mov byte [esp + 0x224], 0x1b
call fcn.00413bf0
push ecx
mov byte [esp + 0x220], 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x50f988
call fcn.004be240
mov ecx, dword [0x5200b4]
mov byte [esp + 0x220], 4
call fcn.004d0d40
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
push ecx
push eax
lea ecx, [esp + 0x48]
mov esi, eax
call fcn.004140e0
mov ecx, dword [esp + 0x78]
mov ebp, dword [esp + 0x7c]
lea edx, [esp + 0x40]
lea eax, [esp + 0x90]
push edx
push eax
push ecx
mov ecx, ebp
mov dword [esp + 0x54], esi
call fcn.00486210
cmp ax, bx
jle 0x487ec1
cmp ax, 0xffff
je 0x487fc3
movsx edx, word [esp + 0x90]
push edx
lea eax, [esp + 0x104]
push 0x50f930
push eax
call fcn.004de8d6
add esp, 8
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x50f5c0
call fcn.004be240
sub esp, 0x10
lea edx, [esp + 0xa2]
mov ecx, esp
mov dword [esp + 0x3c], esp
lea eax, [esp + 0x114]
push edx
push eax
mov byte [esp + 0x224], 0x1f
call fcn.00413bf0
push ecx
mov byte [esp + 0x220], 0x20
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x50fb0c
call fcn.004be240
mov ecx, dword [0x5200b4]
mov byte [esp + 0x220], 4
call fcn.004d0d40
cmp word [esp + 0x6c], bx
jl 0x4875b8
movsx ecx, word [esp + 0x6c]
push ecx
lea edx, [esp + 0x104]
push 0x50f930
push edx
call fcn.004de8d6
add esp, 8
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x50f5c0
call fcn.004be240
sub esp, 0x10
lea eax, [esp + 0x89]
mov ecx, esp
mov dword [esp + 0x3c], esp
lea edx, [esp + 0x114]
push eax
push edx
mov byte [esp + 0x224], 0x21
call fcn.00413bf0
push ecx
mov byte [esp + 0x220], 0x22
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x50fafc
call fcn.004be240
mov ecx, dword [0x5200b4]
mov byte [esp + 0x220], 4
call fcn.004d0d40
xor esi, esi
mov dword [esp + 0x24], ebx
mov edi, dword [esp + 0x44]
cmp edi, ebx
je 0x48772c
mov ecx, dword [esp + 0x48]
mov eax, 0x92492493
sub ecx, edi
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp esi, edx
jae 0x48772c
mov ecx, dword [esp + 0x24]
push esi
mov al, byte [ecx + edi]
lea ecx, [esp + 0x44]
cmp al, 1
jne 0x4876b1
call fcn.00413da0
push ecx
add eax, 4
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.004be1b0
mov ecx, ebp
call fcn.0047e790
cmp ax, bx
je 0x48771b
push ebx
push 0xffff
push esi
lea ecx, [esp + 0x4c]
call fcn.00413da0
push ecx
add eax, 8
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.004be1b0
push esi
lea ecx, [esp + 0x50]
mov byte [esp + 0x218], 0x23
call fcn.00413da0
sub esp, 0x10
add eax, 0xc
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.00413ad0
push esi
lea ecx, [esp + 0x60]
mov byte [esp + 0x228], 0x24
call fcn.00413da0
push ecx
add eax, 4
mov ecx, esp
mov dword [esp + 0xa4], esp
push eax
call fcn.004be1b0
mov ecx, dword [0x5200b0]
mov byte [esp + 0x228], 4
call fcn.004ce370
mov eax, dword [esp + 0x24]
inc esi
add eax, 0x1c
mov dword [esp + 0x24], eax
jmp 0x4875be
call fcn.00413da0
push ecx
add eax, 8
mov ecx, esp
mov dword [esp + 0x88], esp
push eax
call fcn.004be1b0
push esi
lea ecx, [esp + 0x48]
mov byte [esp + 0x210], 0x25
call fcn.00413da0
sub esp, 0x10
add eax, 0xc
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
call fcn.00413ad0
push ecx
mov byte [esp + 0x220], 0x26
mov ecx, esp
mov dword [esp + 0x40], esp
push 6
push 0x50f980
call fcn.004be240
mov ecx, dword [0x5200b4]
mov byte [esp + 0x220], 4
call fcn.004d0d40
mov eax, dword [esp + 0x24]
inc esi
add eax, 0x1c
mov dword [esp + 0x24], eax
jmp 0x4875be
mov ecx, dword [0x5200b4]
call fcn.004d0f50
push 0xa
mov esi, eax
call fcn.004bb3e0
mov eax, dword [esp + 0x74]
add esp, 4
cmp ax, bx
jne 0x4879b7
cmp si, 1
je 0x4880d1
cmp si, bx
jne 0x48731b
push 0xffff
lea edx, [esp + 0x104]
push 0x50f930
push edx
call fcn.004de8d6
mov al, byte [esp + 0x81]
push ecx
mov edx, esp
lea edi, [esp + 0x110]
or ecx, 0xffffffff
mov dword [esp + 0x94], esp
mov byte [edx], al
xor eax, eax
mov dword [edx + 4], ebx
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x114]
push ecx
mov ecx, edx
call fcn.004142c0
sub esp, 0x10
lea edx, [esp + 0xaf]
mov ecx, esp
mov dword [esp + 0x58], esp
push edx
push 0x50f8e4
mov byte [esp + 0x230], 0x28
call fcn.00413bf0
sub esp, 0x10
lea eax, [esp + 0xba]
mov ecx, esp
mov dword [esp + 0x58], esp
push eax
push 0x50f9a8
mov byte [esp + 0x240], 0x29
call fcn.00413bf0
sub esp, 0x10
lea edx, [esp + 0xb7]
mov ecx, esp
mov dword [esp + 0x64], esp
push edx
push 0x520010
mov byte [esp + 0x250], 0x2a
call fcn.00413bf0
sub esp, 0x10
mov byte [esp + 0x258], 0x2b
mov esi, esp
mov dword [esp + 0xb8], esp
push ecx
mov ecx, esp
mov dword [esp + 0x90], esp
push 6
push 0x50fb14
call fcn.004be240
push esi
call fcn.004cfca0
sub esp, 8
mov byte [esp + 0x268], 0x2c
mov esi, esp
mov dword [esp + 0x9c], esp
push ecx
mov ecx, esp
mov dword [esp + 0xa0], esp
push 6
push 0x50fb14
call fcn.004be240
push esi
call fcn.004cfca0
add esp, 8
lea eax, [esp + 0x14c]
mov byte [esp + 0x268], 4
push eax
mov ecx, 0x5200a8
call fcn.004cb120
mov edx, dword [0x4f73d0]
mov cx, word [eax]
push edx
add eax, 4
mov word [esp + 0x54], cx
push ebx
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x214], 0x2d
call fcn.00413e90
mov eax, dword [esp + 0xf4]
mov byte [esp + 0x208], 4
cmp eax, ebx
je 0x4878f2
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4878e9
cmp al, 0xff
je 0x4878e9
dec al
mov byte [ecx], al
jmp 0x4878f2
push ecx
call fcn.004de1a0
add esp, 4
lea ecx, [esp + 0x50]
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xfc], ebx
call fcn.004c48d0
cmp ax, 2
je 0x48731b
lea eax, [esp + 0xc8]
lea ecx, [esp + 0x50]
push eax
call fcn.004ca4a0
mov edi, dword [eax + 4]
cmp edi, ebx
jne 0x487937
mov edi, 0x4f7480
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x100]
mov eax, ecx
mov esi, edi
mov edi, edx
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 + 0xcc]
cmp ecx, ebx
je 0x487981
mov al, byte [ecx - 1]
dec ecx
cmp al, bl
je 0x487978
cmp al, 0xff
je 0x487978
dec al
mov byte [ecx], al
jmp 0x487981
push ecx
call fcn.004de1a0
add esp, 4
lea ecx, [esp + 0x100]
mov dword [esp + 0xcc], ebx
push ecx
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ebx
call fcn.004dea48
add esp, 4
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], 1
jmp 0x48731b
cmp ax, 1
jne 0x487cea
cmp si, 2
je 0x4882e8
movsx eax, si
sub eax, ebx
je 0x487a6e
dec eax
jne 0x48731b
mov edx, dword [esp + 0x7c]
mov al, byte [edx + 0x2f]
movsx dx, byte [0x512600]
mov byte [0x512602], al
mov eax, dword [esp + 0x6c]
mov ecx, eax
push edx
sar ecx, 8
mov byte [0x512608], cl
push 0x512601
lea ecx, [esp + 0x18]
mov byte [0x512609], al
call fcn.004be740
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
cmp esi, eax
mov ebp, esi
mov edi, eax
je 0x487a32
mov ecx, esi
call fcn.004be2e0
add esi, 4
cmp esi, edi
jne 0x487a24
lea eax, [esp + 0x14]
lea edx, [esp + 0x10]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov dword [esp + 0x28], ebp
call fcn.004be1b0
mov ecx, dword [esp + 0x84]
call fcn.00480db0
cmp ax, bx
jle 0x4884fe
mov dword [esp + 0x70], 2
jmp 0x48731b
push 0xffff
lea eax, [esp + 0x104]
push 0x50f930
push eax
call fcn.004de8d6
push ecx
mov cl, byte [esp + 0x87]
mov ebp, esp
lea edi, [esp + 0x110]
xor eax, eax
mov dword [esp + 0x4c], esp
mov byte [ebp], cl
or ecx, 0xffffffff
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x38], ecx
push ecx
mov ecx, ebp
call fcn.004144a0
test al, al
je 0x487ae8
mov eax, dword [esp + 0x34]
mov edi, dword [ebp + 4]
mov ecx, eax
lea esi, [esp + 0x110]
mov edx, ecx
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.00414480
sub esp, 0x10
lea eax, [esp + 0xa3]
mov ecx, esp
mov dword [esp + 0x88], esp
push eax
push 0x50f8e4
mov byte [esp + 0x230], 0x2f
call fcn.00413bf0
sub esp, 0x10
lea edx, [esp + 0xbb]
mov ecx, esp
mov dword [esp + 0xb4], esp
push edx
push 0x50f9a8
mov byte [esp + 0x240], 0x30
call fcn.00413bf0
sub esp, 0x10
lea eax, [esp + 0xcd]
mov ecx, esp
mov dword [esp + 0x78], esp
push eax
push 0x520010
mov byte [esp + 0x250], 0x31
call fcn.00413bf0
sub esp, 0x10
mov byte [esp + 0x258], 0x32
mov esi, esp
mov dword [esp + 0x78], esp
push ecx
mov ecx, esp
mov dword [esp + 0x78], esp
push 6
push 0x50fb14
call fcn.004be240
push esi
call fcn.004cfca0
sub esp, 8
mov byte [esp + 0x268], 0x33
mov esi, esp
mov dword [esp + 0x84], esp
push ecx
mov ecx, esp
mov dword [esp + 0x88], esp
push 6
push 0x50fb14
call fcn.004be240
push esi
call fcn.004cfca0
add esp, 8
lea ecx, [esp + 0x104]
mov byte [esp + 0x268], 4
push ecx
mov ecx, 0x5200a8
call fcn.004cb120
mov ecx, dword [0x4f73d0]
mov dx, word [eax]
push ecx
add eax, 4
push ebx
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x214], 0x34
mov word [esp + 0x5c], dx
call fcn.00413e90
mov eax, dword [esp + 0xac]
mov byte [esp + 0x208], 4
cmp eax, ebx
je 0x487c23
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x487c1a
cmp al, 0xff
je 0x487c1a
dec al
mov byte [ecx], al
jmp 0x487c23
push ecx
call fcn.004de1a0
add esp, 4
lea ecx, [esp + 0x50]
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
call fcn.004c48d0
cmp ax, 2
je 0x48731b
lea edx, [esp + 0x94]
lea ecx, [esp + 0x50]
push edx
call fcn.004ca4a0
mov edi, dword [eax + 4]
cmp edi, ebx
jne 0x487c68
mov edi, 0x4f7480
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x100]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x98]
and ecx, 3
cmp eax, ebx
rep movsb byte es:[edi], byte [esi]
je 0x487cb4
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x487cab
cmp al, 0xff
je 0x487cab
dec al
mov byte [ecx], al
jmp 0x487cb4
push ecx
call fcn.004de1a0
add esp, 4
lea ecx, [esp + 0x100]
mov dword [esp + 0x98], ebx
push ecx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
call fcn.004dea48
add esp, 4
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], 1
jmp 0x48731b
cmp si, 1
je 0x48863c
cmp si, bx
je 0x488812
cmp ax, 3
jne 0x48731b
jmp 0x486d2d
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, edi
mov byte [esp + 0x208], 3
je 0x487d33
push ebx
mov ecx, esi
call fcn.004159d0
add esi, 4
cmp esi, edi
jne 0x487d20
mov esi, dword [esp + 0x18]
push esi
call fcn.004de1a0
add esp, 4
lea ecx, [esp + 0x54]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
push 1
mov dword [esp + 0x24], ebx
mov byte [esp + 0x20c], 2
call fcn.00414090
lea ecx, [esp + 0x2c]
mov byte [esp + 0x208], 1
call fcn.004be2e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x208], bl
call fcn.004be2e0
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
cmp esi, eax
mov dword [esp + 0x208], 0xffffffff
mov edi, eax
je 0x487da8
push ebx
mov ecx, esi
call fcn.004159f0
add esi, 0x1c
cmp esi, edi
jne 0x487d95
mov esi, dword [esp + 0x44]
push esi
call fcn.004de1a0
add esp, 4
jmp 0x48892b
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push 6
push 0x50f76c
call fcn.004be240
push ecx
mov byte [esp + 0x218], 0x17
mov ecx, esp
mov dword [esp + 0x78], esp
push 6
push 0x50f970
call fcn.004be240
mov ecx, 0x5200a8
mov byte [esp + 0x218], 4
call fcn.004caf10
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, eax
mov byte [esp + 0x208], 3
mov edi, eax
je 0x487e21
mov ecx, esi
call fcn.004be2e0
add esi, 4
cmp esi, edi
jne 0x487e0f
mov esi, dword [esp + 0x18]
push esi
call fcn.004de1a0
mov eax, dword [esp + 0x5c]
add esp, 4
cmp eax, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
je 0x487e5b
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x487e52
cmp al, 0xff
je 0x487e52
dec al
mov byte [ecx], al
jmp 0x487e5b
push ecx
call fcn.004de1a0
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov byte [esp + 0x208], 1
call fcn.004be2e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x208], bl
call fcn.004be2e0
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
cmp esi, eax
mov dword [esp + 0x208], 0xffffffff
mov edi, eax
je 0x487eb3
mov ecx, esi
call fcn.00404da0
add esi, 0x1c
cmp esi, edi
jne 0x487ea1
mov esi, dword [esp + 0x44]
push esi
call fcn.004de1a0
add esp, 4
jmp 0x48892b
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push 6
push 0x50f76c
call fcn.004be240
push ecx
mov byte [esp + 0x218], 0x1d
mov ecx, esp
mov dword [esp + 0x78], esp
push 6
push 0x50f970
call fcn.004be240
mov ecx, 0x5200a8
mov byte [esp + 0x218], 4
call fcn.004caf10
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, eax
mov byte [esp + 0x208], 3
mov edi, eax
je 0x487f2c
mov ecx, esi
call fcn.004be2e0
add esi, 4
cmp esi, edi
jne 0x487f1a
mov esi, dword [esp + 0x18]
push esi
call fcn.004de1a0
mov eax, dword [esp + 0x5c]
add esp, 4
cmp eax, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
je 0x487f66
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x487f5d
cmp al, 0xff
je 0x487f5d
dec al
mov byte [ecx], al
jmp 0x487f66
push ecx
call fcn.004de1a0
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov byte [esp + 0x208], 1
call fcn.004be2e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x208], bl
call fcn.004be2e0
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
cmp esi, eax
mov dword [esp + 0x208], 0xffffffff
mov edi, eax
je 0x4880c0
mov ecx, esi
call fcn.00404da0
add esi, 0x1c
cmp esi, edi
jne 0x487fb0
jmp 0x4880bc
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push 6
push 0x50f634
call fcn.004be240
push ecx
mov byte [esp + 0x218], 0x1e
mov ecx, esp
mov dword [esp + 0x78], esp
push 6
push 0x50f998
call fcn.004be240
mov ecx, 0x5200a8
mov byte [esp + 0x218], 4
call fcn.004caf10
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, eax
mov byte [esp + 0x208], 3
mov edi, eax
je 0x48802e
mov ecx, esi
call fcn.004be2e0
add esi, 4
cmp esi, edi
jne 0x48801c
mov esi, dword [esp + 0x18]
push esi
call fcn.004de1a0
mov eax, dword [esp + 0x5c]
add esp, 4
cmp eax, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
je 0x488068
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x48805f
cmp al, 0xff
je 0x48805f
dec al
mov byte [ecx], al
jmp 0x488068
push ecx
call fcn.004de1a0
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov byte [esp + 0x208], 1
call fcn.004be2e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x208], bl
call fcn.004be2e0
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
cmp esi, eax
mov dword [esp + 0x208], 0xffffffff
mov edi, eax
je 0x4880c0
mov ecx, esi
call fcn.00404da0
add esi, 0x1c
cmp esi, edi
jne 0x4880ae
mov esi, dword [esp + 0x44]
push esi
call fcn.004de1a0
add esp, 4
xor ax, ax
jmp 0x48892f
movsx ax, byte [0x512620]
mov dl, byte [ebp + 0x2f]
push eax
push 0x512621
lea ecx, [esp + 0x18]
mov byte [0x512622], dl
call fcn.004be740
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x10]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call fcn.004be1b0
mov ecx, ebp
call fcn.00480fe0
cmp ax, bx
jg 0x488222
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push 6
push 0x50f76c
call fcn.004be240
push ecx
mov byte [esp + 0x218], 0x27
mov ecx, esp
mov dword [esp + 0x78], esp
push 6
push 0x50f970
call fcn.004be240
mov ecx, 0x5200a8
mov byte [esp + 0x218], 4
call fcn.004caf10
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, eax
mov byte [esp + 0x208], 3
mov edi, eax
je 0x488182
mov ecx, esi
call fcn.004be2e0
add esi, 4
cmp esi, edi
jne 0x488170
mov esi, dword [esp + 0x18]
push esi
call fcn.004de1a0
mov eax, dword [esp + 0x5c]
add esp, 4
cmp eax, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
je 0x4881bc
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4881b3
cmp al, 0xff
je 0x4881b3
dec al
mov byte [ecx], al
jmp 0x4881bc
push ecx
call fcn.004de1a0
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov byte [esp + 0x208], 1
call fcn.004be2e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x208], bl
call fcn.004be2e0
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
cmp esi, eax
mov dword [esp + 0x208], 0xffffffff
mov edi, eax
je 0x488214
mov ecx, esi
call fcn.00404da0
add esi, 0x1c
cmp esi, edi
jne 0x488202
mov esi, dword [esp + 0x44]
push esi
call fcn.004de1a0
add esp, 4
jmp 0x48892b
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, edi
mov byte [esp + 0x208], 3
je 0x488248
mov ecx, esi
call fcn.004be2e0
add esi, 4
cmp esi, edi
jne 0x488236
mov esi, dword [esp + 0x18]
push esi
call fcn.004de1a0
mov eax, dword [esp + 0x5c]
add esp, 4
cmp eax, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
je 0x488282
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x488279
cmp al, 0xff
je 0x488279
dec al
mov byte [ecx], al
jmp 0x488282
push ecx
call fcn.004de1a0
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov byte [esp + 0x208], 1
call fcn.004be2e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x208], bl
call fcn.004be2e0
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
cmp esi, eax
mov dword [esp + 0x208], 0xffffffff
mov edi, eax
je 0x4882da
mov ecx, esi
call fcn.00404da0
add esi, 0x1c
cmp esi, edi
jne 0x4882c8
mov esi, dword [esp + 0x44]
push esi
call fcn.004de1a0
add esp, 4
jmp 0x48892b
movsx cx, byte [0x512620]
mov al, byte [ebp + 0x2f]
push ecx
push 0x512621
lea ecx, [esp + 0x18]
mov byte [0x512622], al
call fcn.004be740
lea edx, [esp + 0x2c]
lea eax, [esp + 0x10]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.004be1b0
mov ecx, ebp
call fcn.00480fe0
cmp ax, bx
jg 0x488438
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push 6
push 0x50f76c
call fcn.004be240
push ecx
mov byte [esp + 0x218], 0x2e
mov ecx, esp
mov dword [esp + 0x78], esp
push 6
push 0x50f970
call fcn.004be240
mov ecx, 0x5200a8
mov byte [esp + 0x218], 4
call fcn.004caf10
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, eax
mov byte [esp + 0x208], 3
mov edi, eax
je 0x488398
mov ecx, esi
call fcn.004be2e0
add esi, 4
cmp esi, edi
jne 0x488386
mov esi, dword [esp + 0x18]
push esi
call fcn.004de1a0
mov eax, dword [esp + 0x5c]
add esp, 4
cmp eax, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
je 0x4883d2
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4883c9
cmp al, 0xff
je 0x4883c9
dec al
mov byte [ecx], al
jmp 0x4883d2
push ecx
call fcn.004de1a0
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov byte [esp + 0x208], 1
call fcn.004be2e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x208], bl
call fcn.004be2e0
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
cmp esi, eax
mov dword [esp + 0x208], 0xffffffff
mov edi, eax
je 0x48842a
mov ecx, esi
call fcn.00404da0
add esi, 0x1c
cmp esi, edi
jne 0x488418
mov esi, dword [esp + 0x44]
push esi
call fcn.004de1a0
add esp, 4
jmp 0x48892b
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, edi
mov byte [esp + 0x208], 3
je 0x48845e
mov ecx, esi
call fcn.004be2e0
add esi, 4
cmp esi, edi
jne 0x48844c
mov esi, dword [esp + 0x18]
push esi
call fcn.004de1a0
mov eax, dword [esp + 0x5c]
add esp, 4
cmp eax, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
je 0x488498
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x48848f
cmp al, 0xff
je 0x48848f
dec al
mov byte [ecx], al
jmp 0x488498
push ecx
call fcn.004de1a0
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov byte [esp + 0x208], 1
call fcn.004be2e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x208], bl
call fcn.004be2e0
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
cmp esi, eax
mov dword [esp + 0x208], 0xffffffff
mov edi, eax
je 0x4884f0
mov ecx, esi
call fcn.00404da0
add esi, 0x1c
cmp esi, edi
jne 0x4884de
mov esi, dword [esp + 0x44]
push esi
call fcn.004de1a0
add esp, 4
jmp 0x48892b
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push 6
push 0x50f76c
call fcn.004be240
push ecx
mov byte [esp + 0x218], 0x35
mov ecx, esp
mov dword [esp + 0x78], esp
push 6
push 0x50f970
call fcn.004be240
mov ecx, 0x5200a8
mov byte [esp + 0x218], 4
call fcn.004caf10
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, eax
mov byte [esp + 0x208], 3
mov edi, eax
je 0x488569
mov ecx, esi
call fcn.004be2e0
add esi, 4
cmp esi, edi
jne 0x488557
mov esi, dword [esp + 0x18]
push esi
call fcn.004de1a0
mov eax, dword [esp + 0x5c]
add esp, 4
cmp eax, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
je 0x4885a3
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x48859a
cmp al, 0xff
je 0x48859a
dec al
mov byte [ecx], al
jmp 0x4885a3
push ecx
call fcn.004de1a0
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov byte [esp + 0x208], 1
call fcn.004be2e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x208], bl
call fcn.004be2e0
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
or ebp, 0xffffffff
cmp esi, edi
mov dword [esp + 0x208], ebp
mov dword [esp + 0x34], esi
je 0x48862e
mov bl, 0x36
push 1
lea ecx, [esi + 0xc]
mov dword [esp + 0x20c], 0x37
call fcn.00414090
lea ecx, [esi + 8]
mov byte [esp + 0x208], bl
call fcn.004be2e0
lea ecx, [esi + 4]
mov dword [esp + 0x208], ebp
call fcn.004be2e0
add esi, 0x1c
cmp esi, edi
mov dword [esp + 0x34], esi
jne 0x4885ec
mov esi, dword [esp + 0x44]
push esi
call fcn.004de1a0
add esp, 4
jmp 0x48892b
movsx dx, byte [0x512620]
mov cl, byte [ebp + 0x2f]
push edx
mov byte [0x512622], cl
push 0x512621
lea ecx, [esp + 0x18]
call fcn.004be740
lea eax, [esp + 0x2c]
lea edx, [esp + 0x10]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call fcn.004be1b0
mov ecx, ebp
call fcn.00480fe0
cmp ax, bx
jg 0x4887c6
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push 6
push 0x50f76c
call fcn.004be240
push ecx
mov byte [esp + 0x218], 0x38
mov ecx, esp
mov dword [esp + 0x78], esp
push 6
push 0x50f970
call fcn.004be240
mov ecx, 0x5200a8
mov byte [esp + 0x218], 4
call fcn.004caf10
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, eax
mov byte [esp + 0x208], 3
mov edi, eax
je 0x4886ed
mov ecx, esi
call fcn.004be2e0
add esi, 4
cmp esi, edi
jne 0x4886db
mov esi, dword [esp + 0x18]
push esi
call fcn.004de1a0
mov eax, dword [esp + 0x5c]
add esp, 4
cmp eax, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
je 0x488727
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x48871e
cmp al, 0xff
je 0x48871e
dec al
mov byte [ecx], al
jmp 0x488727
push ecx
call fcn.004de1a0
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov byte [esp + 0x208], 1
call fcn.004be2e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x208], bl
call fcn.004be2e0
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
cmp esi, edi
mov dword [esp + 0x208], 0xffffffff
mov dword [esp + 0x34], esi
je 0x4887b8
mov ebp, 0x3a
mov bl, 0x39
push 1
lea ecx, [esi + 0xc]
mov dword [esp + 0x20c], ebp
call fcn.00414090
lea ecx, [esi + 8]
mov byte [esp + 0x208], bl
call fcn.004be2e0
lea ecx, [esi + 4]
mov dword [esp + 0x208], 0xffffffff
call fcn.004be2e0
add esi, 0x1c
cmp esi, edi
mov dword [esp + 0x34], esi
jne 0x488776
mov esi, dword [esp + 0x44]
push esi
call fcn.004de1a0
add esp, 4
jmp 0x48892b
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, edi
mov byte [esp + 0x208], 3
je 0x4887ed
push ebx
mov ecx, esi
call fcn.004159d0
add esi, 4
cmp esi, edi
jne 0x4887da
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x14]
sub eax, esi
sar eax, 2
push eax
push esi
call fcn.0048c5f0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
jmp 0x4888ed
mov eax, dword [esp + 0x6c]
mov cl, byte [ebp + 0x2f]
mov edx, eax
mov byte [0x512615], al
movsx ax, byte [0x51260c]
mov byte [0x51260e], cl
push eax
sar edx, 8
push 0x51260d
lea ecx, [esp + 0x18]
mov byte [0x512614], dl
call fcn.004be740
lea ecx, [esp + 0x14]
call fcn.0048c330
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call fcn.004be1b0
mov ecx, ebp
call fcn.00480db0
push ebx
push 1
push ecx
cmp ax, bx
mov ecx, esp
jg 0x48889f
mov dword [esp + 0x48], esp
push 6
push 0x50f76c
call fcn.004be240
push ecx
mov byte [esp + 0x218], 0x3b
mov ecx, esp
mov dword [esp + 0x78], esp
push 6
push 0x50f970
jmp 0x4888c5
mov dword [esp + 0x48], esp
push 6
push 0x50f634
call fcn.004be240
push ecx
mov byte [esp + 0x218], 0x3c
mov ecx, esp
mov dword [esp + 0x78], esp
push 6
push 0x50fae4
call fcn.004be240
mov ecx, 0x5200a8
mov byte [esp + 0x218], 4
call fcn.004caf10
lea ecx, [esp + 0x14]
mov byte [esp + 0x208], 3
call fcn.00413d10
lea ecx, [esp + 0x50]
call fcn.00405e60
lea ecx, [esp + 0x2c]
mov byte [esp + 0x208], 1
call fcn.004be2e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x208], bl
call fcn.004be2e0
lea ecx, [esp + 0x40]
mov dword [esp + 0x208], 0xffffffff
call fcn.00413d60
mov ax, 1
mov ecx, dword [esp + 0x200]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1fc
ret