Function at 0x45e3e0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4b8176
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebx
mov ebx, dword [esp + 0x98]
push ebp
push esi
push edi
xor esi, esi
mov ebp, 0x1f4
push 0x25
mov dword [esp + 0x34], ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x3c], esi
call fcn.004aa6ea
add esp, 4
mov dword [esp + 0x3c], eax
cmp eax, esi
mov dword [esp + 0x98], esi
je 0x45e457
mov ecx, eax
call fcn.0043e0d0
jmp 0x45e459
xor eax, eax
mov edi, eax
cmp eax, esi
mov dword [esp + 0x98], 0xffffffff
mov dword [esp + 0x34], edi
jne 0x45e475
xor eax, eax
jmp 0x45f0ce
mov ecx, dword [esp + 0xa0]
push 0x1f4
push eax
lea eax, [esp + 0x18]
push eax
push ebx
push ecx
call fcn.0045e150
mov esi, eax
mov eax, dword [esp + 0xb4]
add esp, 0x14
neg esi
sbb esi, esi
neg esi
dec esi
test eax, eax
jne 0x45e4af
mov edx, dword [esp + 0x10]
add edx, ebx
mov dword [esp + 0x30], edx
mov dl, byte [esp + 0x42]
mov bl, byte [esp + 0x41]
mov cl, byte [esp + 0x40]
test esi, esi
jle 0x45ec70
cmp dword [esp + 0x10], 4
jle 0x45e585
mov al, byte [esp + esi + 0x3f]
cmp al, 0xd
jne 0x45e4fb
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0xa4]
cmp byte [edi + ebp - 2], 0x29
jne 0x45e4f3
cmp byte [edi + ebp - 3], 0x7e
je 0x45e577
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x34]
cmp al, 0xa
jne 0x45e520
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0xa4]
cmp byte [edi + ebp - 3], 0x29
jne 0x45e518
cmp byte [edi + ebp - 4], 0x7e
je 0x45e577
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x34]
cmp al, 0x18
je 0x45e55c
cmp al, 0xd
jne 0x45e542
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0xa4]
cmp byte [edi + ebp - 2], 0x18
je 0x45e577
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x34]
cmp al, 0xa
jne 0x45e585
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0xa4]
cmp byte [eax + ebp - 3], 0x18
jne 0x45e581
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x38], 0
test eax, eax
je 0x45e571
dec eax
mov dword [esp + 0x20], eax
dec esi
jmp 0x45efcd
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x34]
jmp 0x45e55c
mov ebp, dword [esp + 0x14]
cmp esi, 1
jne 0x45e5bc
cmp cl, 0x7e
je 0x45efcd
cmp cl, 0xd
je 0x45efcd
cmp cl, 0x5b
je 0x45efcd
cmp cl, 0x40
je 0x45efcd
cmp cl, 0x80
jbe 0x45ec75
jmp 0x45efcd
cmp esi, 2
jne 0x45e826
movsx eax, word [esp + 0x40]
cmp eax, 0x587e
jg 0x45e702
je 0x45e7e0
cmp eax, 0x487e
jg 0x45e6dc
je 0x45e73e
cmp eax, 0x297e
jg 0x45e6c2
je 0x45e62d
cmp eax, 0xa0d
je 0x45ed3b
cmp eax, 0x247e
jne 0x45e7c3
mov eax, dword [esp + 0x24]
xor ecx, ecx
test eax, eax
sete cl
mov byte [esp + 0x40], 0x1b
mov byte [esp + 0x41], 0x24
mov dword [esp + 0x24], ecx
jmp 0x45ecd7
mov edx, dword [esp + 0x1c]
mov ecx, 1
xor eax, eax
xor esi, esi
cmp edx, ecx
jne 0x45e651
mov byte [esp + 0x40], 0x1b
mov byte [esp + 0x41], 0x49
mov esi, 2
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x28], ecx
jne 0x45e667
mov byte [esp + esi + 0x40], 0x1b
inc esi
mov dword [esp + 0x28], eax
mov byte [esp + esi + 0x40], 0x56
inc esi
cmp dword [esp + 0x24], ecx
jne 0x45e67d
mov byte [esp + esi + 0x40], 0x1b
inc esi
mov dword [esp + 0x24], eax
mov byte [esp + esi + 0x40], 0x24
inc esi
cmp dword [esp + 0x2c], ecx
jne 0x45e693
mov byte [esp + esi + 0x40], 0x1b
inc esi
mov dword [esp + 0x2c], eax
mov byte [esp + esi + 0x40], 0x48
inc esi
cmp dword [esp + 0x18], ecx
jne 0x45e6a9
mov byte [esp + esi + 0x40], 0x1b
inc esi
mov dword [esp + 0x18], eax
mov byte [esp + esi + 0x40], 0x50
inc esi
mov byte [esp + esi + 0x40], 0xd
inc esi
mov byte [esp + esi + 0x40], 0xa
mov dl, byte [esp + 0x42]
mov bl, byte [esp + 0x41]
inc esi
jmp 0x45ec70
cmp eax, 0x4040
jne 0x45e7c3
mov esi, 1
mov byte [esp + 0x40], 0x40
jmp 0x45ec75
cmp eax, 0x497e
je 0x45e768
cmp eax, 0x507e
je 0x45e78b
cmp eax, 0x567e
je 0x45e803
jmp 0x45e7c3
cmp eax, 0x707e
jg 0x45e7ae
je 0x45e78b
cmp eax, 0x687e
jg 0x45e761
je 0x45e73e
cmp eax, 0x5b5b
je 0x45e72f
cmp eax, 0x5c7e
jne 0x45e7c3
jmp 0x45ed3b
mov esi, 1
mov byte [esp + 0x40], 0x5b
jmp 0x45ec75
mov eax, dword [esp + 0x2c]
xor edx, edx
test eax, eax
sete dl
mov esi, 2
mov byte [esp + 0x40], 0x1b
mov byte [esp + 0x41], 0x48
mov dword [esp + 0x2c], edx
jmp 0x45ecd7
cmp eax, 0x697e
jne 0x45e7c3
mov ecx, dword [esp + 0x1c]
xor eax, eax
test ecx, ecx
sete al
mov esi, 2
mov byte [esp + 0x40], 0x1b
mov byte [esp + 0x41], 0x49
mov dword [esp + 0x1c], eax
jmp 0x45ecd7
mov eax, dword [esp + 0x18]
xor ecx, ecx
test eax, eax
sete cl
mov esi, 2
mov byte [esp + 0x40], 0x1b
mov byte [esp + 0x41], 0x50
mov dword [esp + 0x18], ecx
jmp 0x45ecd7
cmp eax, 0x767e
je 0x45e803
cmp eax, 0x787e
je 0x45e7e0
cmp eax, 0x7e7e
je 0x45e7d1
cmp cl, 0x5b
je 0x45efcd
jmp 0x45ecd7
mov esi, 1
mov byte [esp + 0x40], 0x7e
jmp 0x45ec75
mov eax, dword [esp + 0x18]
xor edx, edx
test eax, eax
sete dl
mov esi, 2
mov byte [esp + 0x40], 0x1b
mov byte [esp + 0x41], 0x58
mov dword [esp + 0x18], edx
jmp 0x45ecd7
mov ecx, dword [esp + 0x28]
xor eax, eax
test ecx, ecx
sete al
mov esi, 2
mov byte [esp + 0x40], 0x1b
mov byte [esp + 0x41], 0x56
mov dword [esp + 0x28], eax
jmp 0x45ecd7
mov cl, byte [esp + esi + 0x3f]
lea eax, [esp + esi + 0x3f]
cmp cl, 0x5d
jne 0x45eb92
cmp bl, 0x46
je 0x45eb6a
cmp bl, 0x66
je 0x45eb6a
cmp bl, 0x53
je 0x45eb42
cmp bl, 0x73
je 0x45eb42
cmp bl, 0x43
je 0x45eb1a
cmp bl, 0x63
je 0x45eb1a
cmp bl, 0x41
je 0x45eaad
cmp bl, 0x61
je 0x45eaad
cmp bl, 0x4c
je 0x45ea4f
cmp bl, 0x6c
je 0x45ea4f
cmp bl, 0x45
je 0x45e963
cmp bl, 0x65
je 0x45e963
cmp bl, 0x48
je 0x45e8e6
cmp bl, 0x68
je 0x45e8e6
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x45e8d4
lea ecx, [esp + 0x41]
mov byte [eax], 0
push ecx
call fcn.00497209
add esp, 4
mov esi, 2
mov word [esp + 0x40], ax
jmp 0x45ecd7
mov byte [esp + esi + 0x40], 0
mov dl, byte [esp + 0x42]
mov bl, byte [esp + 0x41]
jmp 0x45ec70
cmp esi, 7
jne 0x45e95c
mov ecx, 2
mov al, byte [esp + ecx + 0x40]
cmp al, 0x61
jb 0x45e8fc
sub al, 0x27
jmp 0x45e902
cmp al, 0x41
jb 0x45e906
sub al, 7
mov byte [esp + ecx + 0x40], al
mov bl, byte [esp + ecx + 0x40]
add bl, 0xd0
mov byte [esp + ecx + 0x40], bl
inc ecx
cmp ecx, 6
jl 0x45e8f0
mov al, byte [esp + 0x42]
mov bl, byte [esp + 0x43]
mov cl, byte [esp + 0x44]
mov esi, 2
shl al, 4
add al, bl
mov bl, byte [esp + 0x45]
shl cl, 4
add cl, bl
cmp al, 0x80
mov byte [esp + 0x40], al
mov byte [esp + 0x41], cl
jne 0x45ecd7
cmp cl, al
jae 0x45ecd7
mov byte [esp + 0x40], cl
mov esi, 1
jmp 0x45ec75
xor esi, esi
jmp 0x45efcd
cmp dl, 0x55
je 0x45ea31
cmp dl, 0x75
je 0x45ea31
cmp dl, 0x42
je 0x45ea13
cmp dl, 0x62
je 0x45ea13
cmp dl, 0x53
je 0x45e9f5
cmp dl, 0x73
je 0x45e9f5
cmp dl, 0x49
je 0x45e9d7
cmp dl, 0x69
je 0x45e9d7
cmp dl, 0x50
je 0x45e9b9
cmp dl, 0x70
je 0x45e9b9
mov esi, 2
mov byte [esp + 0x40], 0x1b
mov byte [esp + 0x41], 0x45
jmp 0x45ecd7
mov esi, 3
mov byte [esp + 0x40], 0x1b
mov byte [esp + 0x41], 0x80
mov byte [esp + 0x42], 0x50
mov byte [esp + 0x43], 0
jmp 0x45ecd7
mov esi, 3
mov byte [esp + 0x40], 0x1b
mov byte [esp + 0x41], 0x80
mov byte [esp + 0x42], 0x49
mov byte [esp + 0x43], 0
jmp 0x45ecd7
mov esi, 3
mov byte [esp + 0x40], 0x1b
mov byte [esp + 0x41], 0x80
mov byte [esp + 0x42], 0x53
mov byte [esp + 0x43], 0
jmp 0x45ecd7
mov esi, 3
mov byte [esp + 0x40], 0x1b
mov byte [esp + 0x41], 0x80
mov byte [esp + 0x42], 0x42
mov byte [esp + 0x43], 0
jmp 0x45ecd7
mov esi, 3
mov byte [esp + 0x40], 0x1b
mov byte [esp + 0x41], 0x80
mov byte [esp + 0x42], 0x55
mov byte [esp + 0x43], 0
jmp 0x45ecd7
mov byte [eax], 0
mov dl, byte [esp + 0x42]
cmp dl, 0x43
je 0x45ea88
cmp dl, 0x63
je 0x45ea88
cmp dl, 0x54
je 0x45ea71
cmp dl, 0x74
je 0x45ea71
xor esi, esi
jmp 0x45efc9
lea edx, [esp + 0x43]
push edx
call fcn.00497209
shl eax, 0xc
add esp, 4
add eax, 0x2aa
jmp 0x45eb02
lea eax, [esp + 0x43]
mov esi, 4
push eax
mov byte [esp + 0x44], 0x1b
mov byte [esp + 0x45], 0x4c
call fcn.00497209
add esp, 4
mov dword [esp + 0x42], eax
jmp 0x45ecd7
xor eax, eax
cmp dl, 0x53
je 0x45eafd
cmp dl, 0x73
je 0x45eafd
cmp dl, 0x55
je 0x45eaf6
cmp dl, 0x75
je 0x45eaf6
cmp dl, 0x42
je 0x45eaef
cmp dl, 0x62
je 0x45eaef
cmp dl, 0x49
je 0x45eae8
cmp dl, 0x69
je 0x45eae8
cmp dl, 0x50
je 0x45eae1
cmp dl, 0x70
jne 0x45eb02
mov eax, 0xf1aa
jmp 0x45eb02
mov eax, 0xf26a
jmp 0x45eb02
mov eax, 0xf29a
jmp 0x45eb02
mov eax, 0xf2a6
jmp 0x45eb02
mov eax, 0xf2a9
mov esi, 4
mov byte [esp + 0x40], 0x1b
mov byte [esp + 0x41], 0x41
mov dword [esp + 0x42], eax
jmp 0x45ecd7
lea ecx, [esp + 0x42]
mov byte [eax], 0
push ecx
call fcn.00497209
add esp, 4
mov esi, 4
mov byte [esp + 0x40], 0x1b
mov byte [esp + 0x41], 0x43
mov dword [esp + 0x42], eax
jmp 0x45ecd7
lea edx, [esp + 0x42]
mov byte [eax], 0
push edx
call fcn.00497209
add esp, 4
mov esi, 4
mov byte [esp + 0x40], 0x1b
mov byte [esp + 0x41], 0x53
mov dword [esp + 0x42], eax
jmp 0x45ecd7
mov byte [eax], 0
lea eax, [esp + 0x42]
push eax
call fcn.00497209
add esp, 4
mov esi, 4
mov byte [esp + 0x40], 0x1b
mov byte [esp + 0x41], 0x46
mov dword [esp + 0x42], eax
jmp 0x45ecd7
mov ax, word [esp + esi + 0x3e]
cmp ax, 0x5c7e
jne 0x45ebf7
mov ecx, dword [edi + 0x15]
sub esi, 2
add ecx, esi
cmp ecx, ebp
jb 0x45ebd3
add ebp, 0x1f4
cmp ebp, 0xfde8
ja 0x45f05f
mov edx, dword [edi + 0x1d]
push ebp
push edx
call fcn.00497980
add esp, 8
mov dword [edi + 0x1d], eax
test eax, eax
je 0x45f05f
mov ecx, dword [edi + 0x1d]
mov ebx, dword [edi + 0x15]
lea eax, [esp + 0x40]
push esi
add ecx, ebx
push eax
push ecx
call fcn.00497220
mov eax, dword [edi + 0x15]
add esp, 0xc
add eax, esi
mov dword [edi + 0x15], eax
jmp 0x45ed3b
cmp ax, 0x297e
jne 0x45ec67
mov edx, dword [edi + 0x15]
sub esi, 2
add edx, esi
cmp edx, ebp
jb 0x45ec37
add ebp, 0x1f4
cmp ebp, 0xfde8
mov dword [esp + 0x14], ebp
ja 0x45f05f
mov eax, dword [edi + 0x1d]
push ebp
push eax
call fcn.00497980
add esp, 8
mov dword [edi + 0x1d], eax
test eax, eax
je 0x45f05f
mov edx, dword [edi + 0x1d]
mov eax, dword [edi + 0x15]
lea ecx, [esp + 0x40]
push esi
add edx, eax
push ecx
push edx
call fcn.00497220
mov eax, dword [edi + 0x15]
add esp, 0xc
add eax, esi
mov esi, 2
mov dword [edi + 0x15], eax
mov byte [esp + 0x40], 0xd
mov byte [esp + 0x41], 0xa
jmp 0x45ecd7
cmp esi, 0x3c
jl 0x45efcd
cmp esi, 1
jne 0x45ecd3
cmp dword [esp + 0x38], 1
jne 0x45ecac
mov eax, dword [esp + 0x20]
test eax, eax
je 0x45ecac
mov eax, dword [esp + 0x40]
and eax, 0xff
push eax
call fcn.004975e2
add esp, 4
test eax, eax
je 0x45ecac
mov cl, byte [esp + 0x40]
mov byte [esp + 0x40], 0x20
mov byte [esp + 0x41], cl
mov esi, 2
xor edx, edx
mov dl, byte [esp + esi + 0x3f]
push edx
call fcn.004975e2
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
je 0x45eccb
mov dword [esp + 0x20], 2
mov dl, byte [esp + 0x42]
mov bl, byte [esp + 0x41]
test esi, esi
jle 0x45ed32
mov eax, dword [edi + 0x15]
add eax, esi
cmp eax, ebp
jb 0x45ed0e
add ebp, 0x1f4
cmp ebp, 0xfde8
mov dword [esp + 0x14], ebp
ja 0x45f05f
mov ecx, dword [edi + 0x1d]
push ebp
push ecx
call fcn.00497980
add esp, 8
mov dword [edi + 0x1d], eax
test eax, eax
je 0x45f05f
mov eax, dword [edi + 0x1d]
mov ebx, dword [edi + 0x15]
lea edx, [esp + 0x40]
push esi
add eax, ebx
push edx
push eax
call fcn.00497220
mov eax, dword [edi + 0x15]
add esp, 0xc
add eax, esi
mov dword [edi + 0x15], eax
jmp 0x45efc3
cmp esi, 0xfffffffe
jne 0x45efa8
mov eax, dword [esp + 0x24]
mov ebp, 1
cmp eax, ebp
jne 0x45ed7e
mov eax, dword [edi + 0x1d]
mov ebx, dword [edi + 0x15]
mov ecx, dword [0x4d2c98]
mov esi, 2
lea edx, [esp + 0x34]
push esi
add eax, ebx
push edx
push eax
mov dword [esp + 0x40], ecx
call fcn.00497220
mov eax, dword [edi + 0x15]
add esp, 0xc
add eax, esi
xor ebx, ebx
mov dword [edi + 0x15], eax
mov dword [esp + 0x24], ebx
jmp 0x45ed85
mov esi, 2
xor ebx, ebx
cmp dword [esp + 0x1c], ebp
jne 0x45edb8
mov ecx, dword [0x4d2c94]
mov eax, dword [edi + 0x1d]
mov dword [esp + 0x34], ecx
mov ecx, dword [edi + 0x15]
lea edx, [esp + 0x34]
push esi
add eax, ecx
push edx
push eax
call fcn.00497220
mov eax, dword [edi + 0x15]
add esp, 0xc
add eax, esi
mov dword [esp + 0x1c], ebx
mov dword [edi + 0x15], eax
cmp dword [esp + 0x28], ebp
jne 0x45edeb
mov ecx, dword [0x4d2c90]
mov eax, dword [edi + 0x1d]
mov dword [esp + 0x34], ecx
mov ecx, dword [edi + 0x15]
lea edx, [esp + 0x34]
push esi
add eax, ecx
push edx
push eax
call fcn.00497220
mov eax, dword [edi + 0x15]
add esp, 0xc
add eax, esi
mov dword [esp + 0x28], ebx
mov dword [edi + 0x15], eax
cmp dword [esp + 0x2c], ebp
jne 0x45ee1e
mov ecx, dword [0x4d2c8c]
mov eax, dword [edi + 0x1d]
mov dword [esp + 0x34], ecx
mov ecx, dword [edi + 0x15]
lea edx, [esp + 0x34]
push esi
add eax, ecx
push edx
push eax
call fcn.00497220
mov eax, dword [edi + 0x15]
add esp, 0xc
add eax, esi
mov dword [esp + 0x2c], ebx
mov dword [edi + 0x15], eax
cmp dword [esp + 0x18], ebp
jne 0x45ee51
mov ecx, dword [0x4d2c88]
mov eax, dword [edi + 0x1d]
mov dword [esp + 0x3c], ecx
mov ecx, dword [edi + 0x15]
lea edx, [esp + 0x3c]
push esi
add eax, ecx
push edx
push eax
call fcn.00497220
mov eax, dword [edi + 0x15]
add esp, 0xc
add eax, esi
mov dword [esp + 0x18], ebx
mov dword [edi + 0x15], eax
mov ecx, dword [edi + 0x15]
mov edx, dword [edi + 0x1d]
inc ecx
push ecx
push edx
call fcn.00497980
mov ecx, dword [edi + 0x15]
mov edx, dword [esp + 0xb4]
mov esi, dword [esp + 0xb8]
add esp, 8
mov dword [edi + 0x1d], eax
mov byte [eax + ecx], 0
push edi
push esi
lea ecx, [edx + 0x99]
call fcn.0043d430
inc esi
push 0x25
mov dword [esp + 0xb4], esi
call fcn.004aa6ea
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov dword [esp + 0x98], ebp
je 0x45eeb3
mov ecx, eax
call fcn.0043e0d0
mov esi, eax
jmp 0x45eeb5
xor esi, esi
mov edi, esi
cmp esi, ebx
mov dword [esp + 0x98], 0xffffffff
mov dword [esp + 0x34], edi
je 0x45f073
mov ebx, dword [esp + 0xa0]
mov ebp, 0x1f4
test ebx, ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x20], 0
je 0x45ef34
test byte [ebx + 0xc], 0x10
jne 0x45efad
push ebx
call fcn.0049910e
add esp, 4
cmp eax, 0xa
je 0x45ef08
test byte [ebx + 0xc], 0x10
je 0x45eef4
test byte [ebx + 0xc], 0x10
jne 0x45efad
mov ecx, dword [esp + 0x30]
push 0x1f4
lea eax, [esp + 0x14]
push esi
push eax
push ecx
push ebx
call fcn.0045e150
add esp, 0x14
test eax, eax
je 0x45efad
jmp 0x45efc3
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0xa8]
cmp eax, ebx
jg 0x45efad
mov ecx, dword [esp + 0x30]
cmp word [ecx], 0xa0d
jne 0x45ef71
mov edx, dword [esp + 0xa4]
cmp byte [eax + edx - 1], 0xa
jne 0x45ef63
cmp byte [eax + edx - 2], 0xd
je 0x45ef71
add ecx, 2
add eax, 2
mov dword [esp + 0x30], ecx
mov dword [esp + 0x10], eax
cmp eax, ebx
jg 0x45efad
push 0x1f4
lea edx, [esp + 0x14]
push esi
push edx
push ecx
push 0
call fcn.0045e150
add esp, 0x14
test eax, eax
je 0x45efad
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x10]
mov dl, byte [esp + 0x42]
mov bl, byte [esp + 0x41]
xor esi, esi
add ecx, eax
jmp 0x45eff1
cmp esi, 0xffffffff
jne 0x45efcd
push 1
push ebp
call fcn.00497013
add esp, 8
mov dword [edi + 0x1d], eax
test eax, eax
je 0x45f05f
mov dl, byte [esp + 0x42]
xor esi, esi
mov bl, byte [esp + 0x41]
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x45efed
mov edx, eax
push edx
call fcn.0049910e
mov dl, byte [esp + 0x46]
mov bl, byte [esp + 0x45]
add esp, 4
jmp 0x45f003
mov ecx, dword [esp + 0x30]
xor eax, eax
mov al, byte [ecx]
inc ecx
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x10], ecx
test esi, esi
jge 0x45f00f
mov cl, al
mov byte [esp + 0x40], cl
jmp 0x45f020
mov byte [esp + esi + 0x40], al
mov dl, byte [esp + 0x42]
mov bl, byte [esp + 0x41]
mov cl, byte [esp + 0x40]
inc esi
mov eax, dword [esp + 0x38]
inc eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x45f03c
mov eax, dword [eax + 0xc]
and eax, 0x10
jmp 0x45f056
mov edi, dword [esp + 0xa8]
mov ebp, dword [esp + 0x10]
xor eax, eax
cmp ebp, edi
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x34]
setg al
test eax, eax
jne 0x45f077
jmp 0x45e4bb
test edi, edi
je 0x45f073
mov ecx, edi
call fcn.0043e0f0
push edi
call fcn.004aa713
add esp, 4
xor eax, eax
jmp 0x45f0ce
mov eax, dword [edi + 0x15]
test eax, eax
je 0x45f0b5
mov edx, dword [edi + 0x1d]
mov ecx, eax
inc ecx
push ecx
push edx
call fcn.00497980
mov ecx, dword [edi + 0x15]
mov edx, dword [esp + 0xb8]
mov dword [edi + 0x1d], eax
add esp, 8
mov byte [eax + ecx], 0
mov eax, dword [esp + 0xac]
push edi
push edx
lea ecx, [eax + 0x99]
call fcn.0043d430
jmp 0x45f0c9
test edi, edi
je 0x45f0c9
mov ecx, edi
call fcn.0043e0f0
push edi
call fcn.004aa713
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x90]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x8c
ret