Function at 0x40c040
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x4e7f60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x3c]
call fcn.004be970
xor ebx, ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x88], ebx
call fcn.004be970
mov al, byte [esp + 0x13]
mov edi, str.PIN:
mov byte [esp + 0x60], al
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x88], 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x64], ebx
push ecx
push str.PIN:
lea ecx, [esp + 0x68]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
call fcn.004120b0
push 0xa
push 0x50fc30
lea ecx, [esp + 0x24]
mov byte [esp + 0x90], 2
mov dword [esp + 0x48], 1
mov dword [esp + 0x4c], 5
mov dword [esp + 0x50], 6
mov dword [esp + 0x54], 7
call fcn.004bea10
push 0xb
push 0x50fc24
lea ecx, [esp + 0x20]
mov byte [esp + 0x90], 3
call fcn.004bea10
push 7
push 0x50fc1c
lea ecx, [esp + 0x40]
mov byte [esp + 0x90], 4
call fcn.004bea10
push 7
push 0x50fc14
lea ecx, [esp + 0x3c]
mov byte [esp + 0x90], 5
call fcn.004bea10
push 7
push 0x50fc0c
lea ecx, [esp + 0x38]
mov byte [esp + 0x90], 6
call fcn.004bea10
push 7
push 0x50fc04
lea ecx, [esp + 0x34]
mov byte [esp + 0x90], 7
call fcn.004bea10
push 7
push 0x50fbfc
lea ecx, [esp + 0x30]
mov byte [esp + 0x90], 8
call fcn.004bea10
push 5
push 0x50fbf4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x90], 9
call fcn.004bea10
push 4
push 0x50f60c
lea ecx, [esp + 0x28]
mov byte [esp + 0x90], 0xa
call fcn.004bea10
push ebx
push 4
push ecx
mov byte [esp + 0x94], 0xb
mov ecx, esp
mov dword [esp + 0x5c], esp
push 6
push 0x50f634
call fcn.004bea10
push ecx
mov byte [esp + 0x98], 0xc
mov ecx, esp
mov dword [esp + 0x64], esp
push 6
push 0x50fbb8
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x98], 0xb
call fcn.004cb760
cmp ax, 4
jne 0x40c2d6
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
lea ecx, [esp + 0x20]
mov byte [esp + 0x88], 0xa
call fcn.004beab0
lea ecx, [esp + 0x24]
mov byte [esp + 0x88], 9
call fcn.004beab0
lea ecx, [esp + 0x28]
mov byte [esp + 0x88], 8
call fcn.004beab0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x88], 7
call fcn.004beab0
lea ecx, [esp + 0x30]
mov byte [esp + 0x88], 6
call fcn.004beab0
lea ecx, [esp + 0x34]
mov byte [esp + 0x88], 5
call fcn.004beab0
lea ecx, [esp + 0x38]
mov byte [esp + 0x88], 4
call fcn.004beab0
lea ecx, [esp + 0x18]
mov byte [esp + 0x88], 3
call fcn.004beab0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x88], 2
call fcn.004beab0
mov eax, dword [esp + 0x64]
cmp eax, ebx
je 0x40c2c5
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40c2bc
cmp al, 0xff
je 0x40c2bc
dec al
mov byte [ecx], al
jmp 0x40c2c5
push ecx
call fcn.004deb10
add esp, 4
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
jmp 0x40d006
push ebx
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push 6
push 0x50f634
call fcn.004bea10
push ecx
mov byte [esp + 0x98], 0xd
mov ecx, esp
mov dword [esp + 0x60], esp
push 6
push 0x50fb6c
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x98], 0xb
call fcn.004cb760
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x40c47e
mov ecx, dword [esi + 0xc]
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 3
jb 0x40c47e
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x34]
lea edi, [eax + 0x2c]
cmp ecx, 1
jb 0x40c37c
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x40c37c
mov al, byte [eax - 1]
test al, al
je 0x40c36b
cmp al, 0xff
je 0x40c36b
push ebx
push ecx
mov ecx, edi
call fcn.00412290
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x40c376
mov byte [eax - 1], 0xff
mov edi, dword [edi + 4]
inc edi
jmp 0x40c381
mov edi, 0x4f7480
mov cl, byte [edi]
mov edi, dword [esi + 8]
and cl, 0xf
add edi, 0x2c
movsx dx, cl
mov eax, dword [edi + 8]
mov word [esp + 0x40], dx
cmp eax, 2
jb 0x40c3cc
mov ecx, dword [edi + 4]
cmp ecx, ebx
je 0x40c3cc
mov cl, byte [ecx - 1]
test cl, cl
je 0x40c3b9
cmp cl, 0xff
je 0x40c3b9
push ebx
push eax
mov ecx, edi
call fcn.00412290
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x40c3c4
mov byte [eax - 1], 0xff
mov edi, dword [edi + 4]
add edi, 2
jmp 0x40c3d1
mov edi, 0x4f7480
mov al, byte [edi]
mov edi, dword [esi + 8]
and al, 0xf
add edi, 0x2c
movsx cx, al
mov eax, dword [edi + 8]
mov word [esp + 0x44], cx
cmp eax, 3
jb 0x40c41b
mov ecx, dword [edi + 4]
cmp ecx, ebx
je 0x40c41b
mov cl, byte [ecx - 1]
test cl, cl
je 0x40c408
cmp cl, 0xff
je 0x40c408
push ebx
push eax
mov ecx, edi
call fcn.00412290
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x40c413
mov byte [eax - 1], 0xff
mov edi, dword [edi + 4]
add edi, 3
jmp 0x40c420
mov edi, 0x4f7480
mov dl, byte [edi]
mov esi, dword [esi + 8]
and dl, 0xf
add esi, 0x2c
movsx ax, dl
mov word [esp + 0x48], ax
mov eax, dword [esi + 8]
cmp eax, 4
jb 0x40c46b
mov ecx, dword [esi + 4]
cmp ecx, ebx
je 0x40c46b
mov cl, byte [ecx - 1]
test cl, cl
je 0x40c458
cmp cl, 0xff
je 0x40c458
push ebx
push eax
mov ecx, esi
call fcn.00412290
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x40c463
mov byte [eax - 1], 0xff
mov esi, dword [esi + 4]
add esi, 4
jmp 0x40c470
mov esi, 0x4f7480
mov cl, byte [esi]
and cl, 0xf
movsx dx, cl
mov word [esp + 0x4c], dx
mov bl, byte [esp + 0x40]
mov al, byte [esp + 0x48]
mov cl, byte [esp + 0x44]
add bl, al
mov al, byte [esp + 0x4c]
shl bl, 4
add al, cl
lea ecx, [esp + 0x1c]
or bl, al
push ebx
push 8
call fcn.004bedb0
mov cl, byte [esp + 0x40]
mov al, byte [esp + 0x48]
mov dl, byte [esp + 0x4c]
xor cl, al
mov al, byte [esp + 0x44]
shl cl, 4
xor dl, al
or cl, dl
push ecx
push 6
lea ecx, [esp + 0x20]
call fcn.004bedb0
mov eax, dword [esp + 0x40]
mov dl, byte [esp + 0x44]
shl al, 4
or al, dl
lea ecx, [esp + 0x18]
push eax
push 7
call fcn.004bedb0
push ebx
push 8
lea ecx, [esp + 0x20]
call fcn.004bedb0
mov eax, dword [esp + 0x48]
mov dl, byte [esp + 0x4c]
shl al, 4
or al, dl
lea ecx, [esp + 0x18]
push eax
push 9
call fcn.004bedb0
lea eax, [esp + 0x14]
lea edx, [esp + 0x1c]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
call fcn.004be980
call fcn.0047c9f0
xor ebp, ebp
add esp, 8
cmp ax, bp
jle 0x40cef9
lea eax, [esp + 0x14]
lea edx, [esp + 0x18]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
call fcn.004be980
call fcn.0047c9f0
add esp, 8
cmp ax, bp
jle 0x40cef9
lea eax, [esp + 0x14]
lea edx, [esp + 0x38]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
call fcn.004be980
call fcn.0047c9f0
add esp, 8
cmp ax, bp
jle 0x40cef9
lea ecx, [esp + 0x14]
call fcn.004bee30
cmp ax, 6
jge 0x40ca94
lea eax, [esp + 0x14]
lea edx, [esp + 0x34]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
call fcn.004be980
call fcn.0047c9f0
add esp, 8
cmp ax, bp
jg 0x40c6be
push ebp
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push 6
push 0x50f76c
call fcn.004bea10
push ecx
mov byte [esp + 0x98], 0xf
mov ecx, esp
mov dword [esp + 0x60], esp
push 6
push 0x50f978
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x98], 0xb
call fcn.004cb760
lea ecx, [esp + 0x20]
mov byte [esp + 0x88], 0xa
call fcn.004beab0
lea ecx, [esp + 0x24]
mov byte [esp + 0x88], 9
call fcn.004beab0
lea ecx, [esp + 0x28]
mov byte [esp + 0x88], 8
call fcn.004beab0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x88], 7
call fcn.004beab0
lea ecx, [esp + 0x30]
mov byte [esp + 0x88], 6
call fcn.004beab0
lea ecx, [esp + 0x34]
mov byte [esp + 0x88], 5
call fcn.004beab0
lea ecx, [esp + 0x38]
mov byte [esp + 0x88], 4
call fcn.004beab0
lea ecx, [esp + 0x18]
mov byte [esp + 0x88], 3
call fcn.004beab0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x88], 2
call fcn.004beab0
mov eax, dword [esp + 0x64]
cmp eax, ebp
je 0x40cffa
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40cff1
cmp al, 0xff
je 0x40cff1
dec al
mov byte [ecx], al
jmp 0x40cffa
lea ecx, [esp + 0x14]
call fcn.004bee30
cmp ax, 6
jge 0x40ca94
lea eax, [esp + 0x14]
lea edx, [esp + 0x30]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
call fcn.004be980
call fcn.0047c9f0
add esp, 8
cmp ax, bp
jg 0x40c7ff
push ebp
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push 6
push 0x50f76c
call fcn.004bea10
push ecx
mov byte [esp + 0x98], 0x10
mov ecx, esp
mov dword [esp + 0x60], esp
push 6
push 0x50f978
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x98], 0xb
call fcn.004cb760
lea ecx, [esp + 0x20]
mov byte [esp + 0x88], 0xa
call fcn.004beab0
lea ecx, [esp + 0x24]
mov byte [esp + 0x88], 9
call fcn.004beab0
lea ecx, [esp + 0x28]
mov byte [esp + 0x88], 8
call fcn.004beab0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x88], 7
call fcn.004beab0
lea ecx, [esp + 0x30]
mov byte [esp + 0x88], 6
call fcn.004beab0
lea ecx, [esp + 0x34]
mov byte [esp + 0x88], 5
call fcn.004beab0
lea ecx, [esp + 0x38]
mov byte [esp + 0x88], 4
call fcn.004beab0
lea ecx, [esp + 0x18]
mov byte [esp + 0x88], 3
call fcn.004beab0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x88], 2
call fcn.004beab0
mov eax, dword [esp + 0x64]
cmp eax, ebp
je 0x40cffa
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40cff1
cmp al, 0xff
je 0x40cff1
dec al
mov byte [ecx], al
jmp 0x40cffa
lea ecx, [esp + 0x14]
call fcn.004bee30
cmp ax, 6
jge 0x40ca94
lea eax, [esp + 0x14]
lea edx, [esp + 0x2c]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
call fcn.004be980
call fcn.0047c9f0
add esp, 8
cmp ax, bp
jg 0x40c940
push ebp
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push 6
push 0x50f76c
call fcn.004bea10
push ecx
mov byte [esp + 0x98], 0x11
mov ecx, esp
mov dword [esp + 0x60], esp
push 6
push 0x50f978
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x98], 0xb
call fcn.004cb760
lea ecx, [esp + 0x20]
mov byte [esp + 0x88], 0xa
call fcn.004beab0
lea ecx, [esp + 0x24]
mov byte [esp + 0x88], 9
call fcn.004beab0
lea ecx, [esp + 0x28]
mov byte [esp + 0x88], 8
call fcn.004beab0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x88], 7
call fcn.004beab0
lea ecx, [esp + 0x30]
mov byte [esp + 0x88], 6
call fcn.004beab0
lea ecx, [esp + 0x34]
mov byte [esp + 0x88], 5
call fcn.004beab0
lea ecx, [esp + 0x38]
mov byte [esp + 0x88], 4
call fcn.004beab0
lea ecx, [esp + 0x18]
mov byte [esp + 0x88], 3
call fcn.004beab0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x88], 2
call fcn.004beab0
mov eax, dword [esp + 0x64]
cmp eax, ebp
je 0x40cffa
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40cff1
cmp al, 0xff
je 0x40cff1
dec al
mov byte [ecx], al
jmp 0x40cffa
lea ecx, [esp + 0x14]
call fcn.004bee30
cmp ax, 6
jge 0x40ca94
lea eax, [esp + 0x14]
lea edx, [esp + 0x28]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
call fcn.004be980
call fcn.0047c9f0
add esp, 8
cmp ax, bp
jg 0x40ca81
push ebp
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push 6
push 0x50f76c
call fcn.004bea10
push ecx
mov byte [esp + 0x98], 0x12
mov ecx, esp
mov dword [esp + 0x60], esp
push 6
push 0x50f978
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x98], 0xb
call fcn.004cb760
lea ecx, [esp + 0x20]
mov byte [esp + 0x88], 0xa
call fcn.004beab0
lea ecx, [esp + 0x24]
mov byte [esp + 0x88], 9
call fcn.004beab0
lea ecx, [esp + 0x28]
mov byte [esp + 0x88], 8
call fcn.004beab0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x88], 7
call fcn.004beab0
lea ecx, [esp + 0x30]
mov byte [esp + 0x88], 6
call fcn.004beab0
lea ecx, [esp + 0x34]
mov byte [esp + 0x88], 5
call fcn.004beab0
lea ecx, [esp + 0x38]
mov byte [esp + 0x88], 4
call fcn.004beab0
lea ecx, [esp + 0x18]
mov byte [esp + 0x88], 3
call fcn.004beab0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x88], 2
call fcn.004beab0
mov eax, dword [esp + 0x64]
cmp eax, ebp
je 0x40cffa
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40cff1
cmp al, 0xff
je 0x40cff1
dec al
mov byte [ecx], al
jmp 0x40cffa
lea ecx, [esp + 0x14]
call fcn.004bee30
cmp ax, 6
jl 0x40cd6f
push 3
lea ecx, [esp + 0x18]
call fcn.004bec90
xor ebx, ebx
push 4
lea ecx, [esp + 0x18]
mov bh, al
call fcn.004bec90
mov bl, al
lea eax, [esp + 0x58]
push ebx
push str._.5d
push eax
call fcn.004df246
lea edi, [esp + 0x64]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x68]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [0x4f73d0]
sub ecx, edx
cmp ecx, esi
ja 0x40cae8
call fcn.004deb1b
cmp esi, ebp
jbe 0x40cb80
mov edx, dword [esp + 0x68]
lea ecx, [esp + 0x60]
lea ebx, [edx + esi]
call fcn.00412e50
cmp eax, ebx
jae 0x40cb09
call fcn.004deb1b
mov ecx, dword [esp + 0x64]
cmp ecx, ebp
je 0x40cb31
mov al, byte [ecx - 1]
test al, al
je 0x40cb31
cmp al, 0xff
je 0x40cb31
cmp ebx, ebp
jne 0x40cb4b
dec al
push ebp
mov byte [ecx - 1], al
lea ecx, [esp + 0x64]
call fcn.00411e90
jmp 0x40cb80
cmp ebx, ebp
jne 0x40cb45
cmp ecx, ebp
je 0x40cb80
push ebp
lea ecx, [esp + 0x64]
call fcn.00412270
jmp 0x40cb80
cmp dword [esp + 0x6c], ebx
jae 0x40cb59
push ebx
lea ecx, [esp + 0x64]
call fcn.00412e60
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
lea edi, [eax + ecx]
mov ecx, esi
mov edx, ecx
lea esi, [esp + 0x58]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x68], ebx
mov byte [eax + ebx], 0
mov edi, 0x50fbe8
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x68]
repne scasb al, byte es:[edi]
mov eax, dword [0x4f73d0]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x40cba5
call fcn.004deb1b
cmp esi, ebp
jbe 0x40cc3e
mov ecx, dword [esp + 0x68]
lea ebx, [ecx + esi]
lea ecx, [esp + 0x60]
call fcn.00412e50
cmp eax, ebx
jae 0x40cbc6
call fcn.004deb1b
mov ecx, dword [esp + 0x64]
cmp ecx, ebp
je 0x40cbee
mov al, byte [ecx - 1]
test al, al
je 0x40cbee
cmp al, 0xff
je 0x40cbee
cmp ebx, ebp
jne 0x40cc08
dec al
push ebp
mov byte [ecx - 1], al
lea ecx, [esp + 0x64]
call fcn.00411e90
jmp 0x40cc3e
cmp ebx, ebp
jne 0x40cc02
cmp ecx, ebp
je 0x40cc3e
push ebp
lea ecx, [esp + 0x64]
call fcn.00412270
jmp 0x40cc3e
cmp dword [esp + 0x6c], ebx
jae 0x40cc16
push ebx
lea ecx, [esp + 0x64]
call fcn.00412e60
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
lea edi, [edx + ecx]
mov ecx, esi
mov eax, ecx
mov esi, 0x50fbe8
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 + 0x64]
mov dword [esp + 0x68], ebx
mov byte [ecx + ebx], 0
push ecx
mov ecx, esp
mov dword [esp + 0x58], esp
push 6
push 0x50fbe0
call fcn.004bea10
lea edx, [esp + 0x74]
push edx
call fcn.004d0560
add esp, 8
mov esi, eax
mov eax, dword [0x4f73d0]
mov ecx, dword [esi + 8]
mov ebx, eax
mov byte [esp + 0x88], 0x13
cmp ecx, ebx
jae 0x40cc78
mov ebx, ecx
sub eax, dword [esp + 0x68]
cmp eax, ebx
ja 0x40cc85
call fcn.004deb1b
cmp ebx, ebp
jbe 0x40ccd4
mov eax, dword [esp + 0x68]
xor edi, edi
push edi
lea ecx, [esp + 0x64]
lea ebp, [eax + ebx]
push ebp
call fcn.00412290
test al, al
je 0x40ccd6
mov esi, dword [esi + 4]
cmp esi, edi
jne 0x40ccad
mov esi, 0x4f7480
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
lea edi, [edx + ecx]
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 + 0x64]
mov dword [esp + 0x68], ebp
mov byte [ecx + ebp], 0
xor edi, edi
mov eax, dword [esp + 0x74]
mov byte [esp + 0x88], 0xb
cmp eax, edi
je 0x40cd03
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40ccfa
cmp al, 0xff
je 0x40ccfa
dec al
mov byte [ecx], al
jmp 0x40cd03
push ecx
call fcn.004deb10
add esp, 4
push edi
push 1
sub esp, 0x10
mov dword [esp + 0x8c], edi
mov esi, esp
mov dword [esp + 0x6c], esp
push ecx
mov dword [esp + 0x94], edi
mov ecx, esp
mov dword [esp + 0x6c], esp
push 6
push 0x50f634
mov dword [esp + 0xa0], edi
call fcn.004bea10
push esi
call fcn.004d0560
sub esp, 8
lea edx, [esp + 0x88]
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
mov byte [esp + 0xb4], 0x14
call fcn.004118e0
mov ecx, 0x520200
mov byte [esp + 0xb0], 0xb
call fcn.004cb6b0
jmp 0x40cdb4
push ebp
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push 6
push 0x50f634
call fcn.004bea10
push ecx
mov byte [esp + 0x98], 0x15
mov ecx, esp
mov dword [esp + 0x60], esp
push 6
push 0x50fbd8
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x98], 0xb
call fcn.004cb760
xor edi, edi
lea eax, [esp + 0x14]
lea edx, [esp + 0x24]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
call fcn.004be980
call fcn.0047c9f0
add esp, 8
lea eax, [esp + 0x14]
lea edx, [esp + 0x20]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
call fcn.004be980
call fcn.0047c9f0
add esp, 8
lea ecx, [esp + 0x20]
mov byte [esp + 0x88], 0xa
call fcn.004beab0
lea ecx, [esp + 0x24]
mov byte [esp + 0x88], 9
call fcn.004beab0
lea ecx, [esp + 0x28]
mov byte [esp + 0x88], 8
call fcn.004beab0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x88], 7
call fcn.004beab0
lea ecx, [esp + 0x30]
mov byte [esp + 0x88], 6
call fcn.004beab0
lea ecx, [esp + 0x34]
mov byte [esp + 0x88], 5
call fcn.004beab0
lea ecx, [esp + 0x38]
mov byte [esp + 0x88], 4
call fcn.004beab0
lea ecx, [esp + 0x18]
mov byte [esp + 0x88], 3
call fcn.004beab0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x88], 2
call fcn.004beab0
mov eax, dword [esp + 0x64]
cmp eax, edi
je 0x40ceae
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40cea5
cmp al, 0xff
je 0x40cea5
dec al
mov byte [ecx], al
jmp 0x40ceae
push ecx
call fcn.004deb10
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov byte [esp + 0x88], 0
call fcn.004beab0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x88], 0xffffffff
call fcn.004beab0
mov ax, 1
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
push ebp
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push 6
push 0x50f76c
call fcn.004bea10
push ecx
mov byte [esp + 0x98], 0xe
mov ecx, esp
mov dword [esp + 0x60], esp
push 6
push 0x50f978
call fcn.004bea10
mov ecx, 0x520200
mov byte [esp + 0x98], 0xb
call fcn.004cb760
lea ecx, [esp + 0x20]
mov byte [esp + 0x88], 0xa
call fcn.004beab0
lea ecx, [esp + 0x24]
mov byte [esp + 0x88], 9
call fcn.004beab0
lea ecx, [esp + 0x28]
mov byte [esp + 0x88], 8
call fcn.004beab0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x88], 7
call fcn.004beab0
lea ecx, [esp + 0x30]
mov byte [esp + 0x88], 6
call fcn.004beab0
lea ecx, [esp + 0x34]
mov byte [esp + 0x88], 5
call fcn.004beab0
lea ecx, [esp + 0x38]
mov byte [esp + 0x88], 4
call fcn.004beab0
lea ecx, [esp + 0x18]
mov byte [esp + 0x88], 3
call fcn.004beab0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x88], 2
call fcn.004beab0
mov eax, dword [esp + 0x64]
cmp eax, ebp
je 0x40cffa
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40cff1
cmp al, 0xff
je 0x40cff1
dec al
mov byte [ecx], al
jmp 0x40cffa
push ecx
call fcn.004deb10
add esp, 4
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebp
lea ecx, [esp + 0x14]
mov byte [esp + 0x88], 0
call fcn.004beab0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x88], 0xffffffff
call fcn.004beab0
mov ecx, dword [esp + 0x80]
pop edi
pop esi
pop ebp
or ax, 0xffff
mov dword fs:[0], ecx
pop ebx
add esp, 0x7c
ret